← Back to directory
P

PDF MCP Server

Community
Search PDFs with page-level evidence.
Category
Filesystem #4 of 37
Stars
★ 178 Very popular
Transport
stdio (local process)
Runtime
Python 3.11+
Credentials
No credential needed
License
MIT
Last commit
Tools
13
63FMRS · C

This server supports PDF search at document and folder scale, with page provenance, rendering, and specialized extraction tools for checking results. It suits PDF-heavy research and document lookup; results depend on document quality, and OCR on scanned pages requires an additional component.

Strongest · Documentation 16/20 Weakest · Reliability 10/20

Reliability
10/20
Security and permissions
12/20
Maintenance
11/20
Documentation
16/20
Setup experience
14/20
Why each score
Reliability 10/20
The README lists 13 tools, a typical call flow, and described cache and OCR behavior; it also identifies PDF-derived content as untrusted input. This makes the intended happy path plausible. However, the supplied material contains no tool implementation, dependency definitions, CI workflow, or committed tests, so the initialization handshake, tool-to-implementation match, error handling, and edge cases cannot be verified. The static-review calibration therefore limits the score to 12 or below.
Security and permissions 12/20
The README describes flagging hidden PDF text, configurable path and URL-host restrictions, and HTTP startup refusal when neither an authentication token nor a path allow list is configured. Its token example generates a random value and shows no real secret. Points are deducted because these protections are documented claims without implementation or threat-model details to verify, and the supplied material does not establish stdio path boundaries or whether cache clearing requires confirmation. The evidence provided does not show a red-line behavior.
Maintenance 11/20
The supplied material identifies an MIT license, a vulnerability reporting channel, version 3.8.1, and a PyPI installation path. Points are deducted because it provides no release dates, commit history, dependency-update evidence, security-response timeline details, or issue-handling record. Stars and open issue count do not add maintenance points.
Documentation 16/20
The README provides multiple installation paths, client guidance, a tool overview, workflow examples, links for configuration and HTTP deployment, and mentions runtime requirements, first-run downloads, OCR prerequisites, and some limitations. Points are deducted because full parameter and response details, configuration guidance, troubleshooting, and the threat model are in external documents not supplied here, so their contents cannot be reviewed.
Setup experience 14/20
The README gives Python 3.11–3.14 installation commands and a Claude Code configuration example, as well as a Claude Desktop graphical installation flow and operating-system and OCR requirements. Points are deducted because configuration for other clients depends on external documentation, desktop first-run setup downloads sizable components, scanned-page OCR requires Tesseract, and no actual installation or connection verification is provided.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesUses the network

Best for

  • PDF research and document Q&A where targeted retrieval and page provenance are useful.
  • Users working with multi-column, Japanese vertical-layout, or scanned PDFs.

Not for

  • Remote HTTP clients that need access to files on the user's own device; HTTP mode accesses server-side paths or URLs fetched by the server.
  • Users who expect the server to resolve ambiguous chart meaning or verify every extraction without human review.

Required permissions

  • Needs access to the PDFs or folders selected by the user and local storage for its cache directory.
  • OCR on scanned pages requires Tesseract; the Claude Desktop extension downloads components on first start.

Risks and side effects

  • Extracted PDF text is untrusted. The README says hidden text, including injected instructions, is flagged, but document content still needs careful handling.
  • OCR and text extraction can be wrong; render pages and compare them with the source when accuracy matters.
  • HTTP mode can access server-side paths or URLs; configure an auth token and allowed paths to avoid an open endpoint.

Setup

Before you start

Runtime:Python 3.11+

Other optional settings (3)
PDF_MCP_CACHE_DIR optional Sets the directory for storing the PDF cache; defaults to ~/.cache/pdf-mcp.
PDF_MCP_CACHE_TTL optional Sets cache expiry in hours; when unset, a document stays cached while its PDF exists.
PDF_MCP_CACHE_MAX_MB optional Sets the cache size limit in MB; defaults to 2048, and 0 means no limit.

Claude Desktop: download pdf-mcp.mcpb and install it from Settings > Extensions. The first start downloads components (about 250 MB). For Claude Code and other MCP clients, Python 3.11–3.14 is required; install pdf-mcp with uv or pipx, then add the server using your client's instructions.

claude_desktop_config.json
{"mcpServers":{"pdf-mcp":{"command":"pdf-mcp"}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "pdf-mcp": {
      "command": "pdf-mcp"
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.pdf-mcp]
command = "pdf-mcp"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add pdf-mcp -- pdf-mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm that pdf_info and pdf_search appear in your client's MCP tool list, then ask the assistant to check a PDF's page count. A page count response confirms the connection is working.

Troubleshooting

  1. Check that Python is version 3.11–3.14; the README says version 3.15 may fall back to an older release because a dependency lacks a build.
  2. Verify that the server's environment can access the PDF path or folder.
  3. If scanned pages return no OCR text, check that Tesseract is installed; the Claude Desktop extension may also need time to download components on first run.
  4. If HTTP mode fails to start, check the auth token and path allow-list configuration.

Things to try

Once connected, you can ask your AI assistant things like:

  • Show the page count and table of contents for report.pdf.
  • Search report.pdf for supply chain risks.
  • Read page 5 of report.pdf.
  • Give me an overview of the PDFs in this folder and search them for the training process.

Tools 13

pdf_info read-only
Show page count, metadata, a table-of-contents summary, and scanned-page detection.
pdf_search read-only
Run hybrid search by page or section and return paragraph excerpts with source pages.
pdf_read_pages read-only
Read selected pages or ranges, with on-demand OCR, tables, and embedded images.
pdf_read_all read-only
Read a whole PDF within a byte limit.
pdf_get_toc read-only
Get the full table of contents.
pdf_render_pages read-only
Render pages as PNG for vision models to inspect diagrams, handwriting, or scans.
pdf_extract_chart read-only
Extract exact (x, y) data tables from chart geometry.
pdf_corpus_warm writes
Warm PDFs in a folder into the cache within a time budget, with OCR of scanned pages between calls.
Show 5 more tools
pdf_corpus_overview read-only
Provide per-document overview cards for triaging a folder.
pdf_corpus_search read-only
Search across documents in a folder and return document and page provenance.
pdf_cache_stats read-only
Show per-document cache details and total cache size.
pdf_cache_clear destructive
Clear expired or all cache entries.
server_info read-only
Show active optional features and configuration.

Use cases

Find relevant pages in a large PDF and check the page evidence.
Search a folder of PDFs for topics or references.
Recognize text in scans or extract tables and chart data.

Supported clients

Claude Desktop
Claude Code
VS CodePartial support
CursorPartial support
CodexPartial support
KiroPartial support

Listed from the project's documentation, not tested by this site.

Overview

PDF MCP Server is an MCP server that lets AI agents search one PDF or a folder and read relevant pages on demand. It offers hybrid search, OCR, table and chart extraction, page rendering, and support for multi-column and Japanese vertical layouts. Search results include page provenance for checking answers.

Similar servers

Source revision 85dc30c6014a Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/pdf-mcp.svg)](https://followmcp.com/en/servers/pdf-mcp)