Skip to main content
Glama

工作正在进行中 - 谨慎使用 - Windows:

MCP PDF 工具服务器

提供 PDF 操作工具的 MCP(模型上下文协议)服务器。该服务器允许 LLM 通过模型上下文协议执行合并 PDF 和提取页面等操作。

特征

  • 将多个 PDF 文件合并为一个 PDF

  • 按照用户指定的顺序将多个 PDF 文件合并为一个 PDF

  • 从 PDF 文件中提取特定页面

  • 搜索 PDF文件系统搜索或全部搜索比这个更好

  • 根据目标输入 PDF 中的文本提取和正则表达式模式匹配来查找(并合并)相关 PDF

Related MCP server: oxidize-pdf

安装

  1. 克隆此存储库

cd mcp-pdf-tools

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

# Install the package
uv pip install -e .

与 Claude Desktop 一起使用

将其添加到您的 Claude Desktop 配置文件(claude_desktop_config.json):

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

Available Tools

5 tools
extract-pagesB

Extract specific pages from a PDF file

Inputs: input_path (required), output_path (required), pages (required).

merge-pdfsC

Merge multiple PDF files into a single PDF

Inputs: input_paths (required), output_path (required).

merge-pdfs-orderedB

Merge PDFs in a specific order based on patterns or exact names

Inputs: base_path (required), patterns (required), output_path (required), fuzzy_matching.

search-pdfsC

Search for PDF files in a directory with optional pattern matching

Inputs: base_path (required), pattern, recursive.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 5 tools

    Disambiguation3/5

    There is some overlap between tools like 'merge-pdfs' and 'merge-pdfs-ordered', which could cause confusion as both handle merging but with different ordering approaches. However, other tools like 'extract-pages' and 'search-pdfs' have distinct purposes, and descriptions help clarify the differences between merging variants.

    Naming Consistency5/5

    All tool names follow a consistent verb-noun pattern with hyphen separation (e.g., 'extract-pages', 'merge-pdfs'), making them predictable and readable. There are no deviations in naming conventions across the set.

    Tool Count5/5

    With 5 tools, this server is well-scoped for PDF manipulation tasks, covering extraction, merging, and searching without being overly complex or too sparse. Each tool appears to serve a specific and necessary function in the domain.

    Completeness4/5

    The tool set covers key PDF operations like extraction, merging, and searching, with 'find-related-pdfs' adding a unique content-based feature. A minor gap is the lack of tools for PDF creation or editing (e.g., adding text or images), but core workflows are adequately supported for a focused PDF utility server.

    Maintenance

    ActivitySlowing
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Rust-powered PDF toolkit over MCP: create, read, and analyze PDFs; extract text and entities for RAG; convert to Markdown; split/merge/rotate/reorder pages; manage form fields and annotations; encrypt documents. Runs locally via uvx oxidize-mcp.
      12
      1,164 PyPI
      6
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      A local MCP server that drives PDFium and pypdf to perform comprehensive PDF operations including inspection, assembly, page editing, watermarking, rendering, extraction, form filling, encryption, compression, attachments, bookmarks, and metadata management.
      MIT