关于 Document Integrity Validator
Document Integrity Validator 是用于依据已知国际标准检查文档的 MCP 服务。它为单份文档返回结构化判定,也可交叉检查相关文档包中的不一致之处。
主要功能
- 01依据标准检查一致性与完整性
- 02接收文档文本或 Base64 图片
- 03返回结构化判定和 Agent 操作建议
- 04交叉核对相关文档包
适用场景
- 01依据 ICAO Document 9303 审查护照
- 02检查贸易或运输单据中的异常
- 03比较文档包中的数量、各方和日期
MCP 相关
向 MCP 客户端提供 `check_document` 和 `check_document_package` 工具。工具依据支持的标准评估文档,并返回包含 Agent 操作建议的机器可读结果。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://document-integrity-validator-mcp-production.up.railway.app/mcpclaude mcp add --transport http ojaskord-document-integrity-validator https://document-integrity-validator-mcp-production.up.railway.app/mcp{"mcpServers":{"ojaskord-document-integrity-validator":{"type":"http","url":"https://document-integrity-validator-mcp-production.up.railway.app/mcp"}}}在 Cursor 中打开{"servers":{"ojaskord-document-integrity-validator":{"type":"http","url":"https://document-integrity-validator-mcp-production.up.railway.app/mcp"}}}在 VS Code 中打开{"mcpServers":{"ojaskord-document-integrity-validator":{"type":"http","url":"https://document-integrity-validator-mcp-production.up.railway.app/mcp"}}}{"mcpServers":{"ojaskord-document-integrity-validator":{"serverUrl":"https://document-integrity-validator-mcp-production.up.railway.app/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
2| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| document_text | string | 否 | 从文档中提取的文本内容。请提供此项、document_image,或两者都提供。 |
| document_image | string | 否 | Base64 编码的文档图像。接受原始 Base64 或数据 URL(data:image/jpeg;base64,...)。支持的类型:JPEG、PNG、GIF、WEBP。 |
| document_type_hint | string | 否 | 调用方 Agent 认为的文档类型,例如 "bill_of_lading"、"passport"、"certificate_of_origin"。可选——验证器会独立识别类型。 |
| issuing_jurisdiction | string | 否 | 国家或签发机构,例如 "Singapore"、"ICAO"、"United Kingdom"。用于缩小司法管辖区特定标准的选择范围。 |
详细介绍
文档完整性验证器 MCP
在 Agent 接收、处理或依据外部文件采取行动之前,请验证其内部一致性,并确认其符合该类型文件的已知标准。一次调用。任何文件。机器可读的判定结果。
功能
根据该类文件适用的已知国际标准,检查任何文件的内部一致性、完整性和异常情况。接受 base64 图像或提取的文本。返回结构化判定结果,其中包含机器可读的 agent_action 字段。
支持的标准包括:ICAO Document 9303(护照)、1968 年《海牙—维斯比规则》(提单)、UCP 600(贸易融资文件)、ISPM 12/IPPC/FAO(植物检疫证书)、1968 年《维也纳道路交通公约》(驾驶执照)等。
遇到不熟悉的文件时,会返回 UNKNOWN_DOCUMENT_TYPE,而不是猜测——正确的做法是拒绝判断,而非视为失败。
由 AI 驱动的推理——不是数据库查询。
工具
check_document(免费套餐:每月 10 次调用)
根据其国际标准检查单份文件。
输入:
document_text(字符串,可选)——从文件中提取的文本document_image(字符串,可选)——base64 编码的图像(原始 base64 或 data URL)document_type_hint(字符串,可选)——Agent 对文件类型的判断issuing_jurisdiction(字符串,可选)——国家或签发机构
必须提供 document_text 或 document_image 中的至少一项。
响应:
{
"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 值:
PROCEED—— 文件通过检查VERIFY_MANUALLY—— 发现标记项,Agent 应标记并交由人工审核HOLD—— 文件未通过检查,请勿继续REFER_TO_HUMAN—— 文件类型未知,转交人工评估
check_document_package(仅限付费套餐)
分别检查 2-20 份相关文件,然后交叉核对所有文件,查找一致性冲突。
输入:
documents(数组,最少 2 份,最多 20 份)——每项包含:label(必填)、document_text、document_image、document_type_hint、issuing_jurisdiction
执行的交叉核对: 重量/数量/金额、当事方名称、参考编号、日期、商品描述、港口信息。
定价
| 套餐 | 调用次数 | 价格 |
|---|---|---|
| 免费 | 每个 IP 每月 10 次 | 无需 API 密钥 |
| 试用扩展 | 一次性增加 10 次 | POST /trial-extension |
| Pro | 每月 500 次 | $29/月 |
| Enterprise | 每月 5,000 次 | $199/月 |
超额费用:超出每月限额后,每次调用 $0.05。
请在 kordagencies.com 订阅。
Harness 集成
Claude Code / Claude Desktop (.mcp.json)
{
"mcpServers": {
"document-integrity-validator": {
"type": "http",
"url": "https://document-integrity-validator-mcp-production.up.railway.app/mcp"
}
}
}
LangChain / LangGraph (Python)
from langchain_mcp_adapters.client import MultiServerMCPClient
client = 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)
from agents import Agent, HostedMCPTool
agent = 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"
})]
)
自托管(stdio)
npm install -g document-integrity-validator-mcp
ANTHROPIC_API_KEY=sk-ant-... TRANSPORT=stdio document-integrity-validator-mcp
添加到 Claude Desktop claude_desktop_config.json:
{
"mcpServers": {
"document-integrity-validator": {
"command": "document-integrity-validator-mcp",
"env": { "ANTHROPIC_API_KEY": "sk-ant-..." }
}
}
}
试用扩展
如果已达到每月 10 次免费调用的限额,可申请额外 10 次调用:
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"}'
每个电子邮箱地址限申请一次扩展。
法律声明
由 AI 驱动的文件一致性评估。结果仅供参考,不构成法律、合规或身份验证建议。我们不会记录或存储您的文件内容。完整条款:kordagencies.com/terms.html
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。