Skip to main content

Add your description here

Project description

PDF Tools MCP

smithery badge

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_danielkennedy1_pdf_tools_mcp-0.3.0.tar.gz.

File metadata

File hashes

Hashes for iflow_mcp_danielkennedy1_pdf_tools_mcp-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9018910d99b55e09576235a77d5ee8a316f1b2bceb7d2234164a6788079d7299
MD5 869aeef6d291dc3d81bbefee98fbd7b4
BLAKE2b-256 83a99cf4cc68da37c8088bf8bf63a29da81eaa3d777dc07c32fff95f4a66eeee

See more details on using hashes here.

File details

Details for the file iflow_mcp_danielkennedy1_pdf_tools_mcp-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iflow_mcp_danielkennedy1_pdf_tools_mcp-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4b493b1d95db1de98f319d5ad332ba8c0c132231b4e8458c525738ceaa687f9
MD5 2433f97e7771325c309bf4374c72f16a
BLAKE2b-256 6e01ed1a0ad03b59557ac7153e86ec8ae00095329984ac78456aa0be5d8e6769

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page