mcp-pdf-tools

mcp-pdf-tools

Okay, here's the translation of the English text into Chinese, focusing on clarity and common usage in a technical context: **使用 PyPDF2 的 mcp 来实现:** * **合并 PDF 文件 (merge-pdfs)** * **提取页面 (extract-pages)** * **搜索 PDF 文件 (search-pdfs)** * **按指定顺序合并 PDF 文件 (merge-pdfs-ordered)** (This emphasizes the user-specified order) * **查找相关 PDF 文件 (find-related-pdfs)** (使用正则表达式从文本中提取信息来查找相关 PDF 文件) (This adds context about using regex) **Explanation of Choices:** * **mcp:** I've left "mcp" as is, assuming it's a specific tool or project name. If it's an acronym, you might want to spell it out in Chinese if you know the full name. * **合并 (hébìng):** The most common and direct translation for "merge." * **提取 (tíqǔ):** The standard translation for "extract." * **搜索 (sōusuǒ):** The standard translation for "search." * **页面 (yèmiàn):** The standard translation for "page." * **文件 (wénjiàn):** The standard translation for "file." * **按指定顺序 (àn zhǐdìng shùnxù):** This translates to "according to specified order" and is clearer than a more literal translation. * **查找相关 (cházhǎo xiāngguān):** This translates to "find related." * **正则表达式 (zhèngzé biǎodáshì):** The standard translation for "regular expression." * **从文本中提取信息 (cóng wénběn zhōng tíqǔ xìnxī):** This translates to "extract information from text." The added context in the last bullet point clarifies the method used for finding related PDFs. This makes the translation more informative.

Category
访问服务器

Tools

merge-pdfs

Merge multiple PDF files into a single PDF

extract-pages

Extract specific pages from a PDF file

search-pdfs

Search for PDF files in a directory with optional pattern matching

merge-pdfs-ordered

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

find-related-pdfs

Find a PDF and then search for related PDFs based on its content, including common substring patterns

README

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

MCP PDF 工具服务器

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

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

功能

  • 将多个 PDF 文件合并为一个 PDF
  • 按照用户指定的顺序将多个 PDF 文件合并为一个 PDF
  • 从 PDF 文件中提取特定页面
  • 搜索 PDF 文件系统搜索或 Everything 搜索比此功能更好
  • 基于文本提取和来自目标输入 PDF 的正则表达式模式匹配,查找(和合并)相关的 PDF

安装

  1. 克隆此存储库
cd mcp-pdf-tools

# 创建并激活虚拟环境
uv venv
.venv\Scripts\activate

# 安装包
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"
            ]
        }
    }
}

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选