Smart OCR — PDF, Invoice & Receipt to JSON/Table API is an MCP server published by io.github.Saneth98, hosted at api.smartocr.dev. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 3 tools, including extract_document_table, extract_document_json, get_smartocr_status.
Extract custom JSON schemas and Excel/CSV tables from PDFs, invoices, statements, and receipts.
5 connections through 5 shared values. Tap any node.
Extract structured table rows (line items, transactions, headers, document metadata, summary totals, Markdown table, and CSV) from a PDF or image (invoice, bank statement, credit card statement, receipt, timesheet, or scanned table). Works immediately on the free tier (2 free documents/day) or with an optional Smart OCR API key.
| Parameter | Type | Description |
|---|---|---|
| preset | string | Document preset: "invoice" for vendor invoices/bills, "bank_statement" for bank or credit card statements, "receipt" for retail/expense receipts, or "auto" to auto-detect. |
| api_key | string | Optional Smart OCR API key from https://smartocr.dev (can also be sent via x-api-key header). If omitted, uses the free tier (2 free docs/day). |
| file_url | string | Public HTTP/HTTPS URL to a PDF, PNG, JPG, WEBP, or TIFF document to extract. |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| file_name | string | Optional filename with extension (e.g., "invoice.pdf", "statement.pdf", "receipt.png"). Defaults to "document.pdf". |
| file_base64 | string | Base64-encoded document content (raw base64 or data:...;base64,... URI). Provide either file_url or file_base64. |
| custom_headers | array | Optional list of custom column headers to extract (e.g., ["Date", "Description", "Amount", "Balance"]). |
{
"name": "extract_document_table",
"description": "Extract structured table rows (line items, transactions, headers, document metadata, summary totals, Markdown table, and CSV) from a PDF or image (invoice, bank statement, credit card statement, receipt, timesheet, or scanned table). Works immediately on the free tier (2 free documents/day) or with an optional Smart OCR API key.",
"inputSchema": {
"type": "object",
"properties": {
"preset": {
"enum": [
"auto",
"invoice",
"bank_statement",
"receipt"
],
"type": "string",
"description": "Document preset: \"invoice\" for vendor invoices/bills, \"bank_statement\" for bank or credit card statements, \"receipt\" for retail/expense receipts, or \"auto\" to auto-detect."
},
"api_key": {
"type": "string",
"description": "Optional Smart OCR API key from https://smartocr.dev (can also be sent via x-api-key header). If omitted, uses the free tier (2 free docs/day)."
},
"file_url": {
"type": "string",
"description": "Public HTTP/HTTPS URL to a PDF, PNG, JPG, WEBP, or TIFF document to extract."
},
"file_name": {
"type": "string",
"description": "Optional filename with extension (e.g., \"invoice.pdf\", \"statement.pdf\", \"receipt.png\"). Defaults to \"document.pdf\"."
},
"file_base64": {
"type": "string",
"description": "Base64-encoded document content (raw base64 or data:...;base64,... URI). Provide either file_url or file_base64."
},
"custom_headers": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional list of custom column headers to extract (e.g., [\"Date\", \"Description\", \"Amount\", \"Balance\"])."
}
}
},
"annotations": {
"title": "Extract Document Table to CSV / Markdown / JSON",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Extract strict, structured JSON matching any custom JSON schema or field template from a PDF or image (PNG, JPG, WEBP, TIFF). Ideal for developer pipelines, ERP/accounting ingestion, and custom document fields. Works on the free tier (2 free docs/day) or with a Smart OCR API key (10 free credits at https://smartocr.dev).
| Parameter | Type | Description |
|---|---|---|
| schema * | object | Target JSON schema or key-value object template describing the fields to extract (e.g., {"vendorName": "string", "invoiceNumber": "string", "invoiceDate": "string", "totalAmount": "number", "lineItems": [{"description": "string", "quantity": "number", "amount": "number"}]}). |
| api_key | string | Optional Smart OCR API key from https://smartocr.dev (can also be sent via x-api-key header). If omitted, uses the free tier (2 free docs/day). |
| file_url | string | Public HTTP/HTTPS URL to a PDF, PNG, JPG, WEBP, or TIFF document to extract. |
| file_name | string | Optional filename with extension (e.g., "invoice.pdf"). |
| file_base64 | string | Base64-encoded document content (raw base64 or data:...;base64,... URI). Provide either file_url or file_base64. |
{
"name": "extract_document_json",
"description": "Extract strict, structured JSON matching any custom JSON schema or field template from a PDF or image (PNG, JPG, WEBP, TIFF). Ideal for developer pipelines, ERP/accounting ingestion, and custom document fields. Works on the free tier (2 free docs/day) or with a Smart OCR API key (10 free credits at https://smartocr.dev).",
"inputSchema": {
"type": "object",
"required": [
"schema"
],
"properties": {
"schema": {
"type": "object",
"description": "Target JSON schema or key-value object template describing the fields to extract (e.g., {\"vendorName\": \"string\", \"invoiceNumber\": \"string\", \"invoiceDate\": \"string\", \"totalAmount\": \"number\", \"lineItems\": [{\"description\": \"string\", \"quantity\": \"number\", \"amount\": \"number\"}]}).",
"additionalProperties": true
},
"api_key": {
"type": "string",
"description": "Optional Smart OCR API key from https://smartocr.dev (can also be sent via x-api-key header). If omitted, uses the free tier (2 free docs/day)."
},
"file_url": {
"type": "string",
"description": "Public HTTP/HTTPS URL to a PDF, PNG, JPG, WEBP, or TIFF document to extract."
},
"file_name": {
"type": "string",
"description": "Optional filename with extension (e.g., \"invoice.pdf\")."
},
"file_base64": {
"type": "string",
"description": "Base64-encoded document content (raw base64 or data:...;base64,... URI). Provide either file_url or file_base64."
}
}
},
"annotations": {
"title": "Extract Custom JSON Schema from Document",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Check Smart OCR service status, remaining free daily document quota (2 free documents/day), or developer API key credit balance, plus links to the web converter (https://read.smartocr.dev) and API portal (https://smartocr.dev).
| Parameter | Type | Description |
|---|---|---|
| api_key | string | Optional Smart OCR API key to check your remaining API credit balance. |
{
"name": "get_smartocr_status",
"description": "Check Smart OCR service status, remaining free daily document quota (2 free documents/day), or developer API key credit balance, plus links to the web converter (https://read.smartocr.dev) and API portal (https://smartocr.dev).",
"inputSchema": {
"type": "object",
"properties": {
"api_key": {
"type": "string",
"description": "Optional Smart OCR API key to check your remaining API credit balance."
}
}
},
"annotations": {
"title": "Check Smart OCR Quota & API Credits",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Smart OCR MCP Server extracts structured JSON schemas, Excel/CSV tables, line items, and summary totals from PDFs, invoices, bank statements, receipts, timesheets, and scanned images. It uses intelligent multi-engine OCR routing (Native PDF, Google Cloud Vision, AWS Textract) + LLM schema enforcement. Works out-of-the-box on the free tier (2 free documents/day) or with a Smart OCR API key from https://smartocr.dev (10 free credits on signup).
Names, descriptions and schemas were written by the server and are shown as data.