XSDHub

Check XML against your XSD and invoices against XRechnung or EN 16931 rules. Free up to 25 checks per IP per UTC day.

होस्ट किया गया MCP सर्वर

npx add-mcp 'https://xsdhub.com/mcp'

Claude Code, Codex, Cursor और अन्य में इंस्टॉल होता है

दस्तावेज़

Check rejected files in your AI assistant

An invoice gets rejected and the error message leaves you guessing which field to fix. XSDHub shows the field or line to check and links to a guide. Try the sample here, or connect your assistant to check your own file.

Sends only the fictional XML <hello/> for one server check. Your documents are sent only when you deliberately give them to a validation tool. No document storage or content logs.

Ready to call validate_xml with a small, fictional document.

Connector for Claude

The connector checks XML syntax, user-supplied XSDs and six existing invoice packages, explains errors and reads XSDHub documentation. All eight tools work without authentication. No OAuth login, API key or test account is needed for anonymous access; the daily allowance applies. Optional Bearer API keys remain available for other clients.

https://xsdhub.com/mcp

Choose a remote HTTP / Streamable HTTP server. No install, bridge or account is needed for the free allowance. Opening this URL in a browser returns HTTP 405; an MCP client connects with JSON-RPC POST requests.

Claude Desktop

Open Customize → Connectors (or Plugins in the updated interface), choose “Add custom connector” and enter the URL above. Choose “No sign in” for free access. Enable XSDHub in your conversation.

Claude setup reference →

Claude Code

Run the command below, then open /mcp to check the connection. Review each tool’s input before sending a real document.

claude mcp add --transport http xsdhub https://xsdhub.com/mcp

Claude Code reference →

Cursor: remote MCP configuration

Add this to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for your user. Open Cursor’s MCP settings, enable XSDHub and approve the tools.

{
  "mcpServers": {
    "xsdhub": { "url": "https://xsdhub.com/mcp" }
  }
}

Cursor reference → VS Code / GitHub Copilot: remote MCP configuration

Run “MCP: Add Server” from the Command Palette, choose HTTP and enter the URL above. Or add this workspace file at .vscode/mcp.json. Start the server, review trust and enable its tools in Copilot Chat.

{
  "servers": {
    "xsdhub": { "type": "http", "url": "https://xsdhub.com/mcp" }
  }
}

VS Code reference →

Ask for the check you need

All three validation tools accept max_findings (default 20, range 1: 100, shared across errors and warnings) and include_guides (default true). Set the latter to false to omit guide links. The result reports returned and omitted counts; limiting output does not reduce the checks performed. An engine-truncated report remains incomplete.

ToolInput and result
validate_xmlComplete xml text → well-formedness, errors with locations and a fix guide.
validate_xml_against_xsdxml plus xsd, or schemaFiles with rootSchema. Optional xsdVersion: “1.0” (default) or “1.1”. Local imports/includes only.
validate_e_invoicexml plus standard: en16931, xrechnung, facturx, ksef, ro or hr. Returns the existing package’s checks and scope.
explain_validation_errorAn error code and/or message, optionally standard → plain explanation and an existing guide URL.
list_supported_standardsNo input → package versions, supported XML syntax, limitations and links.
search_xsdhub_guides get_xsdhub_page get_xsdhub_capabilitiesSearch guides by query, read a public page by slug, or read capabilities with no input. These existing documentation tools remain available.

Example: XML with a multi-file XSD project

{
  "xml": "<hello>world</hello>",
  "schemaFiles": [
    {"path": "main.xsd", "content": "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'><xs:include schemaLocation='types.xsd'/><xs:element name='hello' type='Greeting'/></xs:schema>"},
    {"path": "types.xsd", "content": "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'><xs:simpleType name='Greeting'><xs:restriction base='xs:string'/></xs:simpleType></xs:schema>"}
  ],
  "rootSchema": "main.xsd"
}

Call validate_xml_against_xsd with these arguments. Relative references must resolve inside the supplied files. Network and filesystem resources are blocked.

Start free. Use your existing key for more.

