xmlvalid is an MCP server published by com.xmlvalid, hosted at xmlvalid.com. When last checked on 2026-11-21 it was working: it answers and lists its tools. It declares 5 tools, including validate_xml, get_validation, search_schemas, explain_error, explain_rule.
Validate XML and e-invoices (XSD, DTD, RelaxNG, EN 16931, Peppol, XRechnung), explain errors
1 connections through 4 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
Validate an XML document with xmlvalid: well-formedness, an XSD, DTD or RelaxNG schema, and for e-invoices the Schematron business rules of EN 16931, Peppol BIS, XRechnung, Factur-X and national formats. Pass the document as `xml` (its text) or `url` (a public http(s) address), and a `schema`: a catalog slug from search_schemas, a saved schema ("@orders-v3"), or "auto" to use the e-invoice profile the document names. Without a schema only well-formedness is checked. Returns valid, errors and warnings with line, column, message, rule and a help_url explaining each. Counts as one API validation of the account's monthly quota.
| Parameter | Type | Description |
|---|---|---|
| url | string | A public http(s) URL of the document, fetched by xmlvalid. |
| xml | string | The XML document itself. Use url instead for a document on the web. |
| name | string | A file name to show in the result, such as invoice-42.xml. |
| wait | integer |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
| Seconds to wait for the result before returning a pending status to poll with get_validation. |
| schema | string | A catalog slug (see search_schemas), "@<name>" for a saved schema, or "auto" for the e-invoice profile the document names. Leave out to check well-formedness only. |
| rules_version | string | Pin Schematron rule sets to releases, as rule-set@version, comma-separated (peppol-bis-3-ubl@3.0.21): the call fails with rules_version_mismatch when one has moved on. The result's rule_sets lists the releases that ran. |
{
"name": "validate_xml",
"title": "Validate XML",
"description": "Validate an XML document with xmlvalid: well-formedness, an XSD, DTD or RelaxNG schema, and for e-invoices the Schematron business rules of EN 16931, Peppol BIS, XRechnung, Factur-X and national formats. Pass the document as `xml` (its text) or `url` (a public http(s) address), and a `schema`: a catalog slug from search_schemas, a saved schema (\"@orders-v3\"), or \"auto\" to use the e-invoice profile the document names. Without a schema only well-formedness is checked. Returns valid, errors and warnings with line, column, message, rule and a help_url explaining each. Counts as one API validation of the account's monthly quota.",
"inputSchema": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "A public http(s) URL of the document, fetched by xmlvalid."
},
"xml": {
"type": "string",
"description": "The XML document itself. Use url instead for a document on the web."
},
"name": {
"type": "string",
"description": "A file name to show in the result, such as invoice-42.xml."
},
"wait": {
"type": "integer",
"default": 30,
"maximum": 60,
"minimum": 0,
"description": "Seconds to wait for the result before returning a pending status to poll with get_validation."
},
"schema": {
"type": "string",
"description": "A catalog slug (see search_schemas), \"@<name>\" for a saved schema, or \"auto\" for the e-invoice profile the document names. Leave out to check well-formedness only."
},
"rules_version": {
"type": "string",
"description": "Pin Schematron rule sets to releases, as rule-set@version, comma-separated (peppol-bis-3-ubl@3.0.21): the call fails with rules_version_mismatch when one has moved on. The result's rule_sets lists the releases that ran."
}
}
},
"annotations": {
"title": "Validate XML",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}The status and result of a validation started with validate_xml that was still running when it returned (status "queued" or "running"). Results are kept for 24 hours.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The id validate_xml returned. |
{
"name": "get_validation",
"title": "Get a validation result",
"description": "The status and result of a validation started with validate_xml that was still running when it returned (status \"queued\" or \"running\"). Results are kept for 24 hours.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "The id validate_xml returned."
}
}
},
"annotations": {
"title": "Get a validation result",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Search xmlvalid's catalog of official XML schemas (UBL, CII, Peppol, XRechnung, Factur-X, ISO 20022, HL7, sitemaps…) by name, namespace, root element or area. Returns each schema's slug to pass to validate_xml, its version and the business rules it checks. No sign-in or API key needed.
| Parameter | Type | Description |
|---|---|---|
| query | string | Words to look for, such as "peppol invoice", "xrechnung cii" or "pain.001". Leave out to list the first schemas. |
{
"name": "search_schemas",
"title": "Search XML schemas",
"description": "Search xmlvalid's catalog of official XML schemas (UBL, CII, Peppol, XRechnung, Factur-X, ISO 20022, HL7, sitemaps…) by name, namespace, root element or area. Returns each schema's slug to pass to validate_xml, its version and the business rules it checks. No sign-in or API key needed.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Words to look for, such as \"peppol invoice\", \"xrechnung cii\" or \"pain.001\". Leave out to list the first schemas."
}
}
},
"annotations": {
"title": "Search XML schemas",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Explain an XML parsing or schema validation error message: what it means, why it happens and how to fix it, with an example. Understands libxml2 (xmllint, PHP, Python lxml, xmlvalid), Java (Xerces cvc-* codes, SAXParseException) and .NET (System.Xml) wording; paste the message as reported, stack trace prefix included. No sign-in or API key needed.
| Parameter | Type | Description |
|---|---|---|
| message * | string | The error message, as the parser or validator reported it. |
{
"name": "explain_error",
"title": "Explain an XML error",
"description": "Explain an XML parsing or schema validation error message: what it means, why it happens and how to fix it, with an example. Understands libxml2 (xmllint, PHP, Python lxml, xmlvalid), Java (Xerces cvc-* codes, SAXParseException) and .NET (System.Xml) wording; paste the message as reported, stack trace prefix included. No sign-in or API key needed.",
"inputSchema": {
"type": "object",
"required": [
"message"
],
"properties": {
"message": {
"type": "string",
"description": "The error message, as the parser or validator reported it."
}
}
},
"annotations": {
"title": "Explain an XML error",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Explain an e-invoicing business rule by its id, such as BR-CO-15, BR-DE-1, PEPPOL-EN16931-R001 or a national CIUS rule: its message, level, the rule sets it belongs to, why invoices fail it and how to fix them. No sign-in or API key needed.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The rule id as the validator reports it, such as BR-CO-15. |
{
"name": "explain_rule",
"title": "Explain a business rule",
"description": "Explain an e-invoicing business rule by its id, such as BR-CO-15, BR-DE-1, PEPPOL-EN16931-R001 or a national CIUS rule: its message, level, the rule sets it belongs to, why invoices fail it and how to fix them. No sign-in or API key needed.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "The rule id as the validator reports it, such as BR-CO-15."
}
}
},
"annotations": {
"title": "Explain a business rule",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}xmlvalid validates XML and e-invoices: well-formedness, XSD, DTD and RelaxNG schemas, and the Schematron business rules of EN 16931, Peppol BIS, XRechnung, Factur-X and national e-invoicing formats. - validate_xml checks a document (its text or a URL) against a catalog schema, a saved schema or "auto" (the e-invoice profile the document names). It runs as the xmlvalid account the client signed in with (or whose API key it sends); get_validation reads a validation it started that was still running. - search_schemas finds the catalog slug for a format. - explain_error explains a parser or validator message (libxml2, Java's Xerces, .NET) and how to fix it. - explain_rule explains a business rule such as BR-CO-15. When a validation fails, fix the first errors first: later ones often follow from them, and business rules run only once the schema check passes.
Names, descriptions and schemas were written by the server and are shown as data.