Image and PDF OCR MCP Server
Click 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., "@Image and PDF OCR MCP Server OCR this receipt photo and tell me the total: https://example.com/receipt.jpg"
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.
Image and PDF OCR MCP Server
An MCP server for the Mamba Labs Image and PDF OCR actor on Apify. Images and scanned PDFs to text.
What's Inside
Related MCP server: ReadPDFx - OCR PDF MCP Server
What it does
Takes image or PDF web addresses and returns one row per image or page with the OCR text, word and line counts, and Tesseract's mean confidence. PDF pages with a text layer are read from it.
All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.
Quick start
You need Node.js 18 or newer and an Apify account with an API token.
Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:
{
"mcpServers": {
"mamba-image-pdf-ocr": {
"command": "npx",
"args": [
"-y",
"@mambalabsdev/mcp-image-pdf-ocr"
],
"env": {
"APIFY_TOKEN": "your-apify-token"
}
}
}
}Restart the client. The ocr_images_and_pdfs tool appears.
Prerequisites
Node.js 18 or newer.
An Apify API token from console.apify.com/account/integrations, set as
APIFY_TOKEN. The server lists its tool without a token; a call needs one.
Example prompts
"Read the text from this scanned letter PDF."
"OCR these receipt photos and tell me which ones read poorly."
Tool
ocr_images_and_pdfs. One tool. Example arguments:
{
"urls": [
"https://raw.githubusercontent.com/tesseract-ocr/test/main/testing/phototest.tif"
],
"language": "eng",
"max_pages_per_file": 10
}Inputs
Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.
Input | Type | Required | Description |
| array | no | Web addresses of PNG, JPEG, GIF, WebP, BMP, or TIFF images, or PDF files, up to 30 MB each. The address must answer without a login. In Clay, put the column in a one item list. |
| string | no | Language of the text: eng (default), deu, fra, spa, nld, ita, or por. One language per run; run files in another language as a separate run. |
| string | no | auto (default) finds columns and blocks, which suits letters, articles, and scans. block reads the page as one block of text. sparse finds scattered text, which suits receipts, forms, signs, and screenshots. |
| number | no | Pages to read per PDF, from page 1, up to 100. Default 10. This caps the charge per file. |
| boolean | no | yes (default): a PDF page that already holds text is read from that text, charged as page-text, which is cheaper and exact. no: every page is read by OCR and charged as page-ocr. |
| number | no | Files to read in this run, up to 1,000. Default 100. |
| number | no | Optional. The run stops before a charge that would pass this amount. Summary rows are always returned. |
Pricing
Pay per event on Apify, billed to your Apify account. Prices in USD.
Event | Free plan | Bronze | Silver | Gold |
| $0.02 | $0.019 | $0.018 | $0.017 |
| $0.001 | $0.00095 | $0.0009 | $0.00085 |
| $0.005 | $0.005 | $0.005 | $0.005 |
Failed downloads, unsupported files, summaries, and refused input are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.
Full actor documentation
apify.com/mambalabs/image-pdf-ocr
License
MIT. See LICENSE.
Available Tools
1 toolocr_images_and_pdfsOCR images and PDFsARead-onlyIdempotent
Read text from images and scanned PDF pages by web address with open source OCR. Returns one row per image or page with the text, word and line counts, and a confidence score. PDF pages that already hold text are read from that text.
Inputs: urls, language, max_files, page_layout, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool in the set, there is no possibility of misselection or overlapping purpose. The single tool's function (OCR over images and PDF pages) is clearly stated and distinct.
The name ocr_images_and_pdfs is descriptive snake_case with a clear verb-like prefix and explicit resource targets. Consistency cannot really be assessed with a single tool, but the convention chosen is readable and predictable.
A single tool is thin for a server, even a narrowly scoped OCR one; a related variant (e.g. local file input or language/format options) would round out the surface. It is at least well-matched to the narrow stated purpose rather than bloated.
The domain is OCR over images and PDFs, and the only input channel is a web address, so local files, batch directories, language selection, and output format choices are unaddressed. For URL-based OCR the core read path is covered, but there are notable gaps agents may hit.
Maintenance
Related MCP Connectors
OCR scanned PDFs and images to text, one row per page, 9 languages. Runs on Apify.
Text from PDF links, OCR for scanned pages. One flat row per URL, never null. Billed on success.
OCR text from images and scanned PDFs; pay-per-event via your Apify account.
Read printed words from receipts, forms and book pages, then export them as JSON, CSV or Excel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive PDF processing including text extraction, image extraction, and OCR capabilities for reading text within images across multiple languages.13MIT
- AlicenseNot gradedqualityDmaintenanceProvides intelligent OCR and PDF processing capabilities that automatically detect whether PDFs contain digital text or scanned images and apply appropriate extraction methods. Supports text extraction, OCR processing, structure analysis, and batch operations.MIT
- FlicenseNot gradedqualityDmaintenanceEnables OCR on images and PDFs, including full-page OCR, region OCR by description or bounding box, and caching with summary capabilities.-
- FlicenseNot gradedqualityDmaintenanceEnables extracting text, structure, and image data from unstructured documents (PDF, DOCX, PPTX, SVG, PNG, JPG) and scanning folder trees.-