# PDF MCP Server

> Search PDFs with page-level evidence.

- **URL**: https://followmcp.com/en/servers/pdf-mcp
- **Category**: Filesystem
- **Origin**: Community
- **Stars**: 178
- **FMRS Score**: 63/100 (Grade C)
- **Source**: https://github.com/jztan/pdf-mcp
- **Transports**: stdio (local process)
- **Runtimes**: Python 3.11+
- **Auth**: No credential needed

## 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.

## 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
- 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.

## Client config (JSON)
```json
{"mcpServers":{"pdf-mcp":{"command":"pdf-mcp"}}}
```

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