OD

open-document-alliance/pdf-tools

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

160 stars 26 forks 质量 84 趋势 14MIT

open-document-alliance/pdf-tools 是从 https://github.com/open-document-alliance/pdf-tools. 导入的 MCP 服务器候选

概览

open-document-alliance/pdf-tools 是从 https://github.com/open-document-alliance/pdf-tools. 导入的 MCP 服务器候选

概述(AI 翻译)

Claude Desktop 和 MCP 主机的本地 PDF 工作流程:填充、签名、合并, 通过本地文件操作进行拆分、提取、渲染和分析PDF。

PDF Tools 不仅仅是打开 PDF,而是让 Claude 获取 PDF URL 到 机器,目视检查文档,填写表单,保存可重复使用的配置文件,添加 签名/日期区,合并和拆分文件,视觉化重新组织页面,提取 结构化数据,并将文档内容返回给你选择的MCP主机进行分析。

该软件包目前主要面向 Claude Desktop 及其他本地 MCP 主机。目前尚未包含 Claude Cowork / 网络托管 Claude 的远程连接器。

安装

克劳德桌面

  1. 从Releases下载最新.mcpb
  2. 双击.mcpb文件,在Claude Desktop中安装

该扩展也可在 Claude Extensions 目录中使用。

Claude 桌面设置包含一个允许的PDF目录字段。默认情况下, PDF 工具可以访问 ~/Documents、~/Downloads 和 ~/Desktop。添加任何其他 你想让 Claude 使用文件夹,然后再让它读取、填充、签名、合并或保存 PDF也在那里。保存的配置文件和签名都保存在扩展的私有本地

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

PDF Tools for Claude Desktop and Local MCP Hosts

The local PDF workflow for Claude Desktop and MCP hosts: fill, sign, merge, split, extract, render, and analyze PDFs with local file operations.

Instead of just opening a PDF, PDF Tools lets Claude fetch PDF URLs to your machine, inspect documents visually, fill forms, save reusable profiles, add signature/date zones, merge and split files, reorganize pages visually, extract structured data, and return document content to your chosen MCP host for analysis.

This package targets Claude Desktop and other local MCP hosts today. It does not yet include a remote connector for Claude Cowork / web-hosted Claude.

Install

Claude Desktop

  1. Download the latest .mcpb from Releases
  2. Double-click the .mcpb file to install it in Claude Desktop

The extension is also available in the Claude Extensions directory.

Claude Desktop settings include an Allowed PDF Directories field. By default, PDF Tools can access ~/Documents, ~/Downloads, and ~/Desktop. Add any other folder you want Claude to use before asking it to read, fill, sign, merge, or save PDFs there. Saved profiles and signatures live in the extension’s private local store and do not need to be added manually.

Cursor / Other MCP Hosts

{
  "mcpServers": {
    "pdf-tools": {
      "command": "node",
      "args": ["/full/path/to/PDF-Tools/server/index.js"]
    }
  }
}

ChatGPT / Codex Agent Plugin

A fresh Agent Plugin install uses a private PDF Tools workspace. There is no folder setup step: when the host is allowed to read a file, it can copy the file into that workspace for PDF Tools to process. PDF Tools itself still refuses direct paths outside the workspace.

This is a tool boundary, not a confidentiality boundary against the host. If ChatGPT is set to Full Access, its broader filesystem permission governs what it can import. Optional direct folder access can be configured separately in the plugin’s config.json; a non-empty list replaces the private workspace.

Why It’s Different

Claude already knows how to read PDFs in limited ways. PDF Tools goes much further:

  • Interactive viewer: page navigation, zoom, search, fullscreen, text selection, and form-field sidebar
  • Form workflows: fill_pdf, read_pdf_fields, bulk_fill_from_csv, and reusable profiles
  • Sign mode: signature/date zone detection, saved or drawn local signatures, text stamping, inspect-region, preview-to-zone flows, and optional consent-gated Lumin e-signing
  • URL-to-PDF workflows: fetch HTTP(S) PDF links to the local machine when sandboxed web fetches are blocked
  • Page organization: merge, split, rotate, reorder, and apply full page plans in one pass
  • Extraction and analysis: page-bounded reads, text search, page/region rendering, CSV export, page-level analysis, metadata, and validation
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "pdf-tools": { "command": "node", "args": ["/full/path/to/PDF-Tools/server/index.js"] } } }