Skip to main content
Glama

pdfedit-mcp

The agent-facing half of the PDF Edit API (https://api.niubai.vip): edit text inside PDFs that already exist -- replace, delete, redact, insert, fill forms -- keeping the original fonts and layout, with every change verified before it is returned.

Install in Cursor Install in VS Code npm MIT

Try it in 30 seconds, no key

The hosted endpoint answers anonymous callers on a free tier (20 pages a day per IP, outputs watermarked TEST). Nothing to install:

Claude Code

claude mcp add --transport http pdfedit https://pdfedit-mcp-remote.niubai-pdfedit-remote-worker.workers.dev/mcp

Cursor / VS Code / Claude Desktop (remote server) — add this server, or use the buttons above:

{ "pdfedit": { "url": "https://pdfedit-mcp-remote.niubai-pdfedit-remote-worker.workers.dev/mcp" } }

Then ask your agent: "In https://example.com/contract.pdf replace 'Acme Ltd' with 'Acme GmbH' and redact the IBAN." It returns the edited PDF link and a before/after picture of every change. A free API key (200 pages a month, no watermark on ordinary documents) takes one email at https://api.niubai.vip.

What

Where

MCP server (npx -y @niubai/pdfedit-mcp) for Claude Code, Cursor, Claude Desktop

mcp/pdfedit-mcp/

TypeScript SDK (@niubai/pdfedit)

sdk/typescript/

Python SDK

sdk/python/

OpenAPI document the SDKs and tool schemas are generated from

openapi/openapi.json

What it does, pricing, ten before/after examples

docs/public/

Everything here is MIT. The editing engine behind the API is AGPL-3.0; the API serves its complete source to its users at GET /source (any API key, a free test key included).

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables editing text in existing PDFs by modifying content stream operators, preserving original fonts and positions. Provides fidelity reports on every edit, indicating font preservation, substitution, overflow, and other degradations.
    23 PyPI
    1
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Enables full-featured editing of Word .docx files through natural language, including merge-aware table operations, bulk cell edits, footnotes/endnotes, TOC management, tracked changes, and document comparison.
    29
    151 PyPI
    9
    AGPL 3.0