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。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。