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_danielkennedy1_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_danielkennedy1_pdf_tools_mcp-0.3.0.tar.gz | 6.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iflow_mcp_danielkennedy1_pdf_tools_mcp-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.4 kB
Release files / iflow_mcp_danielkennedy1_pdf_tools_mcp-0.3.0.tar.gz
| Download URL | iflow_mcp_danielkennedy1_pdf_tools_mcp-0.3.0.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9018910d99b55e09576235a77d5ee8a316f1b2bceb7d2234164a6788079d7299
|
|
BLAKE2b-256 checksum How to use checksums |
83a99cf4cc68da37c8088bf8bf63a29da81eaa3d777dc07c32fff95f4a66eeee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.8
|
Release files / iflow_mcp_danielkennedy1_pdf_tools_mcp-0.3.0-py3-none-any.whl
| Download URL | iflow_mcp_danielkennedy1_pdf_tools_mcp-0.3.0-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f4b493b1d95db1de98f319d5ad332ba8c0c132231b4e8458c525738ceaa687f9
|
|
BLAKE2b-256 checksum How to use checksums |
6e01ed1a0ad03b59557ac7153e86ec8ae00095329984ac78456aa0be5d8e6769
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.8
|