# PDF to Text for LLMs

> PDF to Text for LLMs is a paid MCP server for files and documents. Extracts text from public PDF URLs page by page as JSON for LLMs and RAG pipelines. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, Web
- **Website:** https://apify.com/henrycrawl/pdf-to-text
- **Repository:** https://github.com/tidyware-app/pdf-to-text-mcp
- **MCP Registry name:** io.github.tidyware-app/pdf-to-text-mcp
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents), [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm), [document processing](https://ai-powered.com/categories/document-processing)
- **Listing updated:** 2026-12-01

## About

Hand it a list of links to public PDF files and it returns the words inside each document as structured JSON. Every file comes back as full text plus a separate entry for each page, so a model can cite the page a passage came from.

Each result also carries the document's embedded metadata such as title, author and creation date, along with page and word counts. Extraction runs over plain HTTP without a browser, and the work is performed by the Apify actor henrycrawl/pdf-to-text, which the MCP endpoint calls on your behalf.

It suits developers building retrieval pipelines and agents that need to read reports, forms or papers at scale. Scanned PDFs without a text layer are not processed, since OCR is not included.

## Features

- **Page-level text output:** Each document is returned in full and also split into per-page entries with word counts.
- **Document metadata extraction:** Title, author, subject, producer and creation or modification dates are included when the file contains them.
- **Free error rows:** Broken links, non-PDF files, encrypted files and scans with no text layer return coded error rows that are not billed.
- **Size and page limits:** Files can be capped by size and by page count, and output can be trimmed by turning off the per-page list.
- **MCP endpoint access:** An MCP server URL lets agents call the extractor directly from clients that support streamable HTTP.

## Good for

- Feeding PDF reports into a RAG index with page references for citations
- Letting an AI agent read public forms or filings given as links
- Batch converting research papers into text for downstream language model analysis
- Counting words and pages across a set of public documents

## Install

### Claude Code: Add with the CLI (Terminal)

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

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

### Claude Code: Or share it with your project (.mcp.json)

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

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

```text
https://mcp.apify.com?tools=henrycrawl/pdf-to-text
```

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.

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

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

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

### VS Code (~/.copilot/mcp-config.json)

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

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

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.apify.com?tools=henrycrawl/pdf-to-text
```

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

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add pdf-to-text-mcp --url 'https://mcp.apify.com?tools=henrycrawl/pdf-to-text'
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.pdf-to-text-mcp]
url = "https://mcp.apify.com?tools=henrycrawl/pdf-to-text"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "pdf-to-text-mcp": {
      "httpUrl": "https://mcp.apify.com?tools=henrycrawl/pdf-to-text"
    }
  }
}
```

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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

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

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "pdf-to-text-mcp": {
      "url": "https://mcp.apify.com?tools=henrycrawl/pdf-to-text",
      "transport": "http"
    }
  }
}
```

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

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "pdf-to-text-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.apify.com?tools=henrycrawl/pdf-to-text"
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "pdf-to-text-mcp": {
      "url": "https://mcp.apify.com?tools=henrycrawl/pdf-to-text"
    }
  }
}
```

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

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

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

### Kiro (~/.kiro/settings/mcp.json)

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

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

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

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

Enter a Name (for example "PDF to Text for LLMs"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for a bearer token. Add it under HTTP headers as Authorization: Bearer <your token>.

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

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

## FAQ

### How much does PDF to Text for LLMs cost?

Extraction is billed at $1.50 per 1,000 PDFs returned with text, with no start fee. Failed files are not charged.

### Does PDF to Text for LLMs read scanned PDFs?

No. Only PDFs with a text layer are supported, and scanned or image-only files return a NO_TEXT error row without OCR.

### Can PDF to Text for LLMs access PDFs behind a login or paywall?

No. It only fetches publicly reachable links and does not log in or get past paywalls or bot checks.

### What is the file size limit?

The default limit is 50 MB per file and can be raised to 100 MB. Larger files return a TOO_LARGE row.

### How do I add PDF to Text for LLMs to Claude Code?

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

### What are the best alternatives to PDF to Text for LLMs?

The closest alternatives to PDF to Text for LLMs are PDF Text Extractor, PDF Text Extractor for AI Agents, Web Page to Markdown MCP: URL to LLM-Ready Text, PDF to Text MCP: OCR, DOCX & RAG Chunks and lintlab PDF To Markdown.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Status: checked automatically by AIPoweredBot on 4 December 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [PDF Text Extractor](https://ai-powered.com/mcp/pdf-text-extractor-2): PDF Text Extractor is a paid MCP server for files and documents.
- [PDF Text Extractor for AI Agents](https://ai-powered.com/mcp/pdf-text-extractor-for-ai-agents): PDF Text Extractor for AI Agents is a paid MCP server for files and documents.
- [Web Page to Markdown MCP: URL to LLM-Ready Text](https://ai-powered.com/mcp/web-page-to-markdown-mcp-url-to-llm-ready-text): Web Page to Markdown MCP: URL to LLM-Ready Text is a paid MCP server for files and documents.
- [PDF to Text MCP: OCR, DOCX & RAG Chunks](https://ai-powered.com/mcp/pdf-to-text-mcp-ocr-docx-and-rag-chunks): PDF to Text MCP: OCR, DOCX & RAG Chunks is a paid MCP server for files and documents.
- [lintlab PDF To Markdown](https://ai-powered.com/mcp/lintlab-pdf-to-markdown): lintlab PDF To Markdown is a paid MCP server for files and documents.
- [PDF Text Extractor (Ctrio Lab)](https://ai-powered.com/mcp/pdf-text-extractor-ctrio-lab): PDF Text Extractor (Ctrio Lab) is a paid MCP server for files and documents.
- [PDF Text Extractor](https://ai-powered.com/mcp/pdf-text-extractor): PDF Text Extractor is a paid MCP server for files and documents.
- [PDF to Markdown & Text with OCR by Signalloom (via Apify MCP)](https://ai-powered.com/mcp/pdf-to-markdown-and-text-with-ocr-by-signalloom-via-apify-mc): PDF to Markdown & Text with OCR by Signalloom (via Apify MCP) is a paid MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/pdf-to-text-for-llms
