# PDF to Text & Markdown with OCR

> PDF to Text & Markdown with OCR is a freemium MCP server for files and documents. Converts PDFs, Office files, EPUB and scans into clean Markdown or text for LLM pipelines. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, Web
- **Website:** https://apify.com/poised_beardlichen/pdf-to-text-markdown-ocr
- **Repository:** https://github.com/monietools/monie-tools/tree/HEAD/servers/pdf-to-text-markdown-ocr
- **MCP Registry name:** io.github.monietools/pdf-to-text-markdown-ocr
- **Categories:** files and documents, AI models and LLM tooling
- **Listing updated:** 2026-11-15

## About

Point it at document URLs and it returns text and Markdown per document or per page, with page counts, OCR statistics and metadata such as title, author and creation date. Pages with a real text layer are read directly, and only scanned or garbled pages go through OCR in 27 languages, so you pay the OCR rate only where needed.

Besides PDF it reads DOCX, PPTX (with slide markers), XLSX (as Markdown tables, one section per sheet), EPUB, HTML and images, using the open-source markitdown library for the Office formats. Cleaning steps keep reading order on multi-column pages, strip repeating headers, footers and page numbers, join hyphenated words and turn dot leaders into tables of contents. Per-page output helps chunking and citing page numbers in RAG.

Billing is capped at 30 text pages per document, so a 500-page digital book costs the same as a 30-page report.

## Features

- **Automatic OCR:** Reads scanned or image-only pages and pages with garbled fonts.
- **Office and e-book formats:** Converts DOCX, PPTX, XLSX, EPUB and HTML as well as PDF.
- **Per-page output:** Returns one item per page for chunking and page citations.
- **Text clean-up:** Removes repeated headers, footers and page numbers.
- **Document metadata:** Reports title, author, dates, PDF version and encryption.
- **Cost capped pages:** Text pages are billed for at most 30 per document.

## Good for

- Prepare documents for a vector database or RAG pipeline
- Digitise scanned contracts, forms and archives
- Extract text from reports for indexing
- Convert slide decks and spreadsheets to Markdown

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http pdf-to-text-markdown-ocr 'https://mcp.apify.com/?tools=poised_beardlichen/pdf-to-text-markdown-ocr'
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.apify.com/?tools=poised_beardlichen/pdf-to-text-markdown-ocr
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "pdf-to-text-markdown-ocr": {
      "url": "https://mcp.apify.com/?tools=poised_beardlichen/pdf-to-text-markdown-ocr"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "pdf-to-text-markdown-ocr": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=poised_beardlichen/pdf-to-text-markdown-ocr"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "pdf-to-text-markdown-ocr": {
      "serverUrl": "https://mcp.apify.com/?tools=poised_beardlichen/pdf-to-text-markdown-ocr"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "pdf-to-text-markdown-ocr": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=poised_beardlichen/pdf-to-text-markdown-ocr"
    }
  }
}
```

## FAQ

### What does it cost?

$0.003 per document, $0.0003 per text page (first 30 only) and $0.002 per OCR page.

### Are failed documents charged?

No. Broken links, web pages, unsupported or oversized files cost nothing.

### Can it OCR in other languages?

Yes, 27 OCR languages; the page suggests 1 to 3 matching the document for best results.

### How do I use it from Claude?

Add https://mcp.apify.com?tools=poised_beardlichen/pdf-to-text-markdown-ocr as a custom connector and sign in to Apify.

### Is PDF to Text & Markdown with OCR free?

PDF to Text & Markdown with OCR has a free plan, with paid plans for more usage or features.

### How do I add PDF to Text & Markdown with OCR to Claude Code?

Run this command in your terminal: claude mcp add --transport http pdf-to-text-markdown-ocr 'https://mcp.apify.com/?tools=poised_beardlichen/pdf-to-text-markdown-ocr'

### What are the best alternatives to PDF to Text & Markdown with OCR?

The closest alternatives to PDF to Text & Markdown with OCR are Claude Code Ultimate Guide, ASTra, CARTESIAN ECU, Invoices and SigPen.

## Alternatives

- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [ASTra](https://ai-powered.com/mcp/astra): ASTra is a freemium MCP server for files and documents.
- [CARTESIAN ECU](https://ai-powered.com/mcp/cartesian-ecu): CARTESIAN ECU is a paid MCP server for files and documents.
- [Invoices](https://ai-powered.com/mcp/invoices): Invoices is a paid MCP server for files and documents.
- [SigPen](https://ai-powered.com/mcp/sigpen): SigPen is a freemium MCP server for files and documents.
- [ConvertAudioToText](https://ai-powered.com/mcp/convertaudiototext): ConvertAudioToText is a freemium MCP server for design and media.
- [signafAIde](https://ai-powered.com/mcp/signafaide): signafAIde is a freemium MCP server for security.
- [Toolkien](https://ai-powered.com/mcp/toolkien): Toolkien is an open-source MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/pdf-to-text-and-markdown-with-ocr
