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 分