Document Integrity Validator

io.github.OjasKord由 GitHub 帳號 OjasKord 發布v1.0.20更新於 Oct 24, 2026

AI reasoning checks any document against known international standards before your agent acts on it.

已驗證Streamable HTTP可網頁執行安全與監控商業與電商AI 與機器學習

概覽

AI 產生的概覽

一個 MCP 伺服器,以 AI 推理依國際標準檢查單份文件或一組貿易融資文件,並回傳機器可讀的結論。

可以做什麼
依文件類型對應的國際標準檢查單份文件,可輸入擷取文字或 base64 圖片,並可提供類型提示與簽發轄區。對 2 至 20 份相關貿易融資文件逐一檢查,並交叉核對金額、當事方、參考編號、日期、商品描述與港口資訊是否衝突。回傳結構化結論,含 PROCEED、VERIFY_MANUALLY、HOLD 或 REFER_TO_HUMAN 等 agent_action 值,以及信心度、標記與原因。遇到不熟悉的文件類型時回傳 UNKNOWN_DOCUMENT_TYPE,而非猜測。
適用情境
適合在代理收到外部方提供的文件(如護照、提單、貿易融資單據、植物檢疫證明或駕照)時,在核准付款、撥款或接受提交之前核驗一致性。也適合涉及多份相關文件的跨境貨運核查。
執行需求
可作為遠端 HTTP 端點執行,也可作為本機 npm 套件透過 stdio 執行。自架模式需要 Node.js 與 ANTHROPIC_API_KEY 環境變數。託管免費層每個 IP 每月 10 次呼叫,無需 API 金鑰;更高層級為付費訂閱。
安裝前請注意
文件內容(包括圖片)會傳送至該服務或 Anthropic 進行 AI 分析。付費層級為每月 29 美元或 199 美元,並有超額費用,文件包工具僅限付費層級。結果僅供參考,不構成法律、合規或認證建議,被標記或未通過的文件仍應人工複核。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Document Integrity Validator,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.OjasKord%2Fdocument-integrity-validator-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "document-integrity-validator": {
      "type": "http",
      "url": "https://document-integrity-validator-mcp-production.up.railway.app/mcp"
    }
  }
}

README

[smithery badge]

Document Integrity Validator MCP

[ToolRank]

Before your agent accepts, processes, or acts on any document received from an external party -- verify it is internally consistent and matches the known standard for its type. One call. Any document. Machine-readable verdict.

What it does

Checks any document for internal consistency, completeness, and anomalies against the known international standard for that document type. Accepts base64 image or extracted text. Returns a structured verdict with a machine-readable agent_action field.

Supported standards include: ICAO Document 9303 (passports), Hague-Visby Rules 1968 (bills of lading), UCP 600 (trade finance documents), ISPM 12/IPPC/FAO (phytosanitary certificates), Vienna Convention on Road Traffic 1968 (driving licences), and more.

Returns UNKNOWN_DOCUMENT_TYPE rather than guessing on unfamiliar documents -- refusal is correct behaviour, not a failure.

AI-powered reasoning -- NOT a database lookup.

Tools

check_document (Free tier: 10 calls/month)

Checks a single document against its international standard.

Input:

  • document_text (string, optional) -- extracted text from the document
  • document_image (string, optional) -- base64 encoded image (raw base64 or data URL)
  • document_type_hint (string, optional) -- agent belief about document type
  • issuing_jurisdiction (string, optional) -- country or issuing body

At least one of document_text or document_image is required.

Response:

json
{  "agent_action": "PROCEED",  "verdict": "PASS",  "confidence": "HIGH",  "document_type_identified": "Bill of Lading",  "assessed_against": "Hague-Visby Rules 1968",  "known_issuing_standard": "IMO",  "flags": [],  "reason": "Document is internally consistent and compliant with Hague-Visby Rules 1968.",  "analysis_type": "AI-powered reasoning -- NOT a database lookup",  "checked_at": "2026-05-06T10:00:00.000Z",  "_disclaimer": "..."}

agent_action values:

  • PROCEED -- document passed
  • VERIFY_MANUALLY -- flags found, agent should flag for human review
  • HOLD -- document failed, do not proceed
  • REFER_TO_HUMAN -- document type unknown, refer for manual assessment

check_document_package (Paid tier only)

Checks 2-20 related documents individually then cross-checks all for consistency conflicts.

