Tools,

MarkItDown MCP server: reads Office files, not scans

0 of 1,955

words from a 10-page scan, and no error

Read scans over MCP instead

Typed files: every word. Scans: none.

markitdown-mcp 0.0.1a8, words found of 1,955
File Words found Structure
Word 1,955 Kept
PowerPoint 1,955 List lost
Excel 1,955 One table
HTML 1,955 Kept
EPUB 1,955 Kept
ZIP of 4 files 1,955 Kept
Typed PDF 1,955 None to keep
Scanned PDF 0 Empty, no error
JPG of a page 0 of 202 Image size only
PNG screenshot 0 of 147 Image size only
Scan after OCRmyPDF 1,873 Fake tables

Kept means every heading, table row and list item came out as Markdown.

Office files keep their structure, mostly

A scan returns empty text, not an error

{"result": ""}

That is the result for a 10-page scanned book, with isError false. The model gets no text and no warning.

Free fix: run OCRmyPDF first

OCRmyPDF adds a text layer on your own computer. Then markitdown-mcp reads it.

ocrmypdf --jobs 2 scan.pdf scan-ocr.pdf

Or add our Actor as an MCP tool

Our Apify Actor, PDF to Markdown OCR, reads scans and images. It takes file links, not local paths. Add this server URL to your MCP client, and it becomes a tool:

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

1,877 of 1,955 on the scan

198 of 202 on the JPG

143 of 147 on the PNG

It reads any file or URL asked for

The one tool, convert_to_markdown, takes a file:, http:, https: or data: address. Two facts to know:

So text in a document can lead the model to ask for a private file or an internal page. Use it only with clients and documents you trust.

Set it up

The README says pip install markitdown-mcp. I used uv, which needs --prerelease=allow here: markitdown[all] asks for a beta Azure package.

uv venv
uv pip install --prerelease=allow \
  "markitdown-mcp==0.0.1a8" "markitdown[all]==0.1.9"
.venv/bin/markitdown-mcp

That runs it over stdio. With --http, it serves /mcp and /sse on 127.0.0.1, port 3001, with no login. Keep that host.

From the README, not run in a desktop app:

{
  "mcpServers": {
    "markitdown": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "markitdown-mcp:latest"
      ]
    }
  }
}

You build that image yourself from the repo's Dockerfile. With no -v mount, it reads URLs only.

Start time, memory, HTTP check
  • In a fresh install, the first start took 21.1 s while Python compiled it. Other starts took 2.4 to 3.1 s.
  • The server used 305 MB of memory at its peak, or 357.5 MB with the OCR plugin.
  • In HTTP mode on 127.0.0.1, a request with a foreign Host or Origin header was refused. On 0.0.0.0 it is off.

What I did not test

How I tested it
  • One text, 10 proofread book pages with 1,955 true words, made into a Word file, slides, a sheet, a typed PDF, HTML, an EPUB and a ZIP.
  • Word, slides, HTML and EPUB add a heading for each page, a 3-row table and a 5-item list.
  • The scan: the same 10 pages, one 300 dpi JPEG each, no text layer. The JPG is its first page. The PNG is a screenshot of a web page.
  • Score: true words found in order. Structure: Markdown headings, table rows and list items.
  • My own MCP client: JSON-RPC over stdin and stdout, Python standard library only, protocol version 2025-11-25.
  • The server ran in macOS sandbox-exec, with the network off and my home folder blocked. URL tests used a local web server only.
  • Our Actor: its page code, build 0.1.146, run on this Mac with 1 thread. Not an Apify run.
  • The OCRmyPDF copy came from an earlier test: OCRmyPDF 17.13.0 and Tesseract 5.5.4, with a sidecar text file too.
  • Versions: markitdown-mcp 0.0.1a8, markitdown 0.1.9, mcp 2.3.0.
  • Also Python 3.13.11, exiftool 13.44, macOS 26.6.
  • uv also picked other betas, such as lxml 7.0.0b1.
  • Scripts and results stay in our private repo, in research/bench/markitdown-mcp-2026-11-26/.
Sources

Questions people ask

Can markitdown-mcp read a scanned PDF?

No. On a 10-page scan it returned empty text, with no error. Run OCRmyPDF first, or use an MCP tool that does OCR, such as our Actor.

Does markitdown-mcp do OCR on images?

No. A JPG and a PNG gave only their image size. The OCR plugin needs an LLM client, and the MCP server never passes one.

Can markitdown-mcp read local files and URLs?

Yes. It reads any file your user account can read, and it fetches any http or https URL it is given, with no allow list. Use it only with clients you trust.