Back to Browse

Image Pdf Ocr MCP Server

Developer ToolsLow Risk9.3MCP RegistryLocal
Free

Server data from the Official MCP Registry

Text from images and scanned PDF pages by URL, one row per page with confidence.

About

Text from images and scanned PDF pages by URL, one row per page with confidence.

Security Report

9.3
Low Risk9.3Low Risk

Valid MCP server (2 strong, 3 medium validity signals). 1 known CVE in dependencies (0 critical, 1 high severity) Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (197/197 approved).

7 files analyzed · 2 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

Shell Command Execution

Runs commands on your machine. Be cautious — only use if you trust this plugin.

What You'll Need

Set these up before or after installing:

Apify API token from https://console.apify.com/account/integrationsRequired

Environment variable: APIFY_TOKEN

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "mcp-image-pdf-ocr": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-image-pdf-ocr@1.0.2"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

Image and PDF OCR MCP Server

Glama score MCP Registry npm version npm downloads license

An MCP server for the Mamba Labs Image and PDF OCR actor on Apify. Images and scanned PDFs to text.

What's Inside

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

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.

InputTypeRequiredDescription
urlsarraynoWeb 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.
languagestringnoLanguage 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.
page_layoutstringnoauto (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.
max_pages_per_filenumbernoPages to read per PDF, from page 1, up to 100. Default 10. This caps the charge per file.
use_pdf_text_layerbooleannoyes (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.
max_filesnumbernoFiles to read in this run, up to 1,000. Default 100.
max_charge_usdnumbernoOptional. 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.

EventFree planBronzeSilverGold
page-ocr, one image or scanned page read by OCR$0.02$0.019$0.018$0.017
page-text, one PDF page read from its text layer$0.001$0.00095$0.0009$0.00085
apify-actor-start, per run start$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.

Reviews

No reviews yet

Be the first to review this server!