Smart OCR — PDF, Invoice & Receipt to JSON/Table API
io.github.Saneth98/smart-ocr-pdf-invoice-receipt-json
Serveur MCP OK 7 outils
Extract custom JSON schemas and Excel/CSV tables from PDFs, invoices, statements, and receipts.
Fiche technique
- Auteur
- Saneth98 (espace de noms du registre)
- Dépôt
- github.com/Saneth98/smart-ocr-proxy
- Site
- smartocr.dev
- Version
- 1.0.1
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://api.smartocr.dev/mcp Streamable HTTP
- Outils
- 7
- Catégories
- Productivité et documents, Finance et paiement
- Comparatifs
- Serveurs MCP pour Excel et tableurs, Serveurs MCP pour PDF
- Dernière mise à jour
- 21 nov. 2026
- Publication
- 21 nov. 2026
Doublon probable
Cette fiche déclare la même adresse de serveur qu’une fiche publiée avant elle au registre : Smart OCR. Elle reste consultable mais n’est pas proposée aux moteurs de recherche.
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/io.github.Saneth98/smart-ocr-pdf-invoice-receipt-json)<a href="https://latlas.dev/mcp/io.github.Saneth98/smart-ocr-pdf-invoice-receipt-json"><img src="https://latlas.dev/badge/statut/mcp/io.github.Saneth98/smart-ocr-pdf-invoice-receipt-json.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.Saneth98/smart-ocr-pdf-invoice-receipt-json)<a href="https://latlas.dev/mcp/io.github.Saneth98/smart-ocr-pdf-invoice-receipt-json"><img src="https://latlas.dev/badge/fiche/io.github.Saneth98/smart-ocr-pdf-invoice-receipt-json.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://api.smartocr.dev/mcp
- Dernier résultat
- OK 28 nov. 2026, 10:46
- Temps de réponse
- 1 655 ms (initialize + tools/list)
- Version du protocole
- 2025-03-26
- Nom annoncé
- smartocr-mcp 1.1.0
- Outils
- 7
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 10:46 | OK | 1 655 ms | 7 |
Outils exposés (7, réponse à 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| file_url | string | non | 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 | non | Base64-encoded document bytes (raw base64 or `data: ;base64,...` URI, max 15 MB decoded). Mutually exclusive with `file_url` — provide exactly one. |
| schema | object | oui | 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 | non | 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 | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| file_url | string | non | 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 | non | 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" | non | 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> | non | Optional ordered list of exact column headers to force in the output table (overrides `preset` default columns when provided). |
| file_name | string | non | Optional filename with extension (e.g., `"statement.pdf"`) for audit metadata. Defaults to `"document.pdf"`. |
| api_key | string | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| file_url | string | non | 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 | non | 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 | non | Optional filename with extension (e.g., `"contract.pdf"`) for audit metadata. Defaults to `"document.pdf"`. |
| api_key | string | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| file_urls | array<string> | oui | Array of 2 to 5 public HTTP/HTTPS URLs pointing to PDF, PNG, JPEG, WEBP, or TIFF documents (max 15 MB each). |
| schema | object | oui | Shared non-empty target JSON template or JSON Schema applied identically to every document in `file_urls`. |
| api_key | string | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| file_url | string | non | 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 | non | Base64-encoded document bytes (raw base64 or `data: ;base64,...` URI, max 5 MB decoded). Mutually exclusive with `file_url` — provide exactly one. |
| schema | object | oui | Non-empty target JSON template or JSON Schema describing the fields to extract. |
| webhook_url | string | non | 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 | non | 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`).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| job_id | string | oui | UUID `jobId` returned by `submit_document_job`. |
| api_key | string | non | 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`).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| api_key | string | non | Optional Smart OCR API key (`ocr-tok_...`) to validate and inspect remaining page credits; falls back to `x-api-key` or `Authorization: Bearer` header. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://api.smartocr.dev/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http smart-ocr-pdf-invoice-receipt-json https://api.smartocr.dev/mcpCustomize > Connectors > + Add > Add custom connector ; Name : smart-ocr-pdf-invoice-receipt-json ; URL : https://api.smartocr.dev/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : smart-ocr-pdf-invoice-receipt-json ; Server URL : https://api.smartocr.dev/mcp ; Create as a plugin{
"mcpServers": {
"smart-ocr-pdf-invoice-receipt-json": {
"url": "https://api.smartocr.dev/mcp"
}
}
}{
"mcpServers": {
"smart-ocr-pdf-invoice-receipt-json": {
"type": "http",
"url": "https://api.smartocr.dev/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"smart-ocr-pdf-invoice-receipt-json": {
"url": "https://api.smartocr.dev/mcp"
}
}
}{
"mcpServers": {
"smart-ocr-pdf-invoice-receipt-json": {
"httpUrl": "https://api.smartocr.dev/mcp"
}
}
}[mcp_servers.smart-ocr-pdf-invoice-receipt-json]
url = "https://api.smartocr.dev/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Smart OCR — PDF, Invoice & Receipt to JSON/Table API · L’Atlas · Test du
[Smart OCR — PDF, Invoice & Receipt to JSON/Table API — L’Atlas](https://latlas.dev/mcp/io.github.Saneth98/smart-ocr-pdf-invoice-receipt-json)Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.