io.github.zp130221/pdfedit-mcp
Edit text inside existing PDFs: replace, delete, redact, insert, fill forms; original fonts kept.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
claude mcp add --transport http pdfedit-mcp 'https://pdfedit-mcp-remote.niubai-pdfedit-remote-worker.workers.dev/mcp'
{
"mcpServers": {
"pdfedit-mcp": {
"type": "http",
"url": "https://pdfedit-mcp-remote.niubai-pdfedit-remote-worker.workers.dev/mcp"
}
}
}
@niubai/pdfedit-mcpclaude mcp add pdfedit-mcp -e 'PDFEDIT_API_KEY=<your pdfedit_api_key>' -e 'PDFEDIT_BASE_URL=http://localhost:8000' -- npx -y @niubai/pdfedit-mcp@0.1.10
{
"mcpServers": {
"pdfedit-mcp": {
"command": "npx",
"args": [
"-y",
"@niubai/pdfedit-mcp@0.1.10"
],
"env": {
"PDFEDIT_API_KEY": "<your pdfedit_api_key>",
"PDFEDIT_BASE_URL": "http://localhost:8000"
}
}
}
}
Variables d'environnement
PDFEDIT_API_KEYsecret API key for the PDF Edit API. Optional: without one the hosted API serves the keyless free tier (20 pages a day per IP, outputs watermarked TEST).PDFEDIT_BASE_URLGateway base URL. Defaults to http://localhost:8000; set it to the hosted API or to your own deployment.
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
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.
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
claude mcp add pdfedit -- npx -y @niubai/pdfedit-mcp
Cursor / VS Code / Claude Desktop — the buttons above, or this server entry:
{ "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:
npx skills add zp130221/pdfedit-mcp
Claude Code can also take the whole thing as a plugin, MCP server and skill together:
/plugin marketplace add zp130221/pdfedit-mcp
/plugin install pdfedit@pdfedit
| What | Where |
|---|---|
| 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 Desktop | mcp/pdfedit-mcp/ |
Agent skill (npx skills add zp130221/pdfedit-mcp), no Node needed | skills/pdfedit/ |
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).
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.
Questions fréquentes
Qu'est-ce que io.github.zp130221/pdfedit-mcp ?
Edit text inside existing PDFs: replace, delete, redact, insert, fill forms; original fonts kept.
Comment installer io.github.zp130221/pdfedit-mcp ?
Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http pdfedit-mcp 'https://pdfedit-mcp-remote.niubai-pdfedit-remote-worker.workers.dev/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour io.github.zp130221/pdfedit-mcp ?
Oui. Il attend PDFEDIT_API_KEY, à renseigner dans sa configuration.
io.github.zp130221/pdfedit-mcp est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient io.github.zp130221/pdfedit-mcp ?
Il est publié par zp130221. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.