Skip to content
MCP server

Document to Markdown

Convert PDF, DOCX, XLSX and HTML into LLM-ready markdown with optional RAG chunks

Install
Pricing
Paid
Platforms
API, Web
Runs
Remotely
Version
1.0.0
Listing updated
2 days ago

About Document to Markdown

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

Built for pipelines that feed documents to models, this Apify actor detects the file type from the bytes rather than the URL and returns markdown with token counts. PDFs get page markers so answers can cite pages, and tables are rebuilt as GFM grids; DOCX and XLSX tables also survive. Chunking is optional, with each chunk carrying token count, character offsets, heading path and page.

The maker's October 2026 test on its own files reports 0.999 text F1 for one-column PDFs and 0.993 reading-order recall for two-column PDFs, compared with 0.841 for MarkItDown. Table cell placement scored 0.70, equal to Docling, though table-heavy PDFs run slower. The test used synthetic or selected files and the maker says conditions may differ.

Price is $0.001 per PDF page, other formats count one page per 3,000 characters, and failed, scanned-only or password-protected files are not charged. Up to 100 URLs or base64 files (about 9 MB) go in one call.

Install

Run in a terminal

claude mcp add --transport http document-to-markdown 'https://mcp.apify.com/?tools=catalyst-labs/document-to-markdown'

Add to Settings → Connectors → Add custom connector

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

{
  "servers": {
    "document-to-markdown": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=catalyst-labs/document-to-markdown"
    }
  }
}

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

{
  "mcpServers": {
    "document-to-markdown": {
      "serverUrl": "https://mcp.apify.com/?tools=catalyst-labs/document-to-markdown"
    }
  }
}

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

{
  "mcpServers": {
    "document-to-markdown": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=catalyst-labs/document-to-markdown"
    }
  }
}

What it does

Byte-based type detection
Identifies PDF, DOCX, XLSX, CSV and HTML from the file itself.
Tables as grids
PDF tables render as GFM grids; DOCX and XLSX tables are kept.
RAG chunking
Chunk size and overlap options with offsets, heading path and page.
Page markers
PDFs include page comments for citations.
Token counts
Reports tokens per document.
Per-file outcomes
Each row states ok, no_content, blocked, encrypted or too_large.

Good for

  • Prepare PDFs for a retrieval index
  • Convert a spreadsheet into markdown for a model
  • Cite page numbers from a report
  • Batch-convert up to 100 linked files

Pricing

Paid

$0.001 per PDF page on Apify; failed files not charged

Prices change. Check apify.com before you buy.

Document to Markdown FAQ

What does it cost?

$0.001 per PDF page, plus a start fee per batch run.

Are scanned PDFs supported?

Scanned-only files return NO_TEXT_LAYER and are not charged; OCR is needed.

How is output size limited?

maxChars defaults to 50,000 per document and pages can be selected.

How accurate is it?

The maker's own Oct 2026 tests report 0.70 table cell placement and 0.993 reading order on two-column PDFs.

Is Document to Markdown free?

No. Document to Markdown is a paid product.

How do I add Document to Markdown to Claude Code?

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

What are the best alternatives to Document to Markdown?

The closest alternatives to Document to Markdown are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Document to Markdown

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. 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
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. 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
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools