Skip to main content
Glama

PDFForge Pro

A native, professional PDF editor for Linux, with an MCP server that lets Claude and other AI assistants work on your PDFs locally.

Version française (full documentation)

PDFForge editor

Why

Linux has no free editor at the level of Acrobat, and most PDF tools for AI agents upload your files to a cloud service. PDFForge does everything on your machine.

Related MCP server: pdf-agent-toolkit-mcp

Editor features

  • Edit text in the document's own font. The font embedded in the PDF is reused, not a lookalike. Only the changed characters are rewritten, and the rest of the line is repositioned to the exact point. When fidelity is impossible, the status bar says so instead of hiding it.

  • Annotate, comment, draw, sign (including PAdES / PKCS#7 signatures with X.509 certificates and RFC 3161 timestamps)

  • Organise pages: merge, split, reorder, rotate, delete

  • OCR scanned documents into searchable text, with deskewing and per-word confidence

  • Redact for real: find IBANs, card numbers, national IDs, emails, and remove them from the file, not just cover them

  • Forms: fill AcroForms, with live recalculation of Acrobat formulas

  • Compare two versions and detect tampering traces

  • Bank statements to Excel: extract date, label and amount lines

  • Export to Word (.docx), LibreOffice (.odt/.rtf), Excel, PowerPoint, images and text

  • Archive and repair: PDF/A conversion with verification, web optimisation, repair of damaged files, PDF/UA accessibility audit and fixes

  • Encryption (AES-256), watermarks, compression, unlimited undo/redo

  • Stays fast on large documents

MCP server

The editor's engines are exposed to any MCP client (Claude Code, Claude Desktop, Cursor...). Everything runs locally: no file is sent anywhere, and tools that change a document always write a new file (the source is only replaced with overwrite=true).

claude mcp add pdfforge -- uvx pdfforge-pro

Or with pip: pip install pdfforge-pro, then claude mcp add pdfforge -- pdfforge-mcp. OCR needs Tesseract (sudo apt install tesseract-ocr).

For Claude Desktop, in claude_desktop_config.json:

{ "mcpServers": { "pdfforge": { "command": "uvx", "args": ["pdfforge-pro"] } } }

Tool

What it does

pdf_info, read_text, render_page, search

Read a document, see a page as an image, search it

merge, split, organize_pages

Merge, split, keep, delete or rotate pages

create_pdf, export

Word, Excel, images to PDF; PDF to .docx, .txt, .html, .odt, .xlsx

replace_text

Replace a word everywhere, rewritten in the document's embedded fonts

ocr

Make a scan searchable, with deskewed pages and per-word confidence

find_sensitive_data, redact

Find IBANs, cards, national IDs, emails... and remove them for good

list_form_fields, fill_form

Read and fill a form

extract_transactions

Bank statement to date / label / amount rows, and Excel

compare, detect_tampering

Differences between two versions, signs of forgery

watermark, protect, unlock, compress

Watermark, AES-256 password, compression

Example requests: "remove every IBAN and email from this folder before I send it", "put my September statements in a spreadsheet", "has this contract been changed since it was signed?".

Install and run

pip install pdfforge-pro && pdfforge   # or, from a clone:
make run        # launch the editor
make test       # run the test suite
make deb        # build a Debian package

License

AGPL-3.0-or-later, because PDFForge is built on PyMuPDF (AGPL-3.0).

Available Tools

22 tools
compareC
Read-only

Word-by-word and visual comparison of two versions of a document.

Inputs: path_a (required), path_b (required). Returns: result

compressB

Make the file smaller. Presets: 'email' (smallest), 'archivage' (balanced), 'impression' (print quality).

Inputs: path (required), output (required), preset, overwrite. Returns: result

create_pdfA

Build one PDF from Word, Excel, PowerPoint, OpenDocument, images or text files (office formats need LibreOffice).

Inputs: output (required), sources (required), overwrite. Returns: result

detect_tamperingA
Read-only

Look for signs a document was altered after it was issued: earlier revisions kept in the file, text hidden under shapes, mismatched dates and producers.

Inputs: path (required). Returns: result

exportA

Convert a PDF to .docx, .txt, .html, .odt or .xlsx tables, chosen by the extension of output.

Inputs: path (required), output (required), overwrite. Returns: result

extract_transactionsA

Read a bank statement or an invoice list into rows of date / label / amount. With output ending in .xlsx or .csv, the rows are also written there.

Inputs: path (required), output, overwrite. Returns: result

fill_formC

Fill form fields by name. Checkboxes take 'yes'/'no'.

Inputs: path (required), output (required), values (required), overwrite. Returns: result

find_sensitive_dataB
Read-only

Find IBANs, card numbers, national register numbers, VAT numbers, e-mails, phone numbers and birth dates. IBANs, cards and register numbers are checked with their control digits. Values are masked in the answer.

Inputs: path (required), kinds. Returns: result

list_form_fieldsB
Read-only

Fillable fields of the form: name, type, current value, page.

Inputs: path (required), password. Returns: result

mergeB

Join several PDFs into one, in order. Each source becomes a bookmark.

Inputs: output (required), sources (required), overwrite. Returns: result

ocrA

Make a scanned PDF searchable with Tesseract: straightens upside-down and skewed pages and reports its confidence. language is a Tesseract code such as 'fra', 'eng', 'fra+eng', or 'auto'. Pages that already have text are skipped unless force=true.

Inputs: path (required), output (required), force, pages, +2 more. Returns: result

organize_pagesB

Keep only some pages, delete some, and/or rotate some (angle 90, 180 or 270). Ranges use the original page numbers.

Inputs: path (required), output (required), keep, angle, +3 more. Returns: result

pdf_infoC
Read-only

Page count, metadata, encryption, form fields, attachments, and which pages have no text layer (scans that need OCR).

Inputs: path (required), password. Returns: result

protectC

Encrypt with AES-256: a password to open and/or restricted permissions.

Inputs: path (required), output (required), overwrite, allow_copying, +3 more. Returns: result

read_textC
Read-only

Text of the document (or of the pages given) in reading order, page by page.

Inputs: path (required), pages, password. Returns: result

redactA

Remove sensitive data for good: the characters leave the file, it is not a black box drawn on top. kinds are the categories of find_sensitive_data, terms any exact words or phrases (names, references). With sanitize=true, metadata, attachments and scripts are stripped too.

Inputs: path (required), output (required), kinds, terms, +3 more. Returns: result

render_pageC
Read-only

A picture of one page, to look at layout, stamps, signatures or scans.

Inputs: path (required), dpi, page, password.

replace_textB

Replace a word or phrase everywhere it appears, rewriting the text itself in the document's own embedded fonts (not a white box drawn on top).

Inputs: new (required), old (required), path (required), output (required), +4 more. Returns: result

splitC

One new PDF per range, for instance '1-3, 4-8, 9-'.

Inputs: path (required), ranges (required), output_dir (required), base_name. Returns: result

unlockB

Remove the password from a PDF you can open.

Inputs: path (required), output (required), password (required), overwrite. Returns: result

watermarkC

Stamp a text watermark such as CONFIDENTIAL or COPY across the pages.

Inputs: path (required), text (required), output (required), pages, +4 more. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 22 tools

    Disambiguation4/5

    Most tools have clearly distinct actions and outputs: read_text vs search vs extract_transactions, and find_sensitive_data vs redact, are well differentiated. Minor overlap exists between pdf_info and list_form_fields for form-field information, and between export and extract_transactions for tabular output, but descriptions provide strong cues.

    Naming Consistency4/5

    Names are almost entirely predictable snake_case and action-oriented (read_text, create_pdf, replace_text, detect_tampering, compress). Single-verb names for simple actions are readable, but pdf_info and ocr are minor deviations from a strict verb_noun pattern.

    Tool Count4/5

    At 22 tools, the server is above the typical 3–15 range, but the PDF domain is broad and each tool maps to a distinct operation across reading, editing, conversion, security, and analysis. There is little redundancy, so the count is heavy but defensible rather than excessive.

    Completeness4/5

    The surface covers a full PDF lifecycle: creation, reading, OCR, editing, page organization, forms, redaction, protection, conversion, extraction, comparison, and tamper detection. Notable gaps include annotations/comments, digital signature verification/signing, metadata editing, and image extraction, but these are minor relative to the core workflows.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with local documents (PDF, Markdown, TXT) through tools for discovery, reading, extraction, summarization, comparison, keyword extraction, search, and analysis, ensuring privacy and offline capability.
      -
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to perform comprehensive PDF operations locally, including compression, text extraction, PII redaction, page organization, splitting, merging, watermarking, creation, and form filling, all without cloud uploads.
      22 npm
      -
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to inspect PDFs, merge or extract pages, and clean text entirely offline through the Model Context Protocol, with no uploads, API keys, or network calls.
      4
      64 npm
      MIT
    • F
      license
      B
      quality
      B
      maintenance
      Enables local, offline document extraction and manipulation—PDF first but also HTML, DOCX, XLSX, PPTX, EML, EPUB, Markdown, and plain text—through tools for probing, locating, extracting, converting, assembling, OCR, protecting, and redacting documents, with nothing leaving the machine.
      7
      -