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
Release files for mcp-pymupdf 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_pymupdf-0.1.1.tar.gz | 2.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_pymupdf-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.7 MB
Release files / mcp_pymupdf-0.1.1.tar.gz
| Download URL | mcp_pymupdf-0.1.1.tar.gz |
|---|---|
| Size | 2.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e3c0128439f8cbd08840c88d984c32042ce6d156c7cf525275c6173bc66ce5d
|
|
BLAKE2b-256 checksum How to use checksums |
e76365ba1d174d0e424df3e065d1e467b7a6319d5c85eecd30743dc1041a6724
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / mcp_pymupdf-0.1.1-py3-none-any.whl
| Download URL | mcp_pymupdf-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
854cfd4043190552ed4628e3bda32430d7d55d1ece36ec795a2c764e4e81e9ee
|
|
BLAKE2b-256 checksum How to use checksums |
cfeffd01c359fabd3f057ac46fb5f87761c72ee023e68407d2933f48e39ae265
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|