PDF Tools MCP
A comprehensive set of PDF manipulation tools built with the Model Context Protocol (MCP) framework.
Features
Local PDF Operations
- Display: Render PDF pages as images
- Merge: Combine multiple pages into a single long page
- Metadata: Extract document metadata
- Text: Extract text blocks and detailed text information
- Snippets: Create freeform or full-width snippets from PDF pages
- Fuse: Combine pages from multiple documents into a single document
Remote PDF Operations
- Display: Render remote PDF pages as images
- Download: Fetch PDFs from URLs to local storage
Installation
Installing via Smithery
To install PDF Tools for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @danielkennedy1/pdf-tools-mcp --client claude
Manual Installation
# Clone the repository
git clone https://github.com/yourusername/pdf-tools-mcp.git
cd pdf-tools-mcp
# Install dependencies
uv pip install -e .
Usage
Start the MCP server:
python -m src.main
The server provides PDF manipulation endpoints through the MCP protocol.
Development
- Python 3.12+ required
- Uses the MCP framework for tool registration
- PDF documents are stored with UUID4 filenames for security
# Update dependencies
uv pip install -e . --upgrade
# Commit changes (uses conventional commit format)
cz commit
Dependencies
- MCP Framework
- PyMuPDF
- aiohttp/aiofiles for async operations
- python-magic-bin for file type detection
License
MIT. See LICENSE.
Metadata
Release files for iflow-mcp_pdf-tools-mcp 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iflow_mcp_pdf_tools_mcp-0.3.0.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iflow_mcp_pdf_tools_mcp-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.1 kB
Release files / iflow_mcp_pdf_tools_mcp-0.3.0.tar.gz
| Download URL | iflow_mcp_pdf_tools_mcp-0.3.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f23c9decaab8dd742fbdf62a6322a3e75b8f0e46dfa90dc1de202eebaa1d0c1
|
|
BLAKE2b-256 checksum How to use checksums |
0b8bbef8e9fe71c55e2e288f6f741ecc5e1b97794aef3b93f932956dbbefbc5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.8
|
Release files / iflow_mcp_pdf_tools_mcp-0.3.0-py3-none-any.whl
| Download URL | iflow_mcp_pdf_tools_mcp-0.3.0-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8d39097230b595d7068ae9549705717ae2be22ab3b976a88ce44619fd0874bb
|
|
BLAKE2b-256 checksum How to use checksums |
c2edbf2aa7b897550dd880f511e5ba2b68b4910c476b935c8715abbbbfe2d128
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.8
|