L'Atlas / Serveurs MCP / Smart OCR

Smart OCR

io.github.Saneth98/smartocr

Serveur MCP OK

Faire examiner Voir les tarifs

Multi-provider AI OCR and structured JSON/table extraction API for PDFs, invoices, 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
—
Dernière mise à jour
21 nov. 2026
Publication
21 nov. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.github.Saneth98/smartocr.svg)](https://latlas.dev/mcp/io.github.Saneth98/smartocr)
HTML
<a href="https://latlas.dev/mcp/io.github.Saneth98/smartocr"><img src="https://latlas.dev/badge/fiche/io.github.Saneth98/smartocr.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, 08:26
Temps de réponse
1 352 ms (initialize + tools/list)
Version du protocole
2025-03-26
Nom annoncé
smartocr-mcp 1.1.0
Outils
7

Historique

DateRésultatRéponseOutils
28 nov. 2026, 08:26OK1 352 ms7

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ètreTypeRequisDescription
file_urlstringnonPublic HTTP/HTTPS URL of the PDF, PNG, JPEG, WEBP, or TIFF document (max 15 MB). Mutually exclusive with `file_base64` — provide exactly one.
file_base64stringnonBase64-encoded document bytes (raw base64 or `data: ;base64,...` URI, max 15 MB decoded). Mutually exclusive with `file_url` — provide exactly one.
schemaobjectouiNon-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_namestringnonOptional original filename with extension (e.g., `"vendor-bill.pdf"`) used for audit logging when passing `file_base64`. Defaults to `"document.pdf"`.
api_keystringnonOptional 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ètreTypeRequisDescription
file_urlstringnonPublic HTTP/HTTPS URL of the PDF, PNG, JPEG, WEBP, or TIFF document (max 15 MB). Mutually exclusive with `file_base64` — provide exactly one.
file_base64stringnonBase64-encoded document bytes (raw base64 or `data: ;base64,...` URI, max 15 MB decoded). Mutually exclusive with `file_url` — provide exactly one.
presetenum: "auto" | "invoice" | "bank_statement" | "receipt"nonColumn 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_headersarray<string>nonOptional ordered list of exact column headers to force in the output table (overrides `preset` default columns when provided).
file_namestringnonOptional filename with extension (e.g., `"statement.pdf"`) for audit metadata. Defaults to `"document.pdf"`.
api_keystringnonOptional 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ètreTypeRequisDescription
file_urlstringnonPublic HTTP/HTTPS URL of the PDF, PNG, JPEG, WEBP, or TIFF document (max 15 MB). Mutually exclusive with `file_base64` — provide exactly one.
file_base64stringnonBase64-encoded document bytes (raw base64 or `data: ;base64,...` URI, max 15 MB decoded). Mutually exclusive with `file_url` — provide exactly one.
file_namestringnonOptional filename with extension (e.g., `"contract.pdf"`) for audit metadata. Defaults to `"document.pdf"`.
api_keystringnonOptional 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ètreTypeRequisDescription
file_urlsarray<string>ouiArray of 2 to 5 public HTTP/HTTPS URLs pointing to PDF, PNG, JPEG, WEBP, or TIFF documents (max 15 MB each).
schemaobjectouiShared non-empty target JSON template or JSON Schema applied identically to every document in `file_urls`.
api_keystringnonSmart 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ètreTypeRequisDescription
file_urlstringnonPublic HTTP/HTTPS URL of the PDF, PNG, JPEG, WEBP, or TIFF document (max 5 MB). Mutually exclusive with `file_base64` — provide exactly one.
file_base64stringnonBase64-encoded document bytes (raw base64 or `data: ;base64,...` URI, max 5 MB decoded). Mutually exclusive with `file_url` — provide exactly one.
schemaobjectouiNon-empty target JSON template or JSON Schema describing the fields to extract.
webhook_urlstringnonOptional 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_keystringnonSmart 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ètreTypeRequisDescription
job_idstringouiUUID `jobId` returned by `submit_document_job`.
api_keystringnonSmart 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ètreTypeRequisDescription
api_keystringnonOptional 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.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://api.smartocr.dev/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http smartocr https://api.smartocr.dev/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : smartocr ; URL : https://api.smartocr.dev/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : smartocr ; Server URL : https://api.smartocr.dev/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "smartocr": {
      "url": "https://api.smartocr.dev/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "smartocr": {
      "type": "http",
      "url": "https://api.smartocr.dev/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "smartocr": {
      "url": "https://api.smartocr.dev/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "smartocr": {
      "httpUrl": "https://api.smartocr.dev/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.smartocr]
url = "https://api.smartocr.dev/mcp"

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.