Subpay Invoice Reader
Reads invoices and receipts from PDF to JSON and checks the math. $0.04/page via x402.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"invoice-reader": {
"url": "https://subpay.ai/invoice/mcp"
}
}
}远程端点
https://subpay.ai/invoice/mcpstreamable-http它能做什么
工具清单
工具(2)
🟡extract_invoice(document, fileName)
Reads invoices, bills and receipts from PDF into structured JSON — vendor, customer, dates, PO, line items, discount, tax, shipping, total, balance due — and checks the arithmetic: quantity × unit price, lines to subtotal, tax rate, total and balance due. The response says exactly which figures don't add up. Returns vendor, customer, invoice number, dates, PO, line items, subtotal, discount, taxes, shipping, total, amount paid and balance due, plus checks (passed true/false, or null when the figures aren't printed). $0.04 per page (up to 25 pages) in USDC per successful read via x402, quoted before you pay; failed reads are free.
输入模式
{
"type": "object",
"properties": {
"document": {
"type": "string",
"description": "The PDF, base64-encoded (a data: URL prefix is fine). Max about 3 MB and 25 pages."
},
"fileName": {
"description": "Original file name, if known.",
"type": "string"
}
},
"required": [
"document"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢about
Free. What extract_invoice reads, the arithmetic checks, price, payment networks and terms.
输入模式
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据