PDF MCP server
Connect compatible agents to PDF operations.
Runs on your computer. Files stay on your device; the agent or script can only use the folders you allow.
Let AI agents use superPDF tools on PDFs in a folder you choose. superPDF processes the files on your computer and uploads nothing. The agent brings its own model: if it reads a document’s text, that text goes to the agent’s model, which stays on your computer only if the agent runs a local model.
Install the command-line tool
The
superpdfcommand runs the tools on your computer. It needs Node.js 22 or later. Install it once with npm:Terminal npm install -g @superpdf/cli # Check it works superpdf helpConnect your AI agent
Add superPDF to your agent's MCP settings. The agent starts
superpdf mcp --allow-dir ~/Documents/superPDFon this computer and can only use files in that folder. Create the folder first (mkdir -p ~/Documents/superPDF): the server stops if an--allow-dirfolder doesn’t exist. You can use any existing folder instead.Terminal claude mcp add --scope user superpdf -- superpdf mcp --allow-dir ~/Documents/superPDF~/Library/Application Support/Claude/claude_desktop_config.json { "mcpServers": { "superpdf": { "command": "superpdf", "args": ["mcp", "--allow-dir", "~/Documents/superPDF"] } } }~/.codex/config.toml [mcp_servers.superpdf] command = "superpdf" args = ["mcp", "--allow-dir", "~/Documents/superPDF"]~/.cursor/mcp.json { "mcpServers": { "superpdf": { "command": "superpdf", "args": ["mcp", "--allow-dir", "~/Documents/superPDF"] } } }Terminal agy mcp add superpdf -- superpdf mcp --allow-dir ~/Documents/superPDF~/.config/muse/settings.json { "schema_version": 1, "mcp_servers": { "superpdf": { "transport": "stdio", "command": "superpdf", "args": ["mcp", "--allow-dir", "~/Documents/superPDF"] } } }Try it
Put a PDF in
~/Documents/superPDF, restart your agent, and ask:Use superpdf to split sample.pdf into single pages, then add page numbers to a copy.
Third-party names and logos belong to their owners.
Tools the agent gets
| Tool | What it does |
|---|---|
pdf_list_files | List PDFs in an allowed folder |
pdf_info | Page count, sizes, form fields and properties |
pdf_read_text | Embedded text by page, with a character limit |
pdf_extract_structure | Markdown, HTML or JSON with headings, paragraphs and a section outline |
pdf_merge | Combine 2 or more PDFs into a new file |
pdf_split | One new file per range or per page |
pdf_from_office | Word, Excel, PowerPoint or OpenDocument to PDF, with LibreOffice |
pdf_extract_pages · pdf_remove_pages · pdf_rotate_pages | Page operations into a new file |
pdf_add_page_labels · pdf_add_watermark · pdf_remove_metadata | Finishing steps |
pdf_protect · pdf_unlock · pdf_repair | AES-256 passwords and repair |
pdf_extract_tables | Tables and vector charts as Excel, CSV, JSON or Markdown |
pdf_to_docx · pdf_to_pptx · pdf_to_epub | Editable Word, PowerPoint (text as text boxes) and EPUB 3 |
pdf_from_images · pdf_from_markdown | JPG or PNG images, or a Markdown file, to PDF |
pdf_fill_form · pdf_flatten | Fill form fields by name; make fields part of the page |
pdf_add_text · pdf_resize_pages | Typed signatures and notes; crop margins or scale pages |
pdf_compare · pdf_outline | Changed words between two versions, page by page; the outline with page ranges |
pdf_run_pipeline | Up to 10 steps in one call |
pdf_run_batch | The same steps on up to 50 PDFs, one new file each |