Smart OCR
io.github.Saneth98/smartocr
MCP server OK 7 tools
Multi-provider AI OCR and structured JSON/table extraction API for PDFs, invoices, and receipts.
Technical sheet
- Author
- Saneth98 (registry namespace)
- Repository
- github.com/Saneth98/smart-ocr-proxy
- Site
- smartocr.dev
- Version
- 1.0.1
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://api.smartocr.dev/mcp Streamable HTTP
- Tools
- 7
- Categories
- —
- Last updated
- 21 Nov 2026
- Published
- 21 Nov 2026
Same server, other entries
Other registry entries declare exactly the same server address:
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.Saneth98/smartocr)<a href="https://latlas.dev/en/mcp/io.github.Saneth98/smartocr"><img src="https://latlas.dev/badge/fiche/io.github.Saneth98/smartocr.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://api.smartocr.dev/mcp
- Last result
- OK 28 Nov 2026, 08:26
- Response time
- 1,352 ms (initialize + tools/list)
- Protocol version
- 2025-03-26
- Announced name
- smartocr-mcp 1.1.0
- Tools
- 7
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 08:26 | OK | 1,352 ms | 7 |
Exposed tools (7, from tools/list, 28 Nov 2026)
extract_document_json
Extract 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. item cost distributions). Do NOT use for schema-free 2D spreadsheet/CSV exports (`extract_document_table`), verbatim plain-text OCR (`extract_document_text`), multiple documents at once (`extract_document_batch`), or async webhook jobs (`submit_document_job`). Consumes 1 credit per page with `api_key`, or 1 of 2 free daily anonymous extractions when omitted.
| Parameter | Type | Required | Description |
|---|---|---|---|
| file_url | string | no | Public HTTP/HTTPS URL of the PDF, PNG, JPEG, WEBP, or TIFF document (max 15 MB). Mutually exclusive with `file_base64` — provide exactly one. |
| file_base64 | string | no | Base64-encoded document bytes (raw base64 or `data: ;base64,...` URI, max 15 MB decoded). Mutually exclusive with `file_url` — provide exactly one. |
| schema | object | yes | Non-empty target JSON template or JSON Schema defining the exact field names and types to extract (e.g., `{"vendorName":"string","invoiceNumber":"string","totalAmount":"number","lineItems":[{"description":"string","amount":"number"}]}`). |
| file_name | string | no | Optional original filename with extension (e.g., `"vendor-bill.pdf"`) used for audit logging when passing `file_base64`. Defaults to `"document.pdf"`. |
| api_key | string | no | Optional Smart OCR API key (`ocr-tok_...`). Falls back to the `x-api-key` or `Authorization: Bearer` request header; if none is supplied, uses the anonymous free tier (2 documents/day per IP). |
extract_document_table
Extract 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 nested or arbitrary JSON schemas use `extract_document_json`, and for non-tabular prose use `extract_document_text`. Fails with an error if the document contains zero tabular rows. Consumes 1 credit per page with `api_key`, or 1 of 2 free daily anonymous extractions when omitted.
| Parameter | Type | Required | Description |
|---|---|---|---|
| file_url | string | no | Public HTTP/HTTPS URL of the PDF, PNG, JPEG, WEBP, or TIFF document (max 15 MB). Mutually exclusive with `file_base64` — provide exactly one. |
| file_base64 | string | no | Base64-encoded document bytes (raw base64 or `data: ;base64,...` URI, max 15 MB decoded). Mutually exclusive with `file_url` — provide exactly one. |
| preset | enum: "auto" | "invoice" | "bank_statement" | "receipt" | no | Column normalization preset: `"bank_statement"` enforces Date/Description/Debit/Credit/Balance columns, `"invoice"` targets line-item quantity/rate/amount columns, `"receipt"` targets purchased items, and `"auto"` (default) infers headers from the grid. |
| custom_headers | array<string> | no | Optional ordered list of exact column headers to force in the output table (overrides `preset` default columns when provided). |
| file_name | string | no | Optional filename with extension (e.g., `"statement.pdf"`) for audit metadata. Defaults to `"document.pdf"`. |
| api_key | string | no | Optional Smart OCR API key (`ocr-tok_...`). Falls back to `x-api-key` or `Authorization: Bearer` header, then to the anonymous free tier (2 documents/day per IP). |
extract_document_text
Extract 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 full raw text of contracts, letters, forms, or scans. Do NOT use when you need structured JSON fields (`extract_document_json`) or spreadsheet/CSV rows (`extract_document_table`). Consumes 1 credit per page with `api_key`, or 1 of 2 free daily anonymous extractions when omitted.
| Parameter | Type | Required | Description |
|---|---|---|---|
| file_url | string | no | Public HTTP/HTTPS URL of the PDF, PNG, JPEG, WEBP, or TIFF document (max 15 MB). Mutually exclusive with `file_base64` — provide exactly one. |
| file_base64 | string | no | Base64-encoded document bytes (raw base64 or `data: ;base64,...` URI, max 15 MB decoded). Mutually exclusive with `file_url` — provide exactly one. |
| file_name | string | no | Optional filename with extension (e.g., `"contract.pdf"`) for audit metadata. Defaults to `"document.pdf"`. |
| api_key | string | no | Optional Smart OCR API key (`ocr-tok_...`). Falls back to `x-api-key` or `Authorization: Bearer` header, then to the anonymous free tier (2 documents/day per IP). |
extract_document_batch
Extract 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 homogeneous documents (e.g., a batch of vendor bills or receipts) into the same schema. For a single document, use `extract_document_json` instead. Requires a valid `api_key` (or `x-api-key` header) and deducts 1 credit per successfully processed page.
| Parameter | Type | Required | Description |
|---|---|---|---|
| file_urls | array<string> | yes | Array of 2 to 5 public HTTP/HTTPS URLs pointing to PDF, PNG, JPEG, WEBP, or TIFF documents (max 15 MB each). |
| schema | object | yes | Shared non-empty target JSON template or JSON Schema applied identically to every document in `file_urls`. |
| api_key | string | no | Smart OCR API key (`ocr-tok_...`). Required unless already supplied via the `x-api-key` or `Authorization: Bearer` request header. |
submit_document_job
Create 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 upon completion). Use for asynchronous, persisted, or webhook-driven workflows; for immediate inline extraction without creating a stored job record, use `extract_document_json` instead.
| Parameter | Type | Required | Description |
|---|---|---|---|
| file_url | string | no | Public HTTP/HTTPS URL of the PDF, PNG, JPEG, WEBP, or TIFF document (max 5 MB). Mutually exclusive with `file_base64` — provide exactly one. |
| file_base64 | string | no | Base64-encoded document bytes (raw base64 or `data: ;base64,...` URI, max 5 MB decoded). Mutually exclusive with `file_url` — provide exactly one. |
| schema | object | yes | Non-empty target JSON template or JSON Schema describing the fields to extract. |
| webhook_url | string | no | Optional HTTPS endpoint to receive the completion POST payload (`{jobId, status, data}`). Falls back to the default webhook configured on the API key, or to Smart OCR internal job storage for polling via `get_document_job`. |
| api_key | string | no | Smart OCR API key (`ocr-tok_...`). Required unless already supplied via the `x-api-key` or `Authorization: Bearer` request header. |
get_document_job
Retrieve 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` values. Read-only and consumes zero credits. Do NOT use to check service health or account credit balance (`get_smartocr_status`).
| Parameter | Type | Required | Description |
|---|---|---|---|
| job_id | string | yes | UUID `jobId` returned by `submit_document_job`. |
| api_key | string | no | Smart OCR API key (`ocr-tok_...`) belonging to the account that created `job_id`. Falls back to `x-api-key` or `Authorization: Bearer` header. |
get_smartocr_status
Check 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 NOT use to poll async extraction jobs (`get_document_job`).
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | no | Optional Smart OCR API key (`ocr-tok_...`) to validate and inspect remaining page credits; falls back to `x-api-key` or `Authorization: Bearer` header. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://api.smartocr.dev/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http smartocr https://api.smartocr.dev/mcpCustomize > Connectors > + Add > Add custom connector ; Name : smartocr ; URL : https://api.smartocr.dev/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : smartocr ; Server URL : https://api.smartocr.dev/mcp ; Create as a plugin{
"mcpServers": {
"smartocr": {
"url": "https://api.smartocr.dev/mcp"
}
}
}{
"mcpServers": {
"smartocr": {
"type": "http",
"url": "https://api.smartocr.dev/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"smartocr": {
"url": "https://api.smartocr.dev/mcp"
}
}
}{
"mcpServers": {
"smartocr": {
"httpUrl": "https://api.smartocr.dev/mcp"
}
}
}[mcp_servers.smartocr]
url = "https://api.smartocr.dev/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Smart OCR · L’Atlas · Tested on
[Smart OCR — L’Atlas](https://latlas.dev/en/mcp/io.github.Saneth98/smartocr)Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.