# pdf-toolkit-mcp

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/beepboop2025/pdf-toolkit-mcp  
**GitHub Stars:** 2  
**npm Downloads (last month):** 639  
**Views:** 9  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/pdf-toolkit-mcp-2

## Description
37 tools to read, create, merge, split, watermark, fill, redact & search PDFs. Local, no API key.

## Tools
Capabilities this server exposes over MCP:

- **pdf_read_text** — Extract text content from a PDF file. Can extract from all pages or specific pages. Works with text-based PDFs (not scanned images).
- **pdf_info** — Get detailed information about a PDF: page count, file size, metadata (title, author, dates), form field count, and page dimensions in points and inches.
- **pdf_create** — Create a new PDF from text. Supports auto word-wrapping, pagination, bold/italic, configurable fonts, margins, page sizes. Lines starting with "# " render as bold headings.
- **pdf_images_to_pdf** — Convert one or more images (PNG/JPG) into a PDF. Each image becomes a page, scaled to fit while maintaining aspect ratio.
- **pdf_merge** — Merge multiple PDF files into a single PDF. Pages are combined in the order listed.
- **pdf_split** — Split a PDF into multiple files — either individual pages or custom page ranges.
- **pdf_rotate** — Rotate pages by 90, 180, or 270 degrees clockwise.
- **pdf_delete_pages** — Remove specific pages from a PDF.
- **pdf_extract_pages** — Extract specific pages into a new PDF.
- **pdf_reorder** — Reorder pages. Can also duplicate pages by repeating numbers in the order array.
- **pdf_insert_pages** — Insert pages from one PDF into another at a specific position. Useful for adding cover pages, appendices, or inserting content mid-document.
- **pdf_reverse** — Reverse the page order of a PDF. Useful for fixing scan order or printing back-to-front.
- **pdf_blank_pages** — Insert blank pages into a PDF at specified positions. Useful for adding separator pages or ensuring chapters start on odd pages.
- **pdf_crop** — Crop pages by setting the visible area (crop box). Trims margins or isolates a region. Coordinates are in points from bottom-left.
- **pdf_overlay_pdf** — Overlay one PDF on top of another. The overlay PDF is drawn on top of the base PDF pages. Perfect for adding letterheads, templates, or watermark PDFs.
- **pdf_page_layout** — Arrange multiple PDF pages onto single sheets in N-up layouts. Puts 2 or 4 source pages onto each output page side-by-side. Useful for printing handouts, saving paper, or creating thumbnail sheets.
- **pdf_watermark** — Add a diagonal text watermark across PDF pages. The text is properly centered regardless of rotation angle.
- **pdf_page_numbers** — Add page numbers to every page. Supports various positions, custom prefix/suffix, and starting number.
- **pdf_add_text** — Add text at a specific position on a PDF page. Supports multi-line text (use \n). Coordinates are in points from bottom-left.
- **pdf_add_image** — Add an image (PNG/JPG) at a position on a page. Aspect ratio is preserved when only width or height is given.
- **pdf_header_footer** — Add headers and/or footers with dynamic placeholders: {page} for current page, {pages} for total.
- **pdf_stamp** — Apply a styled business stamp (like a rubber stamp) to PDF pages. Pre-configured styles for common stamps, or create custom ones. Draws a bordered rectangle with text inside, slightly rotated for authenticity.
- **pdf_sign** — Add a signature image to a PDF with smart positioning. Simplified alternative to pdf_add_image for signing documents.
- **pdf_redact** — VISUAL-ONLY redaction: draws opaque rectangles over regions on PDF pages. WARNING: This does NOT remove the underlying text/data from the PDF — it only covers it visually. The original content can still be extracted programmatically. Do NOT use this for true document sanitization of sensitive data (SSNs, passwords, etc). For true redaction, use a tool that rewrites the PDF content stream (e.g. Adobe Acrobat Pro, qpdf, or mutool).
- **pdf_highlight** — Add translucent highlight boxes over regions on PDF pages — like using a highlighter pen. Great for marking important sections.
- **pdf_draw** — Draw shapes on PDF pages: rectangles (filled or outlined), lines, and circles/ellipses. Useful for annotations, diagrams, or marking up documents.
- **pdf_form_read** — Read all form fields from a PDF. Returns each field's name, type (Text, CheckBox, Dropdown, OptionList, RadioGroup), current value, and available options. Use this before pdf_form_fill to discover field names.
- **pdf_form_fill** — Fill form fields in a PDF by name. Supports text fields, checkboxes ("true"/"false"), dropdowns, option lists, and radio groups. Use pdf_form_read first to discover field names and types. Optionally flatten the form to make it non-editable.
- **pdf_set_metadata** — Set or update PDF document metadata fields: title, author, subject, keywords, creator, and producer. Only specified fields are changed; others remain untouched.
- **pdf_decrypt** — Remove password protection from an encrypted PDF. Requires the correct password. Saves an unencrypted copy that can be opened without a password.
- **pdf_search** — Search for text in a PDF. Returns all matches with page numbers and surrounding context. Supports plain text and regex search.
- **pdf_compare** — Compare the text content of two PDFs page by page. Reports which pages are identical, which differ, and shows a summary of differences. Useful for verifying document versions.
- **pdf_flatten** — Flatten a PDF — converts all form fields and annotations into static page content. Fields become non-editable. Useful for finalizing documents before distribution.
- **pdf_compress** — Attempt to reduce PDF file size by rebuilding the document structure. Copies all pages to a fresh PDF (dropping orphaned objects), and optionally strips metadata. Results vary — works best on PDFs with accumulated edits or orphaned data.
- **pdf_validate** — Validate a PDF file — checks if it can be parsed, reports page count, metadata, form fields, and any structural issues. Useful as a health check before processing.
- **pdf_repair** — Attempt to repair a damaged or malformed PDF by loading it with lenient parsing, copying all recoverable pages to a clean document, and re-saving. May fix issues like corrupted cross-reference tables or orphaned objects.
- **pdf_attach** — Embed one or more files as attachments inside a PDF. Attached files travel with the PDF and can be extracted by PDF readers. Useful for bundling source data, receipts, supporting documents, etc.

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

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

