pdf-tools-mcp

by danielkennedy1
Verified

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Integrations

  • Allows to clone the repository from GitHub to get started with the PDF Tools MCP.

  • Provides tools for local PDF operations including rendering pages as images, merging pages, extracting metadata and text, creating snippets, and combining multiple documents.

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

# 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

License

MIT. See LICENSE.

-
security - not tested
A
license - permissive license
-
quality - not tested

pdf-tools-mcp

  1. Features
    1. Local PDF Operations
    2. Remote PDF Operations
  2. Installation
    1. Usage
      1. Development
        1. Dependencies
          1. License
            ID: nkljk2kyqk