The free webtool file bounds also apply here: 10 MiB XML, 1 MiB per XSD, up to 100 XSD files / 10 MiB per schema project. JSON requests have a 22 MiB transport ceiling. DTDs, entity expansion, external references and implicit remote schema fetching are blocked. Each check has the existing 20-second worker timeout.

For existing Pro or Team access, configure the client’s request header as Authorization: Bearer YOUR_XSDHUB_API_KEY. Use the key from My account, never a URL parameter or tool argument. Clients that support custom request headers, including Cursor and VS Code, can use a headers object on the server entry. Keep private keys out of committed workspace files.

Results include quota information and tell you when to retry after a limit.

Compare Pro and Team if you check invoices in batches or use an API key for checks on every build.

Your document is used for one check

See the Privacy policy for the existing site policy.

Your assistant provider has its own handling of the conversation and tool results. For a check entirely on your device, use the XML validator or XSD validator in the browser.

Public sources and server metadata

Read llms.txt, the combined documentation or the Markdown version of a public page. MCP results always include the relevant XSDHub source link.

Registry server.json describes the existing remote endpoint using the official MCP Registry schema. Well-known metadata mirror links to the same description (a convenience URL, not a standardized server-card contract); client discovery remains initialize / tools/list / server/discover. Availability of this file does not mean XSDHub has been submitted to a directory.

Three prompts to try

  1. Check whether this XML is well-formed: <hello>world</hello>. Return at most 5 findings without guide links.
  2. Validate <age>abc</age> against this XSD and explain the first finding: <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"\><xs:element name="age" type="xs:integer"/></xs:schema>.
  3. List the supported invoice standards and explain XRechnung error BR-DE-15.

Troubleshooting and support

Connection fails: use https://xsdhub.com/mcp as a remote Streamable HTTP connector. A browser GET returns 405; the client sends JSON-RPC POST. Connect without sign-in or a key. If a client sends an invalid optional key, remove that header for anonymous access or replace it with a valid key.

File too large: reduce XML to 10 MiB, each XSD to 1 MiB and the project to 100 files / 10 MiB. Invalid XML: correct the first syntax error and retry. Unknown standard: call list_supported_standards and use its exact ID. Quota reached: follow the returned UTC reset time; for a burst limit, respect Retry-After and retry later. Reducing max_findings reduces output, not file size or quota use.

Support: support@xsdhub.com. Include the tool name, time in UTC and error code; use a fictional example instead of private document contents. Submission to the Claude Directory is separate from approval or listing.

Connect, then try a fictional document.

Use the remote URL in your client and ask it to call list_supported_standards. Then try validate_xml with <hello/>.

Open connection instructions →

Bank profiles in API and MCP results

Add bankProfile to the existing POST /api/validate request. The default is generic-epc. Optional bankProfileVersion pins the published document version; an unavailable version or mismatched message produces an error.

{"engine":"xml","xml":"…","bankProfile":"nl-abn-amro-sct","consent":true}

The XML or supplied-XSD result stays separate. bankProfile in the response records the ID, version, date, rule count, source and listed findings. Each bank finding includes its rule ID and source section. The existing MCP tools validate_xml and validate_xml_against_xsd accept the same parameters and return the same evidence. Consent, key and quota settings stay as documented.

Profile IDs, published sources and all implemented rules · Payment profile coverage. A result describes the selected published rules; bank submission, account checks and contract settings are separate steps with your bank.

Daily limits

  • Free, no account 3 of your own invoices a day on the website. Through the API up to 25 checks a day (at most 10 a minute), and 25 through MCP.
  • Pro Single checks on the website have no daily limit. Batches and your own software: 250 invoices a day.
  • Team The same, shared by up to 5 people, with 1,000 invoices a day.

The counters start again at 00:00 UTC.

Validation engine reference →

Technical details and sources

Anonymous MCP validation: 25 checks per IP-hash per UTC day, shared across the three validation tools, separate from the 25 a day for the REST API, plus the existing 10-per-minute engine limit. Guide tools do not use this daily validation allowance. A shared assistant proxy can share an IP allowance.

