loading…
Search for a command to run...
loading…
An MCP server for local PDF manipulation including merging, splitting, rotating, watermarking, and text extraction. It works with various MCP-compatible clients
An MCP server for local PDF manipulation including merging, splitting, rotating, watermarking, and text extraction. It works with various MCP-compatible clients and processes PDFs entirely on-device without cloud services.
MCP server for PDF manipulation. Merge, split, rotate, watermark, extract text, and more.
Works with Claude Desktop, Cursor, VS Code, ChatGPT, and any MCP-compatible client.
PDF manipulation is one of the most common developer tasks, yet there's no good MCP server for it. The existing options have 1 star. This one actually works.
Everything runs locally. No API keys. No cloud services. Your PDFs never leave your machine.
| Tool | Description |
|---|---|
pdf_info |
Get metadata, page count, file size |
pdf_extract_text |
Extract text content from pages |
pdf_merge |
Combine multiple PDFs into one |
pdf_split |
Split PDF into individual page files |
pdf_extract_pages |
Extract a page range into a new PDF |
pdf_rotate |
Rotate pages by 90°, 180°, or 270° |
pdf_add_watermark |
Add text watermark (e.g. DRAFT, CONFIDENTIAL) |
pdf_delete_pages |
Remove specific pages |
pdf_reorder |
Rearrange page order |
pdf_set_metadata |
Set title, author, subject, keywords |
pdf_create |
Create a new PDF from plain text |
Add to your claude_desktop_config.json:
{
"mcpServers": {
"pdf-tools": {
"command": "npx",
"args": ["-y", "mcp-pdf-utils"]
}
}
}
That's it. Restart Claude Desktop and start asking it to work with PDFs.
claude mcp add pdf-tools -- npx -y mcp-pdf-utils
Add to your Cursor MCP settings:
{
"mcpServers": {
"pdf-tools": {
"command": "npx",
"args": ["-y", "mcp-pdf-utils"]
}
}
}
Add to your VS Code MCP config:
{
"mcp": {
"servers": {
"pdf-tools": {
"command": "npx",
"args": ["-y", "mcp-pdf-utils"]
}
}
}
}
Once connected, just talk to your AI naturally:
git clone https://github.com/zekovdev/mcp-pdf-utils.git
cd mcp-pdf-utils
npm install
npm run dev
npm run inspect
This opens the official MCP Inspector where you can test every tool visually.
The server uses pdf-lib for PDF manipulation and pdf-parse for text extraction. Both run locally with zero external dependencies — no API keys, no network calls, no cloud services.
Communication uses the MCP stdio transport, meaning the server runs as a local process that your AI client spawns and talks to via stdin/stdout.
PRs welcome. Run npm run inspect to test your changes before submitting.
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"mcp-pdf-utils": {
"command": "npx",
"args": []
}
}
}