AllPDFMagic
PDF tools + invoice extraction, bank statement parsing, GST reconciliation & GSTIN validation.
我该使用它吗
质量与安全性
发现(2)
- LOW在 extract_invoice_data 中
- LOW在 reconcile_documents 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"allpdfmagic": {
"url": "https://api.allpdfmagic.com/mcp"
}
}
}远程端点
https://api.allpdfmagic.com/mcpstreamable-http它能做什么
工具清单
工具(7)
🟢validate_gstin(gstin)
Validate an Indian GSTIN: format and check-digit (base-36 checksum). Catches typos and fabricated numbers instantly. Runs locally — no API key required. Note: does NOT confirm active registration on the GST portal.
输入模式
{
"type": "object",
"properties": {
"gstin": {
"type": "string",
"description": "15-character GSTIN, e.g. 27AAPFU0939F1ZV"
}
},
"required": [
"gstin"
]
}🟢compress_pdf(file_url, file_base64, filename)
Compress a PDF file to reduce its size. Returns a download URL for the compressed file. Free tier: 500 calls/month.
输入模式
{
"type": "object",
"properties": {
"file_url": {
"type": "string",
"description": "HTTPS URL of the file to process (the server downloads it)"
},
"file_base64": {
"type": "string",
"description": "Base64-encoded file content (alternative to file_url; max 15MB decoded)"
},
"filename": {
"type": "string",
"description": "Filename with extension, e.g. invoice.pdf"
}
},
"required": [
"filename"
]
}🟢pdf_to_excel(file_url, file_base64, filename)
Convert a PDF (tables, statements, reports) to an Excel file. Returns a download URL. Requires Premium tier or above.
输入模式
{
"type": "object",
"properties": {
"file_url": {
"type": "string",
"description": "HTTPS URL of the file to process (the server downloads it)"
},
"file_base64": {
"type": "string",
"description": "Base64-encoded file content (alternative to file_url; max 15MB decoded)"
},
"filename": {
"type": "string",
"description": "Filename with extension, e.g. invoice.pdf"
}
},
"required": [
"filename"
]
}🟢extract_invoice_data(file_url, file_base64, filename)
Extract structured data from an invoice PDF: vendor, invoice number, date, line items, taxes (GST-aware), totals — as JSON. Requires Team tier or above.
输入模式
{
"type": "object",
"properties": {
"file_url": {
"type": "string",
"description": "HTTPS URL of the file to process (the server downloads it)"
},
"file_base64": {
"type": "string",
"description": "Base64-encoded file content (alternative to file_url; max 15MB decoded)"
},
"filename": {
"type": "string",
"description": "Filename with extension, e.g. invoice.pdf"
}
},
"required": [
"filename"
]
}🟢parse_bank_statement(file_url, file_base64, filename)
Parse a bank statement PDF (any Indian bank + international formats) into categorized transactions with dates, amounts, balances, payment modes (UPI/NEFT/ATM/...), and an income/expense summary. Requires Developer tier or above.
输入模式
{
"type": "object",
"properties": {
"file_url": {
"type": "string",
"description": "HTTPS URL of the file to process (the server downloads it)"
},
"file_base64": {
"type": "string",
"description": "Base64-encoded file content (alternative to file_url; max 15MB decoded)"
},
"filename": {
"type": "string",
"description": "Filename with extension, e.g. invoice.pdf"
}
},
"required": [
"filename"
]
}⚪reconcile_documents(files)
Reconcile two or more documents (e.g. purchase register vs GSTR-2B, bank statement vs ledger). Matches line items by GSTIN + invoice number + amount; reports matches, mismatches with exact fields, and unmatched items. Requires Developer tier or above.
输入模式
{
"type": "object",
"properties": {
"files": {
"type": "array",
"description": "2-10 documents. Each item: {file_url OR file_base64, filename}",
"items": {
"type": "object",
"properties": {
"file_url": {
"type": "string",
"description": "HTTPS URL of the file to process (the server downloads it)"
},
"file_base64": {
"type": "string",
"description": "Base64-encoded file content (alternative to file_url; max 15MB decoded)"
},
"filename": {
"type": "string",
"description": "Filename with extension, e.g. invoice.pdf"
}
}
},
"minItems": 2,
"maxItems": 10
}
},
"required": [
"files"
]
}⚪detect_document_fraud(files)
Screen a batch of 2+ invoices/documents for fraud signals: fabricated GSTINs (check-digit), duplicate invoice numbers across documents, duplicate/near-duplicate files, and amount anomalies. Requires Developer tier or above.
输入模式
{
"type": "object",
"properties": {
"files": {
"type": "array",
"description": "2-10 documents. Each item: {file_url OR file_base64, filename}",
"items": {
"type": "object",
"properties": {
"file_url": {
"type": "string",
"description": "HTTPS URL of the file to process (the server downloads it)"
},
"file_base64": {
"type": "string",
"description": "Base64-encoded file content (alternative to file_url; max 15MB decoded)"
},
"filename": {
"type": "string",
"description": "Filename with extension, e.g. invoice.pdf"
}
}
},
"minItems": 2,
"maxItems": 10
}
},
"required": [
"files"
]
}社区
证据