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

iflow_mcp_pdf_tools_mcp-0.3.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

iflow_mcp_pdf_tools_mcp-0.3.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for iflow_mcp_pdf_tools_mcp-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2f23c9decaab8dd742fbdf62a6322a3e75b8f0e46dfa90dc1de202eebaa1d0c1
MD5 07534a43b5c1460a4ea49f7a228bfd9c
BLAKE2b-256 0b8bbef8e9fe71c55e2e288f6f741ecc5e1b97794aef3b93f932956dbbefbc5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for iflow_mcp_pdf_tools_mcp-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8d39097230b595d7068ae9549705717ae2be22ab3b976a88ce44619fd0874bb
MD5 16a600ed7224d03faef570d7510f380a
BLAKE2b-256 c2edbf2aa7b897550dd880f511e5ba2b68b4910c476b935c8715abbbbfe2d128

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