## Documentation

## What pdf-toolkit-mcp does

The pdf-toolkit-mcp MCP server exposes 37 PDF operations to an MCP client. It works with PDF file paths and covers document inspection, text extraction, full-text search, page comparison, PDF generation, image conversion, page manipulation, overlays, annotations, forms, metadata, decryption, optimization, and embedded attachments.

The tools are intended for local document workflows. They can create PDFs from text or images, merge and split documents, change page order, add watermarks or page numbers, place text and images at coordinates, fill supported form fields, and prepare files for printing or review.

## How it works

The project runs on Node.js and uses open-source libraries rather than an Adobe service. pdf-lib handles PDF manipulation, while unpdf, based on Mozilla pdf.js, handles text extraction. Operations receive file paths and options such as page numbers, coordinates, output paths, text, colors, sizes, or layout settings, depending on the tool.

The server can be launched through npx or from a local build. An MCP client sends tool calls to the process, and the process reads or writes the specified PDF and related image or attachment files on the local system. No API key is listed as required.

## Setup and configuration

For a local checkout, install dependencies and build the project:

```sh
git clone https://github.com/beepboop2025/pdf-suite-mcp.git
cd pdf-suite-mcp
npm install
npm run build
```

The README uses the package and server name `pdf-suite-mcp` in its launch examples, while this listing is named pdf-toolkit-mcp. With Claude Code, the documented command is:

```sh
claude mcp add pdf-suite -- npx -y pdf-suite-mcp
```

A generic MCP configuration can launch the package with `npx -y pdf-suite-mcp`. A local clone can instead run `node /path/to/pdf-suite-mcp/dist/index.js`.

## Tools and capabilities

The pdf-toolkit-mcp MCP server groups its tools into these areas:

- Read PDFs by page, inspect metadata, dimensions, rotations, versions, and form-field counts.
- Search text with optional case sensitivity, regular expressions, and surrounding context; compare two PDFs page by page.
- Create text-based PDFs and convert PNG or JPG images into PDF pages.
- Merge, split, rotate, delete, extract, reorder, insert, reverse, crop, overlay, and arrange pages in 2-up or 4-up layouts.
- Add watermarks, page numbers, text, images, headers, footers, business stamps, and signature images.
- Highlight regions, draw annotations, redact visible regions, fill forms, set metadata, decrypt protected PDFs, flatten forms, compress, validate, repair, and embed files.

## Limitations and notes

The redaction operation is visual only: it places an opaque rectangle over a region but does not remove the underlying text or data. Content may still be extracted with a PDF parser, so the tool is not suitable for sanitizing passwords, personally identifiable information, or other sensitive data. The README recommends Adobe Acrobat Pro, qpdf, or mutool clean for secure redaction.

Cropping changes the crop box and hides content outside it; it does not resize or delete the hidden content. PDF overlay uses one selected page from the overlay document across chosen base pages, rather than applying a different overlay page to each base page. The project is built on open-source libraries and is not affiliated with Adobe.

_Full upstream README: https://allmcps.com/mcp/pdf-toolkit-mcp-2/readme_

