Best of the MCP
MCP PDF Tools Server - PDF Manipulation via Model Context Protocol

MCP PDF Tools Server - PDF Manipulation via Model Context Protocol

by hanweg/mcp-pdf-tools

1 views
Created
5 months ago
Stars
45
Language
Python
License
The Unlicense
Issues
1

MCP server for working with PDF files

Document Processing

WORK IN PROGRESS - USE WITH CAUTION - Windows:

MCP PDF Tools Server

An MCP (Model Context Protocol) server that provides PDF manipulation tools. This server allows LLMs to perform operations like merging PDFs and extracting pages through the Model Context Protocol.

mcp-pdf-tools MCP server

Features

  • Merge multiple PDF files into a single PDF
  • Merge multiple PDF files into a single PDF in user specified order
  • Extract specific pages from a PDF file
  • Search PDFs filesystem search or Everything search works better than this
  • Find (and merge) related PDFs based on text extraction and regex pattern matching from a target input PDF

Installation

  1. Clone this repository
cd mcp-pdf-tools

# Create and activate virtual environment
uv venv
.venv\Scripts\activate

# Install the package
uv pip install -e .

Usage with Claude Desktop

Add this to your Claude Desktop configuration file (claude_desktop_config.json):

{
    "mcpServers": {
        "pdf-tools": {
            "command": "uv",
            "args": [
                "--directory",
                "PATH_TO\\mcp-pdf-tools",
                "run",
                "pdf-tools"
            ]
        }
    }
}

Install

{
  "mcpServers": {
    "pdf-tool": {
      "command": "uv",
      "args": [
        "--directory",
        "PATH_TO\\mcp-pdf-tool",
        "run",
        "pdf-tool"
      ]
    }
  }
}
For more configuration details, refer to the content on the left

Related

Related projects feature coming soon

Will recommend related projects based on sub-categories