pdf-toolkit-mcp — Claude Code MCP server: what it does, how to install
pdf-toolkit-mcp — an MCP server with 22 tools to read, build, encrypt and merge PDFs. Renders pages to images so the model can read scanned documents with no text layer.
MIT ★ 12 updated 2026-07-22
claude mcp add pdf-toolkit-mcp -- npx -y @aryanbv/pdf-toolkit-mcpWhat pdf-toolkit-mcp does
The server reads and writes PDFs: it pulls text and metadata, fills and flattens forms, builds documents from Markdown or structured data, overlays QR codes, encrypts with AES-256, splits, merges and reorders pages. The pdf_render_pages tool rasterizes pages so a vision model can read scans or PDFs with no extractable text. Merge and split operations keep AcroForm fields instead of dropping them; when names collide, the server namespaces each source.
Engines run on WASM and JavaScript, so native dependencies and a compiler are not required. Launch with a single npx command on Node 20 and later. Works offline, no API keys.
There are 22 tools: six for reading (pdf_extract_text, pdf_get_metadata, pdf_get_form_fields, pdf_to_markdown, pdf_search, pdf_compare), eight for manipulation (pdf_merge, pdf_split, pdf_delete_pages, pdf_reorder_pages, pdf_rotate_pages, pdf_flatten, pdf_encrypt, pdf_add_page_numbers, pdf_embed_qr_code) and a set for creating new documents.
What it helps with
- read a scanned PDF with no text layer
- merge multiple PDFs with forms and preserve fields
- encrypt a document with AES-256 and an owner password
- build a PDF from Markdown or structured data
- fill a form and flatten it into static content
Example prompts for the agent
- Pull text from the first ten pages of
report.pdf - Merge
invoice.pdfandcontract.pdf, save tomerged.pdf - Render pages 2 through 5 of
scan.pdfto PNG so I can read what's there
How to install pdf-toolkit-mcp
Platform CLI
claude mcp add pdf-toolkit-mcp -- npx -y @aryanbv/pdf-toolkit-mcpPlatform CLI
codex mcp add pdf-toolkit-mcp -- npx -y @aryanbv/pdf-toolkit-mcpConfig file
{
"mcpServers": {
"pdf-toolkit-mcp": {
"command": "npx",
"args": [
"-y",
"@aryanbv/pdf-toolkit-mcp"
]
}
}
}Config file
{
"servers": {
"pdf-toolkit-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@aryanbv/pdf-toolkit-mcp"
]
}
}
}Platform CLI
gemini mcp add pdf-toolkit-mcp npx -y @aryanbv/pdf-toolkit-mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about pdf-toolkit-mcp
How do I install pdf-toolkit-mcp in Claude Code?
Run claude mcp add pdf-toolkit-mcp -- npx -y @aryanbv/pdf-toolkit-mcp.
What does pdf-toolkit-mcp do?
It provides 22 tools for PDF work: reading, creation, merging, encryption, page rasterization, form filling, QR overlay, and page reordering. Engines run on WASM and JavaScript with no native dependencies.
Does the server require a compiler or Docker?
No. It runs on Node 20 and later with no node-gyp, Docker or native libraries. Launch with npx on Windows, macOS and Linux.