AllPDFMagic
PDF tools + invoice extraction, bank statement parsing, GST reconciliation & GSTIN validation.
Should I use this
Quality & Safety
Findings (2)
- LOWin extract_invoice_data
- LOWin reconcile_documents
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"allpdfmagic": {
"url": "https://api.allpdfmagic.com/mcp"
}
}
}Remote endpoints
https://api.allpdfmagic.com/mcpstreamable-httpWhat it can do
Tool inventory
Tools (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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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"
]
}Community
Evidence