Metadata-Version: 2.4
Name: pdf-tools-mcp-server
Version: 0.1.0
Summary: MCP server for PDF manipulation
Author-email: Your Name <hanwegaltimer@outlook.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/hanweg/mcp-pdf-tools
Project-URL: Repository, https://github.com/hanweg/mcp-pdf-tools.git
Requires-Python: >=3.13
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: asyncio>=3.4.3
Requires-Dist: mcp>=1.5.0
Requires-Dist: pypdf2>=3.0.1
Dynamic: license-file

# 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.

<a href="https://glama.ai/mcp/servers/fqtuoh05xi"><img width="380" height="200" src="https://glama.ai/mcp/servers/fqtuoh05xi/badge" alt="mcp-pdf-tools MCP server" /></a>

## 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
2. 
```bash
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):

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