Search / io.github.Saneth98/smartocr
Smart OCR
R0· no sign-inMulti-provider AI OCR and structured JSON/table extraction API for PDFs, invoices, and receipts.
v1.0.1 · active · repository · website · descriptor JSON · versions
Search / io.github.Saneth98/smartocr
R0· no sign-inMulti-provider AI OCR and structured JSON/table extraction API for PDFs, invoices, and receipts.
v1.0.1 · active · repository · website · descriptor JSON · versions
{
"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
protocol.modernprotocol.statelessprotocol.transportprotocol.list_ttlauth.prm, auth.as_metadata, auth.cimdauth.secret_in_urltools.descriptionstools.description_lengthtools.schemastools.annotationstools.directory_hintstools.token_costtools.api_dumptools.hidden_texttools.poisoningstability.changesstability.rug_pullstability.new_linksdeps.known_vulns, deps.mcp_sdk_version, deps.resolvableextract_document_textchangeddescription, output schemano new versionExtract 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 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 versionget_smartocr_statuschangeddescription, input schema, output schemameaning changedCheck 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).
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_jobaddedRetrieve 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_jobaddedCreate 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_batchaddedExtract 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_textaddedExtract 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 changedExtract 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.
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 changedExtract 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).
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.
+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.
| remote | auth | reachable | uptime 30d | p50 | p95 | protocol | last ok |
|---|---|---|---|---|---|---|---|
https://api.smartocr.dev/mcp streamable-http | none | yes | 97% | 495 ms | 1149 ms | 2025-03-26 | 2026-11-29 |
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. |
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. |
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. |
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. |
get_document_jobread-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 balance (`get_smartocr_status`). |
get_smartocr_statusread-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`). |
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. |
Schemas: list_tools.
extract-bank-statement1 argument | Extract all transactions (Date, Description, Debit, Credit, Balance) from a bank or credit card statement PDF. |
extract-invoice-to-table1 argument | Extract all line items, vendor details, and totals from an invoice PDF or image. |
smartocr://docs/overviewtext/markdown | Overview of Smart OCR endpoints, pricing, supported document formats, and multi-engine OCR routing. |
Definitions only, never their content. Full lists: prompts, resources.
1 other active names share this repository: io.github.Saneth98/smart-ocr-pdf-invoice-receipt-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."
}