Smart OCR — PDF, Invoice & Receipt to JSON/Table API

io.github.Saneth98/smart-ocr-pdf-invoice-receipt-json · v1.0.1 · productivity

Smart OCR — PDF, Invoice & Receipt to JSON/Table API is healthy: it completed an MCP handshake in 2752 ms and exposes 7 tools.

Extract custom JSON schemas and Excel/CSV tables from PDFs, invoices, statements, and receipts.

Endpoint: https://api.smartocr.dev/mcp (streamable-http)

Repository · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count7
Latency2752 ms
Last checked (UTC)2026-11-29T20:25:29.064Z

Health history

Checked (UTC)StatusLatencyError
2026-11-29T20:25:29.064ZHealthy2752
2026-11-27T11:35:51.769ZHealthy369
2026-11-25T04:15:19.780ZHealthy2454
2026-11-22T22:56:05.616ZHealthy3876
2026-11-20T19:30:35.957ZHealthy1980

Tools (7)

extract_document_jsonExtract nested, typed JSON fields matching a caller-defined `schema` from a single PDF or image (PNG, JPEG, WEBP, TIFF; max 15 MB) in memory without storing files. Use when you need structured key-value or nested object/array fields (e.g., invoice headers, serial numbers, or vendor bill expense vs.
extract_document_tableExtract flat 2D spreadsheet rows and columns from a single PDF or image (max 15 MB) as a Markdown table and RFC-4180 CSV without defining a JSON schema. Ideal for bank statements, credit card statements, invoice line-item grids, and timesheets. Use ONLY for flat row/column tabular exports; for neste
extract_document_textExtract verbatim plain-text OCR transcription from a single PDF or image (PNG, JPEG, WEBP, TIFF; max 15 MB) with zero LLM rewriting or schema transformation. Routes digital PDFs through native text extraction and scanned documents through enterprise computer vision in memory. Use when you want the f
extract_document_batchExtract structured JSON matching one shared `schema` across 2 to 5 document URLs in a single batch call (max 15 MB per file). Partial failures are isolated per item: if one URL fails to download or parse, remaining documents still succeed and return per-file status. Use when normalizing multiple hom
submit_document_jobCreate a tracked extraction job (`jobId`) for custom-schema JSON extraction with optional HTTP webhook delivery (`POST` callback with `{jobId, status, data}`), persisted so results can be retrieved via `get_document_job`. Requires a valid `api_key` (max 5 MB document size; deducts 1 credit per page
get_document_jobRetrieve the lifecycle status (`PROCESSING`, `COMPLETED`, or `FAILED`), timestamps, and extracted JSON result of an asynchronous job previously created by `submit_document_job`. Requires the same user `api_key` that submitted the job; returns a not-found error for unknown or unauthorized `job_id` va
get_smartocr_statusCheck Smart OCR server health, remaining anonymous daily free-tier document quota (2 free documents/day per IP), and optionally validate an `api_key` to inspect remaining paid page credits. Read-only and consumes zero credits. Use before running extractions to verify quota or credit availability; do