io.github.penny4nonsense/mcp-pymupdf
MCP server for reading PDFs using PyMuPDF. Supports local files and URLs.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
mcp-pymupdfclaude mcp add mcp-pymupdf -- uvx mcp-pymupdf==0.1.1
{
"mcpServers": {
"mcp-pymupdf": {
"command": "uvx",
"args": [
"mcp-pymupdf==0.1.1"
]
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
mcp-pymupdf
An MCP server for reading PDFs using PyMuPDF. Supports local files and URLs.
Installation
pip install mcp-pymupdf
Tools
read_pdf
Extract text from a PDF file or URL.
{
"source": "/path/to/file.pdf",
"max_pages": 50,
"max_bytes": 200000
}
get_page
Extract text from a specific page range.
{
"source": "https://example.com/paper.pdf",
"start_page": 3,
"end_page": 8
}
get_metadata
Retrieve PDF metadata without reading full text.
{
"source": "/path/to/file.pdf"
}
Usage with Claude Desktop
Add to your Claude Desktop config:
{
"mcpServers": {
"pdf": {
"command": "mcp-pymupdf"
}
}
}
Notes
- Scanned or image-based PDFs cannot be read without OCR
- Mathematical notation may render as plain text approximations
- URLs are downloaded to a temp file and deleted after reading
License
MIT
Frequently asked questions
What is io.github.penny4nonsense/mcp-pymupdf?
MCP server for reading PDFs using PyMuPDF. Supports local files and URLs.
How do I install io.github.penny4nonsense/mcp-pymupdf?
It runs on your machine. In Claude Code: claude mcp add mcp-pymupdf -- uvx mcp-pymupdf==0.1.1. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.penny4nonsense/mcp-pymupdf need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is io.github.penny4nonsense/mcp-pymupdf open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains io.github.penny4nonsense/mcp-pymupdf?
It is published by penny4nonsense. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.