Pro keeps the existing 300 XML/XSD and 250 invoice checks per UTC day, with a 20-per-minute burst. Team keeps 1,000 per category per UTC day and a 40-per-minute burst, shared across its workspace. MCP and API calls use the same existing counters. An invalid, expired or revoked key never falls back to anonymous access.

Deliberately supplying XML and XSD to a validation tool authorizes that single server check. XSDHub processes them transiently through its existing isolated engines; scratch files for MCP checks are RAM-backed and removed after processing. It does not retain XML, schemas, error messages or results, and it does not log their content. The daily quota uses a temporary IP hash. We count tool calls by UTC day, client family and tool. Scheduled cleanup clears quota hashes older than yesterday (UTC). We keep daily tool counts for 93 days.

Factur-X input is extracted XML, not a PDF/A-3 check. KSeF FA(3) checks XSD structure only. The other invoice packages use their existing pinned schemas and business rules. A passing result is not tax advice, certification or proof of acceptance by an authority or network.

Rule versions in each result

We follow official source publications hourly. A result names the version actually used; a source reference does not mean its full rules were executed. The ruleVersions field is machine readable. officialRules carries the publisher, official link, selected version, source check date and status. Missing, failed or older than eight days source evidence has no current check date. A changed publication is marked for review.

POST /api/validate

XML 1.0, pinned officialSchema packages, supplied XSD 1.0/1.1, ISO Schematron XPath 1.0, or actual Arelle XBRL/iXBRL execution. Select the exact package from the official schema registry. Runtime engines and versions are in ruleVersions.engines.

POST /api/invoice-validate and the browser invoice check

The selected fixed invoice package, with its executed rules in ruleVersions.rules and source evidence in officialRules. EN 16931 supports 1.3.16 through 14 November 2026 and 1.3.17 from 15 November; optional rulesDate selects the applicable date. National packages keep their own published bundle.

Python CLI and API CI starter

The server report is saved unchanged, including ruleVersions. The local corpus command records the installed lxml/libxml2 versions and schema hashes; it does not run fixed national rules.

Standalone GitHub Action v1

Runs the runner's xmllint for XML / supplied XSD 1.0. The actual engine version is printed in the job summary; no XSDHub endpoint or fixed national rules run. Version can differ between runners. Source commit: 2e3a7192a920a929350cfc7a40c97f90d131dc34.

MCP validation tools

Return the actual endpoint metadata in structuredContent.ruleVersions. validate_e_invoice accepts rulesDate; list_supported_standards resolves the current EN version when called and lists both supported variants.

Other standards on this site

SAF-T, payments, DAC7, CBAM and Order/Despatch preflights run in the browser, with default official XSDs where stated. API and MCP can execute the same pinned XSD packages via officialSchema; the browser business rules are separately listed. Reports identify exact engines, versions, schema hashes and remaining submission steps.

ISO publication access remains unverified. We checked the OECD support page and package on 8 November 2026 and check them again before 8 December 2026. A result is technical evidence within its stated scope, without authority or bank approval.

Tested against official examples

Across our validators, all 41,340 checks against selected official test cases from CEN, KoSIT, the W3C, FNFE-MPE and national tax authorities matched the expected results. Checked 11 November 2026.

How we test.

Official schema packages in API and MCP

Send an officialSchema ID from the versioned package registry instead of uploading an XSD. Each result records the exact publisher files, original SHA-256 hashes, source and engine. The registry includes 12 ISO 20022 packages and RO e-Transport v2. The mf-etransport-v2 server package also executes official Schematron 2.0.2 with XPath 2.0, all phases and separate findings. The selected package fixes its root and engine; document content never triggers schema downloads.

{"engine":"xsd10","officialSchema":"ubl-order-2.1","xml":"…","consent":true}

Use the same officialSchema parameter with the existing MCP tool validate_xml_against_xsd. The package result covers XSD structure. Independent business checks in browser tools remain separately listed. The existing server consent and quotas apply.

For XBRL or iXBRL, the existing API also accepts engine: "xbrl", XML and a complete authorised offline taxonomy package. Arelle executes on the server. The ESEF plugin requires an explicitly authorised taxonomy; request an IFRS commercial licence before using restricted taxonomy material.

If your assistant stops checking files when you hit a limit, see which plan covers your checks.