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"
]
}社群
證據