xmlvalid

com.xmlvalid由 xmlvalid.com 发布官方发布者v1.0.0更新于 Oct 26, 2026

Validate XML and e-invoices (XSD, DTD, RelaxNG, EN 16931, Peppol, XRechnung), explain errors

已验证Streamable HTTP可网页运行开发者工具商业与电商

概览

AI 生成的概览

远程 xmlvalid 服务器,让助手按 schema 和业务规则校验 XML 文档与电子发票,并解释校验错误。

可以做什么
  • 校验 XML 文档的良构性,并按 XSD、DTD 或 RelaxNG schema 校验,电子发票还可按 EN 16931、Peppol BIS、XRechnung、Factur-X 及各国格式的 Schematron 业务规则校验,可提交文本或公开网址
  • 查询仍在排队或运行中的校验任务的状态与结果
  • 按名称、命名空间、根元素或领域搜索官方 schema 目录,取得 slug、版本及其检查的规则
  • 解释 libxml2、Java Xerces 与 .NET 的 XML 解析和 schema 校验错误信息,说明原因与修复方法
  • 按编号解释电子发票业务规则,包括消息、级别、所属规则集以及发票不合规时的修正方式
适用场景
适合处理 XML 数据源、发票或系统集成时,让助手按官方 schema 和电子发票规则集检查文档,或在对话中直接弄懂晦涩的校验器报错。
运行要求
通过 streamable HTTP 连接 xmlvalid.com 的远程端点,无需本地安装。validate_xml 和 get_validation 需要在 Authorization 请求头中提供 xmlvalid API 密钥;schema 搜索与解释类工具无需密钥。
安装前请注意
API 密钥是放在 Authorization 请求头中的机密,避免出现在共享日志中。以网址提交的文档会由第三方服务抓取,提交的 XML 内容会离开本机进行校验。校验结果仅保留 24 小时。

安装

在 SourceWeft 中

  1. 打开 控制台中的 xmlvalid,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.xmlvalid%2Fxmlvalid/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "xmlvalid": {
      "type": "http",
      "url": "https://xmlvalid.com/mcp"
    }
  }
}

工具

5

validate_xml

Validate Xml

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 key's monthly quota.

输入参数urlxmlnamewaitschemarules_version

get_validation

Get Validation

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.

输入参数id必填

search_schemas

Search Schemas

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 API key needed.

输入参数query

explain_error

Explain Error

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 API key needed.

输入参数message必填

explain_rule

Explain Rule

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 API key needed.

输入参数id必填

版本历史

1
  1. v1.0.0最新Oct 22, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。