Skip to content
MCP server

PDF to Text MCP: OCR, DOCX & RAG Chunks

Converts PDF and Word links to Markdown with OCR and RAG-ready chunks for AI agents

PDF to Text MCP: OCR, DOCX & RAG Chunks is a paid MCP server for files and documents. It runs as a hosted remote server, so there is nothing to install locally.

Pricing
Paid
Platforms
API, Web
Runs
Remotely
Version
1.0.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http pdf-docx-to-markdown-mcp 'https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown'

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "pdf-docx-to-markdown-mcp": {
      "type": "http",
      "url": "https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "pdf-docx-to-markdown-mcp": {
      "url": "https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "pdf-docx-to-markdown-mcp": {
      "type": "http",
      "url": "https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add pdf-docx-to-markdown-mcp --url 'https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown'

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.pdf-docx-to-markdown-mcp]
url = "https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown

Enter a Name (for example "PDF to Text MCP: OCR, DOCX & RAG Chunks"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

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

{
  "mcpServers": {
    "pdf-docx-to-markdown-mcp": {
      "type": "http",
      "url": "https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "pdf-docx-to-markdown-mcp": {
          "httpUrl": "https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http pdf-docx-to-markdown-mcp 'https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown'

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "pdf-docx-to-markdown-mcp": {
          "serverUrl": "https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "pdf-docx-to-markdown-mcp": {
          "url": "https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "pdf-docx-to-markdown-mcp": {
          "type": "streamableHttp",
          "url": "https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "pdf-docx-to-markdown-mcp": {
          "url": "https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "pdf-docx-to-markdown-mcp": {
          "url": "https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "pdf-docx-to-markdown-mcp": {
          "url": "https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "pdf-docx-to-markdown-mcp": {
          "url": "https://mcp.apify.com?tools=publicrecords/pdf-docx-to-markdown"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About PDF to Text MCP: OCR, DOCX & RAG Chunks

This hosted MCP server gives AI clients a way to pull text out of PDF and DOCX files hosted at public URLs. The tool calls run the publicrecords/pdf-docx-to-markdown Actor on the caller's own Apify account, so usage is billed through Apify rather than through the MCP endpoint itself.

Each document comes back as Markdown with headings, lists, tables and page markers, and the text is split into chunks that carry the heading path above them and character offsets. Scanned pages are read with Tesseract OCR inside the Actor, so no separate OCR or AI API is needed. Users can choose the OCR language and limit conversion to a page range.

The server suits developers building retrieval pipelines over reports, papers or contracts, and agents that need the body of a linked document as clean text. Password-protected files, non-PDF or DOCX links, and handwriting are not handled.

What it does

Markdown conversion
Turns PDF and Word files into Markdown with headings, lists, tables and page markers.
OCR for scanned pages
Reads pages without a text layer using Tesseract OCR in auto or forced mode.
RAG-ready chunking
Splits text by headings and sentences, with configurable chunk size and overlap.
Heading path metadata
Each chunk records the heading path above it for context in retrieval.
Page range selection
Convert only chosen pages, such as 1-5,8 or 10-last.
Multi-language OCR
Choose OCR language for non-English scans from a set of supported languages.

Good for

  • Building a RAG search index over a folder of PDF reports
  • Letting an AI agent read the text of a contract or paper from a link
  • Converting scanned archive documents to searchable Markdown in bulk
  • Preparing document chunks for a vector database or LLM prompt

Pricing

Paid

Pay per event from $0.004 per converted document plus OCR and start fees; Apify plans from $0 free tier.

Prices change. Check apify.com before you buy.

PDF to Text MCP: OCR, DOCX & RAG Chunks FAQ

Does PDF to Text MCP: OCR, DOCX & RAG Chunks work on scanned PDFs?

Yes. With OCR set to Auto, pages without a text layer are read with OCR.

Can I convert only some pages?

Yes, a page range such as 1-5,8 or 10-last can be set.

Why did a file produce no output?

The run status message and RUN_SUMMARY record name each skipped URL and the reason, such as a non-PDF/DOCX file, HTTP error or password protection.

Can an AI agent call PDF to Text MCP: OCR, DOCX & RAG Chunks?

Yes, through the Apify API or Apify's MCP server with a list of URLs in documentUrls.

Is PDF to Text MCP: OCR, DOCX & RAG Chunks free?

No. PDF to Text MCP: OCR, DOCX & RAG Chunks is a paid product.

How do I add PDF to Text MCP: OCR, DOCX & RAG Chunks to Claude Code?

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

What are the best alternatives to PDF to Text MCP: OCR, DOCX & RAG Chunks?

The closest alternatives to PDF to Text MCP: OCR, DOCX & RAG Chunks are PDF and Word to Markdown for RAG, PDF to Text & Markdown (OCR), PDF to Markdown & Document Parser, PDF Text Extractor and Doc To Markdown.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers