Skip to content
MCP server

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

MCP server and REST API that turn invoices, receipts and PDFs into schema-validated JSON

Verified workingStatus and history

Answered our tool-list check 3 of 3 times in the last 7 days; last seen working 4 days ago.

Smart OCR — PDF, Invoice & Receipt to JSON/Table API is a freemium MCP server for files and documents. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Freemium
Platforms
API, Web
Runs
Remotely
What it can do
Can change data (5 tools)
Version
1.0.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http smart-ocr-pdf-invoice-receipt-json https://api.smartocr.dev/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "smart-ocr-pdf-invoice-receipt-json": {
      "type": "http",
      "url": "https://api.smartocr.dev/mcp"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://api.smartocr.dev/mcp

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "smart-ocr-pdf-invoice-receipt-json": {
      "url": "https://api.smartocr.dev/mcp"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "smart-ocr-pdf-invoice-receipt-json": {
      "type": "http",
      "url": "https://api.smartocr.dev/mcp"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://api.smartocr.dev/mcp

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add smart-ocr-pdf-invoice-receipt-json --url https://api.smartocr.dev/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.smart-ocr-pdf-invoice-receipt-json]
url = "https://api.smartocr.dev/mcp"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://api.smartocr.dev/mcp

Enter a Name (for example "Smart OCR — PDF, Invoice & Receipt to JSON/Table API"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "smart-ocr-pdf-invoice-receipt-json": {
      "type": "http",
      "url": "https://api.smartocr.dev/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "smart-ocr-pdf-invoice-receipt-json": {
          "httpUrl": "https://api.smartocr.dev/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http smart-ocr-pdf-invoice-receipt-json https://api.smartocr.dev/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "smart-ocr-pdf-invoice-receipt-json": {
          "serverUrl": "https://api.smartocr.dev/mcp"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "smart-ocr-pdf-invoice-receipt-json": {
          "url": "https://api.smartocr.dev/mcp",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "smart-ocr-pdf-invoice-receipt-json": {
          "type": "streamableHttp",
          "url": "https://api.smartocr.dev/mcp"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "smart-ocr-pdf-invoice-receipt-json": {
          "url": "https://api.smartocr.dev/mcp"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "smart-ocr-pdf-invoice-receipt-json": {
          "url": "https://api.smartocr.dev/mcp"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "smart-ocr-pdf-invoice-receipt-json": {
          "url": "https://api.smartocr.dev/mcp"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "smart-ocr-pdf-invoice-receipt-json": {
          "url": "https://api.smartocr.dev/mcp"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

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

Smart OCR accepts a PDF, scan or photo along with a target JSON schema and returns data shaped to that schema. Documents are first classified as raw scans, digital-text PDFs or tabular files, then sent to a matching extraction path, with native parsing used for PDFs that already contain embedded text.

Beyond single-field reading, the service detects table geometry and cell boundaries so nested line items keep their row and column relationships. Responses are checked against the schema's types and required keys before they are returned, which makes them easier to insert directly into a database.

The product is aimed at developers and operations teams that process invoices, statements, bills of lading and intake forms, and want an API or an MCP connection for AI assistants like Claude and Cursor rather than an in-house OCR pipeline.

Tools this server provides (7)

Read directly from the server.

The server marks 5 of 7 tools as able to change data.

From the server's own tool labels and tool names; not verified by us.

extract_document_jsonSays it can change data
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_t
extract_document_tableSays it can change data
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_docu
extract_document_textSays it can change data
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 Google Cloud Vision or AWS Textract in memory. Use when you want the full raw text of contracts, letters, forms, or scans. Do NOT use when you need structured JS
extract_document_batchSays it can change data
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 do
submit_document_jobSays it can change data
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
get_document_jobSays read-only
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 bala
get_smartocr_statusSays read-only
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`).

What it does

Custom schema extraction
Define your own JSON structure and receive document fields mapped and type-checked against it.
Table and line item parsing
Detects table cells and keeps nested line items aligned with their columns.
Native PDF fast path
Digital-text PDFs are parsed directly without running OCR, which lowers latency and cost for those files.
Automatic document routing
Identifies whether a file is a scan, digital PDF or tabular document and picks the matching engine.
Webhooks and REST endpoint
Synchronous extraction through a single POST endpoint, with webhooks for asynchronous batch jobs.
MCP server access
Exposes extraction to AI agents and coding tools over a remote Model Context Protocol endpoint.
Scoped API keys and audit logs
Per-key rate limits, hashed API keys and request logging for production use.

Good for

  • Automating accounts payable by pulling line items from vendor invoices
  • Turning bills of lading and shipping manifests into structured records
  • Digitizing patient intake forms without manual retyping
  • Letting an AI assistant extract fields from uploaded PDFs through MCP
  • Batch-processing statements into CSV or Excel-ready tables

Pricing

Freemium

10 free credits on signup; pay per page from 10¢, with volume rates at 8¢ and 5¢. Credits never expire.

Prices change. Check smartocr.dev before you buy.

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

What is an OCR API used for?

It extracts text, tables and handwriting from documents such as invoices and receipts and returns the data as structured JSON.

How do you extract tables from PDFs to JSON?

The service detects table geometry and cell boundaries, then maps rows and nested line items into the JSON schema you supply.

How is pricing charged?

Usage is billed per page at 10 cents for standard processing, with lower per-page rates on higher-volume tiers. New accounts receive 10 free credits with no credit card required.

How do I add Smart OCR — PDF, Invoice & Receipt to JSON/Table API to Claude Code?

Run this command in your terminal: claude mcp add --transport http smart-ocr-pdf-invoice-receipt-json https://api.smartocr.dev/mcp

What are the best alternatives to Smart OCR — PDF, Invoice & Receipt to JSON/Table API?

The closest alternatives to Smart OCR — PDF, Invoice & Receipt to JSON/Table API are Smart OCR, Document to JSON – PDF Invoice/Statement/Contract Parser, Space Ocr, Doc Extract Api and PDF Text Extractor.

Where this comes from

  • Description: written from the project's website and its MCP Registry entry.
  • Status and tools: checked automatically by AIPoweredBot on 26 November 2026.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers