Skip to content
MCP server

PDF & Office to Markdown for RAG

Converts PDFs, scans and Office files to Markdown with real tables and page-aware chunks

Install
Pricing
Paid
Platforms
API, Web
Runs
Remotely
Version
0.1.1
Listing updated
3 days ago

About PDF & Office to Markdown for RAG

PDF & Office to Markdown for RAG is a paid MCP server for files and documents. It runs as a hosted remote server, so there is nothing to install locally.

Tables are the focus. They come out as Markdown, CSV and a cell array rather than jumbled lines, and tables whose ruling only separates groups of rows are split back into one row per record. Two- and three-column layouts are read in the right order, repeated headers, footers and page numbers are removed, and paragraphs broken across columns or pages are rejoined.

Chunks follow section boundaries, carry a page range and section path such as Introduction > Method, and repeat the header row when a table has to be split. OCR runs only on pages without a usable text layer, with Spanish and English by default and Portuguese, French, German and Italian available, so text pages stay fast at about 0.2 seconds each. Output can be one item per document, per chunk or per page.

There is no LLM inside: processing uses open-source engines such as pdfplumber, pypdfium2, Tesseract and python-docx inside the Apify container, so documents are not sent to a third-party AI service. Inputs are public URLs or an Apify storage you select, up to 50 MB each, for PDF, PNG, JPG, WEBP, TIFF, BMP, DOCX, XLSX, PPTX (with speaker notes), TXT, MD and CSV. Empty input runs an uncharged demo.

Install

Run in a terminal

claude mcp add --transport http documents-to-markdown-rag 'https://mcp.apify.com/?tools=lif_manager/documents-to-markdown-rag'

Add to Settings → Connectors → Add custom connector

https://mcp.apify.com/?tools=lif_manager/documents-to-markdown-rag
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "documents-to-markdown-rag": {
      "url": "https://mcp.apify.com/?tools=lif_manager/documents-to-markdown-rag"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "documents-to-markdown-rag": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=lif_manager/documents-to-markdown-rag"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "documents-to-markdown-rag": {
      "serverUrl": "https://mcp.apify.com/?tools=lif_manager/documents-to-markdown-rag"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "documents-to-markdown-rag": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=lif_manager/documents-to-markdown-rag"
    }
  }
}

What it does

Real table output
Tables as Markdown, CSV and cell arrays.
Reading order
Multi-column pages are read in the correct sequence.
Clean pages
Repeated headers, footers and page numbers are removed.
Section-aware chunks
Chunks carry page range and section path.
Selective OCR
Only pages without a text layer are scanned.
No LLM involved
Deterministic open-source engines run inside the container.
Many formats
PDF, images, DOCX, XLSX, PPTX, TXT, MD and CSV.

Good for

  • Prepare a report archive for a vector index
  • Extract a financial table as CSV from a PDF
  • Convert a slide deck including speaker notes
  • Make scanned government gazettes searchable
  • Feed policy documents to an agent with page citations

Pricing

Paid

Pay per use on Apify: from $1 per 1,000 pages ($0.003 per OCR page); empty-input demo free

Prices change. Check apify.com before you buy.

PDF & Office to Markdown for RAG FAQ

What does it cost?

Apify lists from $1 per 1,000 pages; the vendor README gives $0.001 per page and $0.003 per OCR page.

Are my documents sent to an AI service?

No. The page says no third-party AI API is used and processing is deterministic.

What is the file size limit?

Up to 50 MB each.

Which OCR languages are available?

Spanish and English by default, plus Portuguese, French, German and Italian.

How do I call it from an agent?

Use the Apify API or MCP with a documents list of URLs.

Is PDF & Office to Markdown for RAG free?

No. PDF & Office to Markdown for RAG is a paid product.

How do I add PDF & Office to Markdown for RAG to Claude Code?

Run this command in your terminal: claude mcp add --transport http documents-to-markdown-rag 'https://mcp.apify.com/?tools=lif_manager/documents-to-markdown-rag'

What are the best alternatives to PDF & Office to Markdown for RAG?

The closest alternatives to PDF & Office to Markdown for RAG are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and note1.

Alternatives to PDF & Office to Markdown for RAG

  1. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  2. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  3. MCP server for searching the Claude Code Ultimate Guide from any MCP client

    Runs locally
    • Open source
    • 6.5K GitHub stars
    • AI models and LLM tooling
  4. Local-first long-term memory layer for AI agents, served over MCP

    Not checked yet
    • 5 tools
    • Remote
    • Open source
    • 1.3K GitHub stars
    • Knowledge and memory
  5. note1

    MCP server

    MCP server giving AI assistants search and summaries across your note1 meetings

    • 4 tools
    • Remote
    • Free trial
    • 1 GitHub star
    • Productivity
  6. ASTra

    MCP server

    Let agents read, edit, validate and undo Word .docx files with exact operations

    Runs locally
    • 5 tools
    • Freemium
    • Files and documents