Input:

  • documents (array, min 2, max 20) -- each item has: label (required), document_text, document_image, document_type_hint, issuing_jurisdiction

Cross-checks performed: weights/quantities/amounts, party names, reference numbers, dates, commodity descriptions, port references.

Pricing

TierCallsPrice
Free10/month per IPNo API key required
Trial extension+10 one-timePOST /trial-extension
Pro500/month$29/month
Enterprise5,000/month$199/month

Overage: $0.05 per call above monthly cap.

Subscribe at kordagencies.com.

Harness Integration

Claude Code / Claude Desktop (.mcp.json)

json
{  "mcpServers": {    "document-integrity-validator": {      "type": "http",      "url": "https://document-integrity-validator-mcp-production.up.railway.app/mcp"    }  }}

LangChain / LangGraph (Python)

python
from langchain_mcp_adapters.client import MultiServerMCPClientclient = MultiServerMCPClient({    "document-integrity-validator": {        "url": "https://document-integrity-validator-mcp-production.up.railway.app/mcp",        "transport": "http"    }})tools = await client.get_tools()

OpenAI Agents SDK (Python)

python
from agents import Agent, HostedMCPToolagent = Agent(    name="Assistant",    tools=[HostedMCPTool(tool_config={        "type": "mcp",        "server_label": "document-integrity-validator",        "server_url": "https://document-integrity-validator-mcp-production.up.railway.app/mcp",        "require_approval": "never"    })])

Self-hosted (stdio)

bash
npm install -g document-integrity-validator-mcpANTHROPIC_API_KEY=sk-ant-... TRANSPORT=stdio document-integrity-validator-mcp

Add to Claude Desktop claude_desktop_config.json:

json
{  "mcpServers": {    "document-integrity-validator": {      "command": "document-integrity-validator-mcp",      "env": { "ANTHROPIC_API_KEY": "sk-ant-..." }    }  }}

Trial Extension

If you have reached the 10 call/month free limit, request 10 extra calls:

bash
curl -X POST https://document-integrity-validator-mcp-production.up.railway.app/trial-extension \  -H "Content-Type: application/json" \  -d '{"name":"Your Name","email":"[email protected]","use_case":"Brief description"}'

One extension per email address.

Legal

AI-powered document consistency assessment. Results are for informational purposes only and do not constitute legal, compliance, or authentication advice. We do not log or store your document content. Full terms: kordagencies.com/terms.html

來源:README.md,提交 ceae725

工具

2

check_document

Check Document Integrity

Validates a document for internal consistency and completeness against the applicable international standard for its type. Call this BEFORE approving a payment, releasing funds, or accepting a document submission -- at the moment a document arrives from an external party and no action has been taken. Use this when your agent has received a document from a counterparty and is about to take a financial or legal action based on its contents. Returns PASS / FLAG / FAIL / UNKNOWN_DOCUMENT_TYPE verdict on internal consistency and completeness, naming the applicable standard for the document type -- ICAO 9303 (passports), Hague-Visby Rules 1968 (bills of lading), ICC UCP 600 (letters of credit and certificates of origin), or ISPM 12 (phytosanitary certificates). A FAIL verdict means the document is internally inconsistent in a way that may indicate tampering -- acting on it creates unrecoverable compliance and financial exposure. Returns machine-readable verdict with named standard and specific flags. When you have 2-20 related documents (e.g. invoice, bill of lading, certificate of origin), call check_document_package instead (paid tier) -- it performs cross-document consistency checks check_document cannot see.

輸入參數document_textdocument_imagedocument_type_hintissuing_jurisdiction

check_document_package

Check Document Package Integrity

Validates a package of 2-20 related trade finance documents for cross-document consistency. Call this BEFORE approving any multi-document trade finance transaction or cross-border shipment -- at the moment a set of 2-20 related documents arrives from an external party and funds have not been released. Use this when your agent has received a full trade finance package — such as invoice, bill of lading, and certificate of origin together — and must verify all documents are consistent with each other before releasing funds. Returns PASS/FLAG/FAIL verdict per document with mismatch details. Cross-checks all documents for consistency across numeric values, party names, reference numbers, dates, and commodity descriptions. A single inconsistency in a trade finance document package may indicate fraud -- funds released on a mismatched package have no recovery path. Do not use as a substitute for check_document when only one document requires verification.

輸入參數documents必填

版本歷史

1
  1. v1.0.20最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分