FastOCR MCP server
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@FastOCR MCP serverOCR ~/Downloads/scanned-contract.pdf and summarize the termination clause"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
FastOCR MCP server
OCR any scanned PDF or image from Claude, Cursor and other MCP clients, in 100+ languages. fastocr.org · Docs · Get an API key
An MCP server for the FastOCR Document OCR API. It lets Claude Desktop, Claude Code, Cursor and other MCP clients OCR a local scanned PDF or image and get back its text or a searchable PDF.
PDF files up to 1 GiB, and PNG, JPG, JPEG, GIF, WebP and BMP images up to 20 MiB; 100+ languages.
Built on the official
fastocr-sdkand the official MCP Python SDK. Runs locally over stdio; your files go only to the FastOCR API.

A real scanned page and the first lines of the text FastOCR returned for it, unedited.
API reference and guides: https://fastocr.org/docs
Get an API key
Any signed-in FastOCR account can create an API key and start right away.
Sign in and create an API key in the developer console. You accept the API terms with your first key.
Set the key as
FASTOCR_API_KEYin your MCP client config (see below).When you need more than the free pages, buy a prepaid API page pack by card in the developer console.
Each account gets 50 free document pages per month.
Related MCP server: flexorch-mcp
Install
With uv there is nothing to install; MCP clients run it with
uvx fastocr-mcp. Or install it with pip and run fastocr-mcp:
pip install fastocr-mcpPython 3.10 or newer. The server reads the key from FASTOCR_API_KEY.
Configure your MCP client
Claude Code
claude mcp add fastocr -e FASTOCR_API_KEY=your_api_key -- uvx fastocr-mcpClaude Desktop
Add this to claude_desktop_config.json (Settings > Developer > Edit Config), then restart
Claude Desktop:
{
"mcpServers": {
"fastocr": {
"command": "uvx",
"args": ["fastocr-mcp"],
"env": { "FASTOCR_API_KEY": "your_api_key" }
}
}
}Cursor
Add the same block to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": {
"fastocr": {
"command": "uvx",
"args": ["fastocr-mcp"],
"env": { "FASTOCR_API_KEY": "your_api_key" }
}
}
}If you installed with pip, use "command": "fastocr-mcp" and "args": [].
Tools
Tool | What it does |
| Uploads a local PDF or image, runs OCR and waits up to 45 seconds; a larger document returns its id for |
| The same tool as |
| Status and page counts of a document; with |
| The most recent documents in the account, newest first. |
| Deletes a document and its stored files on FastOCR. Local files are not touched. |
Try asking: "OCR ~/Downloads/scanned-contract.pdf and summarize the termination clause", "Read the text in /Users/me/Desktop/receipt.jpg" or "Make a searchable copy of /Users/me/archive/1998-letters.pdf".
Every processed page uses one page of the account's API allowance; an image is one page. A document that runs out
of pages fails with buy_pages; the tool says so and links to the
developer console.
Errors
Tool errors are written for the agent to act on: a rejected key, an account out of pages
(buy_pages), too many documents processing at once (concurrency_limit), a missing file, or an
unsupported file type. Each message says what to do next. Error codes are listed in the
API docs.
Configuration
Variable | Purpose |
| Required. Your API key. |
| Optional. Overrides |
Links
Docs: https://fastocr.org/docs
API keys and page packs: https://fastocr.org/developers/keys
Python SDK: https://github.com/fastocr-org/fastocr-python
Support: support@fastocr.org
License
MIT
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Document processing over MCP: merge, split and compress PDFs, run OCR, extract document text.
Document conversion and OCR for AI agents: PDF, Office docs, images to text.
Document conversion MCP server: PDF to Markdown, image OCR, spreadsheet parsing.
Related MCP Servers
- FlicenseAqualityDmaintenanceExtracts text content from PDFs and images using Mistral's OCR API, enabling OCR capabilities in MCP-compatible clients like Cursor and Claude Desktop.18-

flexorch-mcpofficial
AlicenseAqualityAmaintenanceEnables Claude and other MCP-compatible agents to process documents, extract structured data, detect PII, and export LLM-ready datasets through natural language tool calls.856 PyPI1MIT- AlicenseNot gradedqualityCmaintenanceEnables document text recognition and extraction from images and PDFs using Claude Vision, including support for scanned documents and structured output, without requiring local OCR engines.MIT
- AlicenseAqualityCmaintenanceEnables MCP clients like Claude Code to extract text from images, screenshots, and scanned documents via PaddleOCR PP-OCRv6.1BSD 3-Clause