
ValidateFin
io.github.elnicaise由 GitHub 帳號 elnicaise 發布v1.2.1更新於 Oct 24, 2026
Validate SEPA, UBL/Peppol, XRechnung, camt, ACH & IBAN files locally — no data leaves your machine.
概覽
本機 MCP 伺服器,讓助理驗證 SEPA、UBL/Peppol、XRechnung、camt、ACH 與 IBAN 付款及電子發票檔案,不需上傳資料。
- 可以做什麼
- 驗證 SEPA 貸記轉帳與直接扣款檔案,依 ISO 20022 結構與 EPC 規則檢查 IBAN、BIC、字元集、授權與控制合計,並可直接驗證 IBAN 字串的檢查碼、國家與長度。驗證 UBL、Peppol BIS Billing 3.0 與德國 XRechnung 發票,支援 UBL 與 CII 語法,依官方 EN 16931 與 KoSIT 規則集並回傳失敗規則編號。驗證 camt.052、camt.053、camt.054 現金管理檔案並擷取帳戶、餘額與分錄。驗證美國 ACH/NACHA 檔案的記錄結構、路由號檢查碼、項目雜湊與控制合計。將舊式 SWIFT MT940 對帳單轉換為 camt.053 XML,並從 pain.001/pain.008 檔案產生 camt.053 測試對帳單。
- 適用情境
- 適合在處理歐洲或美國付款與電子發票檔案時,讓助理檢查結構與業務規則錯誤、檢視 camt 對帳單內容或轉換 MT940 對帳單,同時不把財務資料送到外部服務。
- 執行需求
- 透過 npx 從 npm 套件 @validatefin/mcp 以本機程序執行,需要 Node.js 以及下載該套件的網路存取。未宣告驗證、環境變數或請求標頭。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 ValidateFin,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@validatefin/mcp
MCP server to validate SEPA, UBL/Peppol, camt.052/053/054 and ACH/NACHA e-invoice / payment files — 100% locally, no data leaves your machine. Powered by ValidateFin.
Tools
validate_sepa— SEPA Credit Transfer (pain.001) & Direct Debit (pain.008): validates against the official ISO 20022 XSD schemas and the EPC Rulebook business rules (IBAN mod-97, BIC, SEPA character set, mandates, Creditor Scheme Identifier, control sums).validate_ubl— UBL / Peppol BIS Billing 3.0: runs the official EN 16931 + Peppol BIS 3.0 Schematron — the same rule sets used by the official European e-invoicing validators — and returns the failed business rules with their official IDs (BR-, BR-CO-, Peppol rules). Accepts both the UBL and CII syntaxes (auto-detected).validate_xrechnung— German XRechnung (the German CIUS of EN 16931, mandatory for B2G): runs the official EN 16931 core Schematron + the KoSIT XRechnung BR-DE rules — the same rule sets as the official German validator. Accepts UBL and CII. Returns failed rules with their IDs (BR-, BR-DE-).validate_camt— ISO 20022 camt cash-management file — camt.053 (bank-to-customer statement), camt.052 (account report / intraday) or camt.054 (debit/credit notification), versions .02/.06/.08/.10/.11: extracts account, balances and entries (camt.053 also validated against the official ISO 20022 XSD schema).convert_mt940— convert a legacy SWIFT MT940 bank statement (Customer Statement Message) to an ISO 20022 camt.053.001.02 XML statement: parses the balances and transactions, checks that opening balance + turnover = closing balance (RC/RD reversals handled), and returns the camt.053 XML.validate_ach— US ACH / NACHA file (fixed-width Nacha format): validates the 94-character record structure (File Header, Batch Header, Entry Detail, Addenda, Batch/File Control), the ABA routing-number check digit (3-7-1), the entry hash, and all batch & file control totals (debits, credits, entry/addenda count, block count).validate_iban— IBAN (mod-97 checksum, country & length).generate_camt_test— generate a camt.053 test statement from a pain.001 / pain.008 file.
The XML validation tools take the file content as xml (a string) and return the
result (valid/invalid, errors, summary) as JSON. validate_ach and convert_mt940
take the raw file as content, validate_iban takes an iban string, and
generate_camt_test and convert_mt940 return the generated camt.053 XML.
Install
Add this to your MCP client configuration (Claude Desktop, Cursor, etc.):
Then ask your assistant to validate a SEPA, UBL/Peppol, camt.052/053/054 or ACH/NACHA file.
Privacy
Validation runs entirely on your machine. No file or data is ever uploaded to a server — the same privacy guarantee as the ValidateFin website.
License
The MCP server code is MIT. It bundles third-party components under their own licenses:
- SaxonJS (© Saxonica) — runs the official Schematron; redistributed under the SaxonJS license (free, used unmodified).
- EN 16931 validation rules (© European Union / ConnectingEurope) — Apache-2.0.
- Peppol BIS 3.0 validation rules (© OpenPEPPOL).
- libxml2 (libxml2-wasm) — MIT.
ValidateFin is an independent tool and is not certified or endorsed by OpenPEPPOL, the European Commission, or any Peppol Authority. "Official" refers to the rule sets/schemas used, not to any accreditation of this tool.
來源:README.md,提交 6827002
工具
0版本歷史
1- v1.2.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分