Skip to main content
Glama
mlorentedev

pdf-modifier-mcp

by mlorentedev

PDF Modifier MCP

CLI + MCP server + Web UI for PDF text replacement with font style preservation.

CI PyPI Python 3.12+ Docs License: MIT

Quick start

pip install pdf-modifier-mcp

# CLI
pdf-mod modify input.pdf output.pdf -r "Draft=Final"

# MCP server (for Claude/Cursor/Codex)
claude mcp add -s user pdf-modifier -- uvx pdf-modifier-mcp

Related MCP server: pdf-navigator-mcp

Interfaces

Interface

Description

Run

CLI

pdf-mod — batch jobs, scripting, CI pipelines

make run cli ARGS="..."

MCP Server

pdf-modifier-mcp — AI agents edit PDFs

make run mcp

Web UI

FastAPI + SvelteKit — drag & drop, preview, replace

make up (Docker) or make run api + make run frontend

Features

  • Text replacement — find and replace with font style preservation (family, weight, size, color)

  • Regex support — pattern-based bulk replacements (--regex)

  • Hyperlinks — create clickable links or neutralize existing ones

  • Batch processing — apply same replacements to multiple files

  • Web UI — drag & drop PDF upload, structure browser, page preview with zoom, text highlighting

  • MCP toolsread_pdf_structure, inspect_pdf_fonts, list_pdf_hyperlinks, modify_pdf_content

Development

# Setup
make setup

# Run tests
make test

# Full check (lint + type + test)
make check

# Start dev stack (Docker)
make up
# API: http://localhost:8000 | Web: http://localhost:8080

# Start servers locally
make run api          # FastAPI dev server
make run frontend     # SvelteKit dev server

Documentation

License

MIT

Install Server
F
license - not found
A
quality
A
maintenance

Maintenance

Maintainers
4dResponse time
2wRelease cycle
17Releases (12mo)
Commit activity
Issues opened vs closed

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Generate PDFs from templates via AI chat. Works with Claude, ChatGPT, Cursor, and any MCP client.

  • MCP-native collaborative markdown editor with real-time AI document editing

  • AI document editing for agents: draft, edit, export .docx/PDF. 37 MCP tools; agent self-signup.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mlorentedev/pdf-modifier-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server