Black Friday: the GUI Hub app — every tool, one-time — $6 instead of $9 (applied at checkout), until Dec 1. See what you get →
GUI Hub
MCP server · Claude Desktop, Claude Code, Cursor, VS Code, Windsurf

pdfcpu MCP server

Lets your AI assistant merge, split, compress, rotate, watermark and password-protect PDFs. Works offline; your files never leave your computer. It runs the official pdfcpu 0.16.4 locally — no API key, no cloud, files never uploaded. Part of GUI Hub Essentials; unofficial, not affiliated with the pdfcpu project.

Install (one line)

npx -y https://guihub.cc/mcp.tgz --product=essentials

Claude Code: claude mcp add gui-hub-essentials -- npx -y https://guihub.cc/mcp.tgz --product=essentials · Claude Desktop: one-file extension (double-click). Other clients (Cursor, VS Code, Windsurf) — add to the MCP config:

{
  "mcpServers": {
    "gui-hub-essentials": {
      "command": "npx",
      "args": [
        "-y",
        "https://guihub.cc/mcp.tgz",
        "--product=essentials"
      ]
    }
  }
}

The pdfcpu binary is downloaded once (the official release, checked by SHA-256) and cached; after that it works offline. Needs Node.js 18+ for npx.

Tools your assistant gets

MCP toolWhat it doesInputs (* required)
pdfcpu_mergeCombine several PDFs into one, in the order listed.inputs*, out*
pdfcpu_splitSplit a PDF into smaller files.input*, outDir*, mode, span
pdfcpu_optimizeShrink a PDF by removing duplicate and unused data. Text and images stay the same quality.input*, out*
pdfcpu_rotateRotate all pages or a range of pages.input*, rotation, pages, out*
pdfcpu_watermarkStamp text such as DRAFT or CONFIDENTIAL across every page.input*, text*, style, out*
pdfcpu_encryptProtect a PDF with AES-256 encryption.input*, upw*, opw*, out*
pdfcpu_decryptRemove the password from a PDF you have the password for.input*, upw, out*
pdfcpu_extract_pagesSave selected pages as separate PDF files.input*, pages*, outDir*
pdfcpu_form_fieldsList the fillable fields of a PDF form on the user's computer (text fields, checkboxes, radio buttons, dropdowns, dates) with their names, ids and current values, as fill-ready JSON. ALWAYS call this first when the user wants a PDF form filled in (applications, tax forms, contracts, registration or intake forms); then put the user's answers into the 'value' entries and pass that JSON to pdfcpu_form_fill.input*, jsonOut
pdfcpu_form_fillFill in a PDF form on the user's computer and save a filled copy (the original is not changed). `data` is the JSON returned by pdfcpu_form_fields with each field's 'value' set (strings for text fields, true/false for checkboxes, the option text for dropdowns/radio buttons); fields you leave out keep their current value. Use for job/school/visa/tax applications, contracts, intake and registration forms. Ask the user for any answer you don't know instead of guessing.input*, data*, out*

Things to ask

No MCP client? Agents with their own computer

Codex, Manus, OpenClaw and similar agents can call the same tools from a shell:

npx -y https://guihub.cc/cli.tgz run pdfcpu_merge --inputs /path/to/input.pdf --out /path/to/output.pdf

Cost

Each tool works 3 times free. Then $9 once unlocks every GUI Hub tool — MCP, desktop apps and browser tools — on up to 3 computers. No subscription; 30-day refunds.

Prefer clicking? The same jobs are in the pdfcpu GUI desktop app. Or write the command yourself with the free pdfcpu command generator.

pdfcpu is Apache-2.0-licensed open source by its authors (source). GUI Hub is independent and does not modify it.