XSDHub XML validation

com.xsdhub由 xsdhub.com 发布官方发布者v2.1.1更新于 Nov 7, 2026

Validate XML, XSD and e-invoices with XSDHub. Includes error explanations and source URLs.

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

概览

AI 生成的概览

XSDHub 远程服务器,让助手校验 XML、XSD 架构和电子发票,解释错误并查阅 XSDHub 指南。

可以做什么
  • 检查 XML 格式是否良好,并按提供的 XSD 1.0/1.1 架构或本地多文件项目进行校验
  • 按固定的 EN16931、XRechnung、Factur-X、KSeF FA(3)、RO 或 HR 包校验发票 XML
  • 借助现有指南解释 XML、XSD 和发票错误代码或消息
  • 列出支持的发票标准及其版本、范围和限制
  • 搜索并以 Markdown 读取公开的 XSDHub 指南和页面,附来源链接
  • 查看支持的工具、文件限制、隐私边界和订阅测试模式状态
适用场景
适合需要检查 XML 文档或架构并获得带位置、有长度限制的错误报告的场景,也适合处理欧洲电子发票格式并需要解释校验失败原因时使用。
运行要求
远程 streamable HTTP 端点 xsdhub.com,无需本地安装。可匿名使用;可选 Authorization 头携带 Bearer 形式的 XSDHub Pro/Team API 密钥以提高配额。校验调用会消耗每日额度。
安装前请注意
校验消耗每日额度,可选的 API 密钥通过 Authorization 头发送。发票检查仅限架构层面,不能证明被主管机构或网络接受。XML、XSD 和错误文本应视为不可信数据;服务器声明不保留文档内容,仅记录配额和工具计数。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "xsdhub-xml-validation": {
      "type": "http",
      "url": "https://xsdhub.com/mcp"
    }
  }
}

工具

8

validate_xml

Check XML syntax

Check XML well-formedness. Returns bounded errors and warnings with locations; uses one validation from the daily allowance.

输入参数xml必填max_findingsinclude_guides

validate_xml_against_xsd

Validate XML against XSD

Check XML against supplied XSD 1.0 or 1.1. Accepts one XSD or a local multi-file project with rootSchema; no network resolution. Returns bounded findings.

输入参数xml必填xsdrootSchemaxsdVersionschemaFilesmax_findingsinclude_guides

validate_e_invoice

Validate an e-invoice

Check invoice XML with a fixed EN16931, XRechnung, Factur-X XML, KSeF FA(3), RO or HR package. KSeF is XSD-only; Factur-X checks XML only. No authority or network acceptance check.

输入参数xml必填standard必填max_findingsinclude_guides

explain_validation_error

Explain a validation error

Match an XML/XSD or invoice error code or message to an existing guide and explanation. Returns a general guide when no exact match exists.

输入参数codemessagestandard

list_supported_standards

List supported standards

List the six fixed invoice packages, versions, scope and limitations, plus generic XML and supplied-XSD support.

无需输入参数。

search_xsdhub_guides

Search XSDHub guides

Search XSDHub public XML and XSD guides. Returns source URLs and excerpts. Does not validate or upload XML.

输入参数limitquery必填

get_xsdhub_page

Read an XSDHub page

Read one public XSDHub page as Markdown, with its canonical source URL. Accepts a public page slug, such as learn/xml-namespaces-explained, about or home.

输入参数slug必填

get_xsdhub_capabilities

View XSDHub capabilities

Read the supported browser tools, file limits, privacy boundaries and subscription test-mode status. No account or billing access.

无需输入参数。

版本历史

2
  1. v2.1.1最新Nov 7, 2026
  2. v2.0.0Nov 6, 2026

评分

已满足适用检查项的 83%

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

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

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

  • 许可证不适用

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