Doc.cheap – passport and ID OCR logo

Doc.cheap – passport and ID OCR

Extracts passport and ID data, MRZ results, and document history through six MCP tools.

Install Doc.cheap – passport and ID OCR

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "doc-cheap-passport-and-id-ocr": {
      "command": "npx",
      "args": [
        "-y",
        "@doc-cheap/mcp"
      ]
    }
  }
}

Settings β†’ Developer β†’ Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Hosted endpointLive Β· 7h agoLive Remote EndpointOur automated health check connected to this remote MCP endpoint successfully.Last checked 7h ago Β· Nov 13, 2026, 17:30 UTC

Clients with native remote MCP support can connect directly to this URL.

Remote endpoint
https://mcp.doc.cheap/mcp

Install not yet sandbox-testedβ€” the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

doc.cheap – passport and ID OCR connects MCP clients to the doc.cheap API for reading passports, national ID cards, and driver's licences from images. Its six tools cover OCR, credit usage, documentation search, stored-scan listing, result retrieval, and permanent deletion. Use it when an agent needs structured identity-document fields, MRZ checks, expiry information, or controlled scan history. It runs locally over stdio with npx or remotely through the hosted Streamable HTTP endpoint.

Use cases

  • Extract printed identity fields into structured records
  • Check passport and ID MRZ data
  • Verify document numbers, names, and expiry dates
  • Review and delete retained scan results

Key features

  • Passport, ID card, and driver's licence OCR
  • Structured fields with confidence scores
  • MRZ validation and raw MRZ lines
  • Offline search of bundled API documentation
  • Paginated scan history and result retrieval
  • Permanent stored-scan deletion

Tools6

What Doc.cheap – passport and ID OCR lets your agent do. Expand a tool for its parameters.

Verified live~2.4k tokens of context

Security & health

What it can reach and how reliably it runs β€” from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

What it can do

From the 6 tools this server returned when we ran it.

Can delete or modify data Β· 3Handles credentials Β· 1Makes network requests Β· 2Read-only tools Β· 3

Observed 2026-11-13 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5h ago via OSV.dev Β· @doc-cheap/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

npm downloads955Package downloads in the last 30 days.
Last commit9d agoMost recent push to the default branch.
Tools exposed6Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Doc.cheap – passport and ID OCR works

What doc.cheap – passport and ID OCR does

Passport, national ID card, and driver's licence images can be submitted for OCR through the scan_document tool. The result is structured JSON containing document metadata, holder details, printed fields with individual confidence values, MRZ lines and validation status, image data, quality, authenticity, and a short summary. Document and country values include the document's own three-letter ICAO codes, with additional country details.

The server is a thin MCP client for the doc.cheap HTTP API and also includes a local copy of the doc.cheap API documentation. It does not keep an independent data store. Recognised documents cost one credit, priced at $0.01; unreadable images, empty frames, and unsupported documents are not charged.

How it works

Run the package locally with npx -y @doc-cheap/mcp, or connect an MCP client to https://mcp.doc.cheap/mcp over Streamable HTTP. Local scans can use image_base64, image_url, or image_path; the hosted endpoint accepts image_base64 and public HTTPS image_url, but cannot access files on the client machine.

A scan can include an expected country, portrait-return preference, retention period, caller reference, and idempotency key. Reusing an idempotency key returns the original result instead of creating and charging another recognition request. The public sandbox key works without configuration and provides limited free usage; a registered account provides monthly free credits.

Setup and configuration

For a local process, set DOC_CHEAP_API_KEY to a live API key when account billing, usage, and stored scans are needed. Leaving it unset uses the public sandbox key. The package can be configured in Claude Desktop, Claude Code, Cursor, VS Code, Gemini CLI, Windsurf, and other MCP clients that support stdio. The hosted endpoint accepts a key through X-Doc-Cheap-Api-Key or a Bearer authorization header.

Tools and capabilities

  • scan_document recognises supported identity documents and returns structured OCR, MRZ, quality, authenticity, and document data.
  • check_balance reports free and paid credits, spending, and scan-status counters.
  • search_docs searches the bundled API documentation offline, including fields, options, errors, retention, MRZ rules, and pricing.
  • list_scans paginates through stored scans using a cursor.
  • get_scan retrieves the full result for a stored scan without rerunning recognition or charging a credit.
  • delete_scan permanently removes a stored scan, its history row, and thumbnail.

Limitations and notes

Use test images only; do not submit real identity documents. Stored scans are available only for live keys with a non-zero retention period and only until that period ends. A scan with retain_hours set to zero is not stored. Retrieved scans do not include image crops, and their quality is reported as not_checked.

Sandbox keys cannot provide account balances or read back stored scans. The public sandbox is rate-limited to 10 requests per address per hour and 10 recognised documents per address in total. Deleting a scan cannot be undone and does not refund its credit.

Reviews

No reviews yet β€” be the first to share how it worked for you.

Frequently Asked Questions about Doc.cheap – passport and ID OCR

doc.cheap – passport and ID OCR is an MCP server that connects AI clients to the doc.cheap HTTP API and bundled documentation. Its main tools scan passports and IDs, check credits, search API docs, list and retrieve stored scans, and delete scans. It returns structured OCR, MRZ, quality, and authenticity data.

Install it locally with `npx -y @doc-cheap/mcp` and add that command to your MCP client's configuration. You can also connect directly to `https://mcp.doc.cheap/mcp` over Streamable HTTP. Set `DOC_CHEAP_API_KEY` for a live account, or omit it to use the public sandbox key.

The `scan_document` tool accepts `image_base64`, `image_url`, or `image_path` when running locally. URLs must use HTTPS and be publicly accessible. The hosted server accepts base64 data and public HTTPS URLs, but cannot read files from the local machine.

A recognised document costs one credit, or $0.01. Unreadable images, empty frames, and unsupported document types are not charged. The `meta.billed` result indicates whether a scan used a credit, while `check_balance` reports account usage and remaining credits.

Yes. Cursor can run the local stdio package with `npx -y @doc-cheap/mcp` or connect to the hosted endpoint at `https://mcp.doc.cheap/mcp`. A live API key can be supplied through the Cursor MCP configuration.

Related MCP servers

Add a badge to your READMEShow it’s listed β€” live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDoc.cheap – passport and ID OCR AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/doc-cheap-passport-and-id-ocr?style=directory)](https://allmcps.com/mcp/doc-cheap-passport-and-id-ocr)
HTML Embed
<a href="https://allmcps.com/mcp/doc-cheap-passport-and-id-ocr"><img src="https://allmcps.com/api/badge/doc-cheap-passport-and-id-ocr?style=directory" alt="Doc.cheap – passport and ID OCR on AllMCPs" /></a>