# quillpdf-mcp [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/PurpleDirective/quillpdf-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 232  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/quillpdf-mcp

## Description
Local-first PDF tools (merge, split, rotate, watermark, Bates, metadata) as MCP server + CLI.

## Tools
Capabilities this server exposes over MCP:

- **pdf_merge** — Merge 2+ PDFs into one, in order
- **pdf_split** — Split by page ranges (one file per group) **or** extract specific pages into one file
- **pdf_rotate** — Rotate pages by a multiple of 90° (all pages or a chosen subset)
- **pdf_watermark** — Stamp text on every page (size / opacity / color / position)
- **pdf_bates** — Sequential Bates numbering (prefix, start, zero-pad, corner)
- **pdf_clean_metadata** — Strip info-dict fields + dates, and delete the XMP metadata stream
- **pdf_page_count** — Count pages
- **pdf_organize** — Keep pages in the order you list — reorder, delete and duplicate in one step
- **pdf_delete_pages** — Remove listed pages, keeping the rest in order
- **pdf_page_numbers** — Stamp readable page numbers (`3`, `3 of 12`, `Page 3 of 12`), optional unnumbered cover
- **pdf_crop** — Trim page margins by setting the CropBox — **hides, does not remove** (not redaction)
- **pdf_flatten** — Paint filled form values onto the page so they can't be edited or read back as form data
- **pdf_from_images** — Build a PDF from PNG/JPEG images, one per page
- **pdf_protect** — Encrypt with **AES-256** so the document needs a password to open
- **pdf_unlock** — Remove the password from a document you have the password for

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "quillpdf-mcp": {
    "command": "npx",
    "args": ["-y","quillpdf-mcp"]
  }
}
```

## Documentation

## What quillpdf-mcp does

quillpdf-mcp exposes structural PDF operations through both an MCP server and the `quillpdf` command-line tool. It works with files on the local machine and supports common document preparation tasks: combining PDFs, extracting or arranging pages, rotating selected pages, adding visible labels, cleaning document metadata, and counting pages.

The server also handles several document-security and form workflows. It can flatten filled form fields into page content, create PDFs from PNG or JPEG images, protect documents with AES-256 encryption, and remove encryption when the correct password is supplied. Its implementation is built on `pdf-lib`, with QPDF compiled to WebAssembly used for encryption and decryption.

## How it works

The MCP server communicates over stdio. An MCP client launches the package as a local process, then supplies input and output paths to the available tools. PDF bytes are processed in-process, and the server does not open network connections or upload documents.

The command-line interface provides equivalent operations, including commands such as `merge`, `split`, `rotate`, `watermark`, `bates`, `clean-metadata`, and `page-count`. Both interfaces preserve existing files by default: an output path that already exists causes an error unless replacement is explicitly enabled with `--force` or `force: true`.

## Setup and configuration

Node.js 18 or newer is required. The MCP server can be launched without a global installation:

```json
{
  "mcpServers": {
    "quillpdf": {
      "command": "npx",
      "args": ["-y", "quillpdf-mcp"]
    }
  }
}
```

The package can also be installed globally with `npm install -g quillpdf-mcp`, then started with `quillpdf-mcp` or used through the `quillpdf` CLI. Claude Desktop, Claude Code, Cursor, and VS Code can use the stdio configuration; VS Code places the entry under `servers` and includes `"type": "stdio"`.

## Tools and capabilities

Available MCP tools include:

- `pdf_merge` for combining two or more PDFs in a specified order.
- `pdf_split` for splitting page ranges into separate files or extracting selected pages into one file.
- `pdf_organize` and `pdf_delete_pages` for reordering, duplicating, or removing pages.
- `pdf_rotate`, `pdf_crop`, and `pdf_page_numbers` for page presentation changes.
- `pdf_watermark` and `pdf_bates` for text stamps and sequential Bates labels.
- `pdf_clean_metadata` for clearing document information fields and the XMP metadata stream.
- `pdf_flatten`, `pdf_from_images`, and `pdf_page_count` for forms, image-based PDFs, and inspection.
- `pdf_protect` and `pdf_unlock` for AES-256 encryption and password-based decryption.

## Limitations and notes

Cropping changes the CropBox and hides content; it is not redaction, because the underlying material remains recoverable. Metadata cleaning covers document information fields, dates, and document-level XMP, but does not remove annotations, attachments, or page content. The producer field is rewritten by `pdf-lib` when the file is saved.

The server does not provide OCR, true redaction, PDF-to-image rendering, or compression. Password-protected files are refused by other operations rather than being silently unlocked. Unlocking does not guess or recover passwords, and encryption uses AES-256 rather than weaker modes. Permission flags such as disabling printing or copying are requests to PDF readers, not guarantees enforced by encryption.

_Full upstream README: https://allmcps.com/mcp/quillpdf-mcp/readme_

