About Pdf MCP
Pdf MCP is an MCP server published by I-CAN-hack in the Search category: pDF MCP server with image rendering capabilities. Useful for automatically searching datasheets, manuals, etc...
The repository has 79 stars and 12 forks, with the last commit 2 months ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/I-CAN-hack/pdf-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Pdf MCP
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 4 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
1 check has not been run yet.
README
pdf-mcp
An MCP server for reading, rendering, and searching PDF files. Built with PyMuPDF and PyMuPDF4LLM.
Designed for use with LLMs that need to read datasheets and other PDFs containing diagrams, tables, and technical content.
Tools
| Tool | Description |
|---|---|
get_pdf_info |
Get metadata about a PDF (page count, author, title, etc.) |
get_table_of_contents |
Get the outline/bookmarks with page numbers for each section |
get_page_text |
Extract text from a page range in json (default), text, markdown, or html format. Optionally exclude headers/footers |
get_page_image |
Render a single page as a PNG image, returned as base64 or written to a temp file. Configurable DPI (default 150) |
search_text |
Case-insensitive text search across the entire PDF, returning page numbers and surrounding context |
All requests are stateless and take the PDF filename as a parameter.
Setup
Add the following to your .mcp.json:
{
"mcpServers": {
"pdf-mcp": {
"command": "uvx",
"args": ["--from", "git+https://github.com/I-CAN-hack/pdf-mcp.git", "pdf-mcp"]
}
}
}
Or for codex run codex mcp add pdf-mcp -- uvx --from git+https://github.com/I-CAN-hack/pdf-mcp.git pdf-mcp.
This will automatically install and run the server using uvx.
Development
# Install dependencies
uv sync
# Generate test PDFs
uv run python assets/generate.py
# Run tests
uv run pytest tests/ -v
# Run the server locally
uv run pdf-mcp
README fetched from the repository 4 hours ago. The original is authoritative.