mcp-pdf-tools

by hanweg

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.

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" ] } } }

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

mcp using PyPDF2 to: • merge-pdfs • extract-pages • search-pdfs • merge-pdfs-ordered (merge in user spec. order) • find-related-pdfs (regex extracted text for related PDF files)

  1. MCP PDF Tools Server
    1. Features
    2. Installation
    3. Usage with Claude Desktop

Related MCP Servers

  • A
    security
    F
    license
    A
    quality
    An MCP server for converting Markdown documents to PDF files.
    Last updated -
    1
    1
    JavaScript
  • -
    security
    F
    license
    -
    quality
    Provides tools for reading and extracting text from PDF files, supporting both local files and URLs.
    Last updated -
    3
    Python
  • A
    security
    F
    license
    A
    quality
    An MCP server that provides a tool to extract text content from local PDF files, supporting both standard PDF reading and OCR capabilities with optional page selection.
    Last updated -
    1
    5
    Python
    • Apple
  • A
    security
    A
    license
    A
    quality
    Empowers AI agents to securely read and extract information (text, metadata, page count) from PDF files within project contexts using a flexible MCP tool.
    Last updated -
    1
    156
    19
    TypeScript
    MIT License
    • Linux
    • Apple

View all related MCP servers

ID: fqtuoh05xi