Pdfedit MCP README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Pdfedit MCP listing page.

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

M8ven Score

Try it in 30 seconds, no key

The server works with no key at all: 20 pages a day per IP, outputs marked SAMPLE, local files included. Nothing to sign up for:

Claude Code

Terminal
claude mcp add pdfedit -- npx -y @niubai/pdfedit-mcp

Cursor / VS Code / Claude Desktop — the buttons above, or this server entry:

config.json
{ "pdfedit": { "command": "npx", "args": ["-y", "@niubai/pdfedit-mcp"] } }

Then ask your agent: "In ./contract.pdf replace 'Acme Ltd' with 'Acme GmbH' and redact the IBAN." The edited PDF is written next to the original and a before/after picture of every change comes back. A free API key (200 pages a month, no watermark on ordinary documents) takes one email at https://api.niubai.vip; set it as PDFEDIT_API_KEY. Web clients that cannot run a local server (claude.ai) use the hosted endpoint https://pdfedit-mcp-remote.niubai-pdfedit-remote-worker.workers.dev/mcp with PDF URLs.

No Node? Install the skill

The same API as an Agent Skill: a SKILL.md plus a stdlib-only Python script, for Claude Code, Codex, Cursor, Gemini CLI and any other agent that runs shell commands. Nothing to install but the skill itself:

Terminal
npx skills add zp130221/pdfedit-mcp

Claude Code can also take the whole thing as a plugin, MCP server and skill together:

text
/plugin marketplace add zp130221/pdfedit-mcp
/plugin install pdfedit@pdfedit
WhatWhere
The whole API in one file, for an AI assistant (give it to a model and it knows how to call the API)api.niubai.vip/llms-full.txt
MCP server (npx -y @niubai/pdfedit-mcp) for Claude Code, Cursor, Claude Desktopmcp/pdfedit-mcp/
Agent skill (npx skills add zp130221/pdfedit-mcp), no Node neededskills/pdfedit/
TypeScript SDK (@niubai/pdfedit)sdk/typescript/
Python SDKsdk/python/
OpenAPI document the SDKs and tool schemas are generated fromopenapi/openapi.json
What it does, pricing, ten before/after examplesdocs/public/

Everything here is MIT. The hosted API itself is a proprietary service.

The API is operated by Niubai (https://niubai.vip), support zp130221@163.com; payments are collected by Creem as merchant of record, so card details never reach the service and the cancel link is on the receipt. Terms, privacy and refunds: https://api.niubai.vip/legal. Documents are deleted within 24 hours and are never used for training.