PDF MCP servers: which ones can read a scanned PDF

By default, on a scan:

3 of 6

returned blank text and no error

Our OCR Actor over MCP: $0.006 a scanned page

Runs on Apify's servers: files leave your computer.

Only 4 servers can OCR a scan

Words read of 399 on the scanned PDF
Server Default OCR on
docling-mcp 3.5.1 Error 397
pdf-mcp 3.8.0 0 392
mcp-pdf 2026.9.22 0 391
@sylphx/pdf-reader-mcp 8.5.16 390 390
markitdown-mcp 0.0.1a8 0 No OCR
@modelcontextprotocol/server-pdf 2.0.4, the official one Error No OCR

The official server-pdf needs a viewer

It is a PDF viewer for apps that can show one. With a plain MCP client, every text read failed after 8 seconds, typed PDF too:

ERROR: Viewer never connected for viewUUID 156ca8c4-fd7d-4c92-b1b3-011b1da4c8e9 (no poll within 8s).

In a viewer, the text comes from PDF.js, which has no OCR. It read 0 words of the scan.

Which PDF MCP server to pick

  1. Scans, free and local: docling-mcp in local mode read 397 of 399. Its first run downloads over 500 MB of models, on top of the install.
  2. Lighter: pdf-mcp with ocr: true read 392. Install Tesseract first.
  3. Typed PDFs only: pdf-mcp, mcp-pdf, markitdown-mcp or pdf-reader-mcp. For a scan, run OCRmyPDF first: then they read 391 or 392.

A config for docling-mcp, local mode

Add this to your MCP client's mcpServers config, then quit and restart the client:

{
  "mcpServers": {
    "docling": {
      "command": "uvx",
      "args": [
        "--from", "docling-mcp[local]",
        "docling-mcp-server",
        "--transport", "stdio"
      ],
      "env": {
        "DOCLING_MCP_CONVERSION_MODE":
          "local"
      }
    }
  }
}

Put together from the docling-mcp README. I ran the same server and setting from my own client, not from this file.

The fine print on each server

Our Actor, as one MCP tool

Add this server URL to your client. The Actor becomes one tool, and Apify adds 4 helper tools for runs and results. Text layers are read free, and scanned pages get OCR.

https://mcp.apify.com?tools=brasspage/pdf-ocr-to-markdown

What I did not test

How I tested it
  • Three PDFs of the same 2 proofread book pages, 399 true words: the scan, a typed PDF of the true text, and the scan after OCRmyPDF.
  • Score: true words found in order, page by page. A JSON reply is scored on its text field.
  • Each server in its own folder, installed with no install scripts, run alone under macOS sandbox-exec with the network off and my home folder blocked. Only docling's first run had the network.
  • My own MCP client: JSON-RPC over stdin and stdout, Python standard library only. All 6 answered protocol version 2025-11-25.
  • For scale, pdftotext read 399 words of the typed PDF, 0 of the scan, and 381 after OCRmyPDF.
  • Versions: Tesseract 5.5.4, OCRmyPDF 17.13.0, docling-slim 2.152.0, Node 22.22.2, Python 3.13.11, macOS 26.6.
  • Scripts and results stay in our private repo, in research/bench/pdf-mcp-server-2026-11-24/.
Sources

Questions people ask

Can an MCP server read a scanned PDF?

Only with OCR. On one scan, docling-mcp in local mode read 397 of 399 words, pdf-mcp with ocr: true 392, mcp-pdf's ocr_pdf tool 391, and pdf-reader-mcp 390 with Tesseract installed. markitdown-mcp and server-pdf have no OCR.

Why does my PDF MCP server return empty text?

The PDF is likely a scan: page images with no text layer. markitdown-mcp, mcp-pdf's extract_text and pdf-mcp's default read all gave blank text with no error. Turn OCR on, or run OCRmyPDF first.

Does the official PDF MCP server do OCR?

No. @modelcontextprotocol/server-pdf is a viewer. Its text comes from PDF.js in the viewer, which read 0 words of the scan. With no viewer, its text read failed after 8 seconds, even on a typed PDF.

Is there a free, local PDF MCP server?

All 6 here are open source and need no API key or account. docling-mcp downloads its models once, then reads offline. pdf-mcp, mcp-pdf and pdf-reader-mcp use the Tesseract you install.

Two ways to skip the work

Run it yourself. Our Apify Actor turns scanned PDFs and images into Markdown, in the cloud.

Try the Actor

Or send us the scan. Tack, our AI, does the job for $29, up to 50 pages. First page free.

Get one page free