原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

PDF MCP

作者:wesseltl版本 0.1.2i★ –i在你的电脑上运行
注册名称io.github.wesseltl/pdf-mcp

安装

概览

作者提供的说明(英文原文)

Extract text and tables from PDFs for an agent: invoices, reports, statements.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 文档、表格与办公

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "pdf": {
      "command": "uvx",
      "args": [
        "pdf-agent-mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add pdf -- uvx pdf-agent-mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "pdf": {
      "command": "uvx",
      "args": [
        "pdf-agent-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "pdf": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pdf-agent-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 wesseltl 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“文档、表格与办公”中的其他服务器比较i

  • 星标数多于此分类中其他 3532 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 3532 个服务器的 24% 更新
  • 基础检查结果等于或优于此分类中其他 3532 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

PDF MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.2)于3个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Agent-Native Calendar

作者:BuilderIO

Agent-Native Google Calendar - manage events, sync, and public booking

在云端运行★ 7,620MIT2个月前更新
安装

Excel MCP Server

作者:haris-musa

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

在你的电脑上运行★ 4,276MIT7天前更新
安装

MCP Server for Excel

作者:sbroenne

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

在你的电脑上运行★ 847MIT4天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

pdf-mcp

Turn tables in PDF and Word documents into Excel, CSV, or JSON. Use the simple browser app with no agent setup, or connect the same deterministic extraction tools to an AI agent through MCP.

The browser app is for direct table conversion. It previews the extracted rows, highlights basic structure warnings, and keeps files on your computer. Advanced profile checking can additionally validate named fields, preserve source evidence, and return accepted, needs_review, or rejected for a recurring document workflow. Cell values come from document parsers, not generated model output.

Need a profile and measured baseline for real documents? See the Document Reliability Pilot. Agents can use the structured offer at offers/document-to-excel-pilot.json.

Website: simple conversion, local tools, and the free hosted agent beta.

Current limitation: PDF extraction supports born-digital documents. Scanned or image-only PDFs

require OCR, which is not included. An accepted decision means the configured checks passed; it

does not prove that the source document itself is correct.

Simple browser app

This is the easiest way to use pdf-mcp. It requires no Python, terminal, MCP client, or agent configuration after downloading the app.

  1. Open the v0.4.0 release.
  2. Download the pdf-mcp-app ZIP for 64-bit Windows, an Apple silicon Mac, or 64-bit Linux.
  3. Unzip it and open pdf-mcp-app.
  4. Your browser opens. Drop in a PDF or Word document, choose Excel, CSV, or JSON, and select Convert document.

Use Stop app in the browser when finished. The app listens only on your computer. Temporary document copies are deleted immediately after conversion, and prepared downloads expire after 30 minutes or when the app stops. The community beta downloads are currently unsigned, so the operating system may ask you to confirm that you want to open them.

If Python is already installed, the same interface can be started with:

python -m pip install "pdf-agent-mcp @ https://github.com/wesseltl/pdf-mcp/releases/download/v0.4.0/pdf_agent_mcp-0.4.0-py3-none-any.whl"

pdf-mcp-app

The simple app performs raw table extraction. “No basic structure problems detected” is not an accuracy guarantee. Check important values before using them, or use a profile-checked pilot for a recurring business workflow.

For agents: local or free hosted beta

The normal pdf-agent-mcp command remains local, MIT licensed, network-free, and telemetry-free. For people who explicitly want a measured agent beta, pdf-agent-cloud-mcp uploads only the selected document for one authenticated operation.

Profile checking and evaluation currently run in the local edition or as part of the paid pilot. The free hosted beta currently exposes raw text, table, and CSV extraction only.

EditionDocument locationMeasurementBest for
Local pdf-agent-mcpStays on your machineNoneConfidential or unrestricted local use
Hosted pdf-agent-cloud-mcpTemporary authenticated uploadBounded operational countersRedacted/non-sensitive beta evaluation

The free hosted beta includes 25 operations per calendar month. Temporary uploads are deleted when each request completes. Usage metrics exclude filenames, document contents, extracted text, and table cells. Applications are open while endpoint deployment is completed. Apply without attaching a document; invitations begin only after the endpoint is verified:

Apply for free agent beta access

After acceptance, install and configure the separate bridge with the endpoint and key you receive:

python -m pip install "pdf-agent-mcp[cloud] @ https://github.com/wesseltl/pdf-mcp/releases/download/v0.4.0/pdf_agent_mcp-0.4.0-py3-none-any.whl"
{

"mcpServers": { "pdf-cloud": { "command": "pdf-agent-cloud-mcp", "env": { "PDF_MCP_CLOUD_URL": "https://endpoint-provided-with-beta-access.example", "PDF_MCP_CLOUD_API_KEY": "key-provided-once" } } } }

Use only redacted or non-sensitive files. See the free beta terms, privacy notice, and machine-readable beta/free-hosted-beta.json.

What it turns a document into

A PDF or Word table like this:

Item     Qty   Price

Widget 3 12.50 Gadget 1 40.00 Bolt 10 0.25

can be checked against invoice-lines-v1 and returned as canonical records with an explicit decision:

{

"decision": "accepted", "profile": {"id": "invoice-lines-v1", "version": "1.0.0"}, "records": [ { "values": {"item": "Widget", "quantity": "3", "unit_price": "12.50"}, "evidence": { "item": {"page": 1, "table_index": 0, "row": 1, "column": 0, "bbox": [242.9, 136.0, 287.7, 154.0]} } } ] }

The tools it gives an agent

ToolWhat it does
list_extraction_profiles()Built-in profile IDs, versions, fields, and hashes
extract_with_profile(path, profile)Canonical records, cell evidence, validation issues, and a fail-closed decision
export_with_profile(input_path, profile, output_path)Profile-checked .xlsx, .csv, or .json; XLSX includes Review, Data, and Evidence sheets
page_count(path)How many pages the PDF has
extract_text(path, page)Text per page (one page, or the whole doc)
extract_tables(path, page, merge_multipage)Raw rows, source coordinates, and basic parser warnings
table_to_csv(path, page, index)One table as clean CSV text
extract_docx_text(path)Paragraph text from a .docx file
extract_docx_tables(path)Word tables as rows of cells, with the same assessment fields and merged-cell warnings
docx_table_to_csv(path, index)One Word table as clean CSV text
export_document_tables(input_path, output_path, merge_multipage)Export PDF/DOCX tables to .xlsx, .csv, or .json

MCP setup for Claude Desktop

The fastest way to use this is with an MCP client like Claude Desktop. Three steps:

1. Install it

python -m pip install "pdf-agent-mcp[mcp] @ https://github.com/wesseltl/pdf-mcp/releases/download/v0.4.0/pdf_agent_mcp-0.4.0-py3-none-any.whl"

2. Add it to your client's config

Claude Desktop's config lives here:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add the server:

{

"mcpServers": { "pdf": { "command": "pdf-agent-mcp" } } }

3. Restart Claude Desktop. You'll see a tools icon appear, meaning the server is connected.

That's it. Now ask about any .pdf or .docx on your machine:

You:  Check /Users/me/invoices/2024-001.pdf with invoice-lines-v1.

Agent (calls extract_with_profile): decision: accepted records: 3 issues: 0

The agent must route needs_review and rejected results to a person instead of treating them as trusted business data.

Restricting file access: to stop the agent reading anything outside one folder, set

PDF_MCP_ALLOWED_DIR. See SECURITY.md.

Use it with other MCP clients

The same server works in any MCP client, only the config differs. Use pdf-agent-mcp as the command.

Cursor — ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Same shape as Claude Desktop, and it hot-reloads (no restart):

{ "mcpServers": { "pdf": { "command": "pdf-agent-mcp" } } }

VS Code / GitHub Copilot — .vscode/mcp.json. Note the different key (servers, not mcpServers) and the required type. Tools only run in Copilot Agent mode:

{ "servers": { "pdf": { "type": "stdio", "command": "pdf-agent-mcp" } } }

Windsurf — ~/.codeium/windsurf/mcp_config.json (create it if missing). Same shape as Claude Desktop:

{ "mcpServers": { "pdf": { "command": "pdf-agent-mcp" } } }

Cline — add it from the extension's MCP settings panel in VS Code (command: pdf-agent-mcp).

Profile-checked extraction

The package includes lab-coa-v1 and invoice-lines-v1 as reference profiles:

extract-document-with-profile examples/invoice.pdf invoice-lines-v1 result.xlsx

Exit status is 0 for accepted, 2 for needs_review, and 3 for rejected. XLSX output contains Review, Data, and Evidence sheets. Formula-like document values are escaped in spreadsheet exports rather than executed.

Profiles are ordinary, versioned JSON contracts. See the profile format and machine-readable schema. Results follow the versioned extraction result schema.

Measure a profile

Measure exact field and record accuracy against local, customer-approved expected rows:

evaluate-document-profile evaluations/sample-invoice.json

The report contains document hashes and aggregate metrics, not document or expected cell values. The included sample is synthetic; build a representative private set before claiming accuracy for a real document family. See the evaluation guide.

For a larger demonstration, the repository includes an 18-document fictional workflow simulation. It exercises accepted, review, and rejected outcomes across PDF and DOCX variants. It is regression coverage authored by the product developer, not customer validation or evidence of demand.

Raw export

For a direct document-to-file workflow, use the CLI:

export-document-tables report.pdf report.xlsx

export-document-tables coa.docx coa.xlsx export-document-tables coa.docx coa.json

Raw Excel exports include a Review sheet with table locations and parser warnings. Use profile-based export when a workflow needs canonical fields and an acceptance decision.

Understanding the output

extract_tables returns raw rows and lightweight parser diagnostics:

{

"page": 1, "rows": [ ... ], "n_rows": 4, "looks_clean": true, "column_count": 3, "empty_ratio": 0.0, "warnings": [] }

  • `looks_clean` — true only means these basic diagnostics found no red flag. It is not an accuracy score or acceptance decision.
  • `column_count` — the number of columns, if every row agrees on it (null if rows disagree).
  • `empty_ratio` — fraction of blank cells. A high value often means a bad extraction.
  • `has_merged_cells` — Word-only flag for tables with merged cells. Word exposes those cells as repeated values, so the table is flagged for review.
  • `warnings` — plain-language flags, e.g. *"ragged: rows have [2, 3, 4] columns (grid may be misdetected)"* or *"66% of cells are empty"*. PDF tables are genuinely hard (nested/merged cells, multi-page), so instead of pretending, the tool tells you when a result is suspect.

Also usable from plain Python

from pdf_mcp import docx_extractor, exporter, extractor, verified

result = verified.extract_with_profile("invoice.pdf", "invoice-lines-v1") if result["decision"] == "acce

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx