protogrid

Search / io.github.Saneth98/smartocr

Smart OCR

R0· no sign-in

Multi-provider AI OCR and structured JSON/table extraction API for PDFs, invoices, and receipts.

v1.0.1 · active · repository · website · descriptor JSON · versions

An agent can connect right now, no human step.Remote endpoint, no authentication, reachable on the last probe.
Quality80good
Trust97of 100
Uptime, 30 days97%
Latency p50495 msp95 1149 ms

Connect

8 clients · secrets stay placeholders
Add to CursorAdd to VS Codeopens the client, which asks before adding the server
{
  "mcpServers": {
    "smartocr": {
      "type": "http",
      "url": "https://api.smartocr.dev/mcp"
    }
  }
}
claude mcp add --transport http smartocr https://api.smartocr.dev/mcp
[mcp_servers.smartocr]
url = "https://api.smartocr.dev/mcp"
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "smartocr": {
      "type": "remote",
      "url": "https://api.smartocr.dev/mcp",
      "enabled": true
    }
  }
}
{
  "mcpServers": {
    "smartocr": {
      "type": "http",
      "url": "https://api.smartocr.dev/mcp"
    }
  },
  "deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=smartocr&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vYXBpLnNtYXJ0b2NyLmRldi9tY3AifQ%3D%3D"
}
{
  "servers": {
    "smartocr": {
      "type": "http",
      "url": "https://api.smartocr.dev/mcp"
    }
  },
  "deeplink": "vscode:mcp/install?%7B%22name%22%3A%22smartocr%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.smartocr.dev%2Fmcp%22%7D"
}
{
  "mcpServers": {
    "smartocr": {
      "httpUrl": "https://api.smartocr.dev/mcp"
    }
  }
}
extensions:
  "smartocr":
    enabled: true
    name: "smartocr"
    type: streamable_http
    uri: "https://api.smartocr.dev/mcp"
    timeout: 300

Quality 80 / 100good

protocol75 · weight 25
  • warn
    protocol.modernnewest supported version is 2025-03-26; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
  • n/a
    protocol.statelessonly applies to 2026-07-28 servers
  • pass
    protocol.transportstreamable HTTP
  • n/a
    protocol.list_ttlonly applies to 2026-07-28 servers
authorizationn/a · weight 15
  • n/a
    auth.prm, auth.as_metadata, auth.cimdno remote uses OAuth
  • n/a
    auth.secret_in_urlno templated URL
tool hygiene100 · weight 30
  • pass
    tools.descriptionsevery tool has a description
  • pass
    tools.description_lengthdescriptions are concise
  • pass
    tools.schemasevery tool has an object input schema
  • pass
    tools.annotations7 of 7 tools declare readOnlyHint or destructiveHint
  • pass
    tools.directory_hintsevery tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
  • pass
    tools.token_costabout 2,587 tokens to load every tool
  • pass
    tools.api_dumptools are not a one-to-one API dump
  • pass
    tools.hidden_textno hidden text in tool, prompt or resource definitions
  • pass
    tools.poisoningno instructions aimed at the model in tool, prompt or resource definitions
stability50 · weight 15
  • warn
    stability.changes9 tool changes in 30 days
  • fail
    stability.rug_pull3 tools kept their name but changed most of their description in 30 days; review before trusting them
  • pass
    stability.new_linksno tool change named a new site
dependenciesn/a · weight 15
  • n/a
    deps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI package

7 tools, about 2,587 tokens to load them all · tool set 10ba40aaef38 · tools last changed 2026-11-26 · checked 2026-11-29 14:52 UTC

Definition changes

  • extract_document_textchangeddescription, output schemano new version
    before

    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 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.

    after · 92% of words in common

    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.

  • extract_document_jsonchangedoutput schemano new version
  • get_smartocr_statuschangeddescription, input schema, output schemameaning changed
    before

    Check Smart OCR service status, remaining free daily document quota (2 free documents/day), or developer API key credit balance, plus links to the web converter (https://read.smartocr.dev) and API portal (https://smartocr.dev).

    after · 30% of words in common

    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`).

  • get_document_jobadded

    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`).

  • submit_document_jobadded

    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.

  • extract_document_batchadded

    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.

  • extract_document_textadded

    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 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.

  • extract_document_tablechangeddescription, input schema, output schema, annotationsmeaning changed
    before

    Extract structured table rows (line items, transactions, headers, document metadata, summary totals, Markdown table, and CSV) from a PDF or image (invoice, bank statement, credit card statement, receipt, timesheet, or scanned table). Works immediately on the free tier (2 free documents/day) or with an optional Smart OCR API key.

    after · 26% of words in common

    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.

  • extract_document_jsonchangeddescription, input schema, output schema, annotationsmeaning changed
    before

    Extract strict, structured JSON matching any custom JSON schema or field template from a PDF or image (PNG, JPG, WEBP, TIFF). Ideal for developer pipelines, ERP/accounting ingestion, and custom document fields. Works on the free tier (2 free docs/day) or with a Smart OCR API key (10 free credits at https://smartocr.dev).

    after · 21% of words in common

    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.

Full history: list_changes · trend: quality JSON.

Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.

Trust 97 / 100

provenance90
liveness99
freshness100
hygiene100

+repository +namespace-matches-repo +website +reachable +uptime-97% +updated-8d-ago

Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.

Endpoints

Last 30 days97% of probes answered
remoteauthreachableuptime 30dp50p95protocollast ok
https://api.smartocr.dev/mcp streamable-httpnoneyes97%495 ms1149 ms2025-03-262026-11-29

Tools (7)

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 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.
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. 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.
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 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.
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 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.
get_document_jobread-onlyRetrieve 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`).
get_smartocr_statusread-onlyCheck 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`).
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 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.

Schemas: list_tools.

Prompts and resources (2 prompts, 1 resource)

Prompts

extract-bank-statement1 argumentExtract all transactions (Date, Description, Debit, Credit, Balance) from a bank or credit card statement PDF.
extract-invoice-to-table1 argumentExtract all line items, vendor details, and totals from an invoice PDF or image.

Resources

smartocr://docs/overviewtext/markdownOverview of Smart OCR endpoints, pricing, supported document formats, and multi-engine OCR routing.

Definitions only, never their content. Full lists: prompts, resources.

Also listed as

1 other active names share this repository: io.github.Saneth98/smart-ocr-pdf-invoice-receipt-json

Similar MCP servers

More from io.github.Saneth98

Official server.json
{
  "name": "io.github.Saneth98/smartocr",
  "icons": [
    {
      "src": "https://smartocr.dev/logo.png",
      "sizes": [
        "512x512"
      ],
      "mimeType": "image/png"
    }
  ],
  "title": "Smart OCR",
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "remotes": [
    {
      "url": "https://api.smartocr.dev/mcp",
      "type": "streamable-http"
    }
  ],
  "version": "1.0.1",
  "repository": {
    "url": "https://github.com/Saneth98/smart-ocr-proxy",
    "source": "github"
  },
  "websiteUrl": "https://smartocr.dev",
  "description": "Multi-provider AI OCR and structured JSON/table extraction API for PDFs, invoices, and receipts."
}