MCP & API
A PDF MCP server for Claude and other assistants
superPDF’s command-line tool gives Claude Desktop, Claude Code, Cursor and other assistants 30 PDF tools on your computer: read PDFs as Markdown, turn tables into Excel, convert to Word, fill forms, compare versions, merge, split and protect. Your scripts can call the same tools through a local API or the terminal. It works only in folders you allow and never overwrites a file. Free and open source under the Apache-2.0 licence.
Also known as MCP server for PDF, PDF tools for Claude, PDF API, PDF CLI and local PDF REST API.
- Install it: npm install -g @superpdf/cli
- Add superPDF to your assistant’s MCP settings, with a folder it may use (create it first).
- Ask your assistant to work on the PDFs in that folder.
MCP & API: questions and answers
How do I install the superPDF MCP server?
Install the superpdf command once: npm install -g @superpdf/cli with Node.js 22 or later, brew install arjunprabhulal/superpdf/superpdf on macOS or Linux, or pip install superpdf from Python. Create a folder such as ~/Documents/superPDF, then add superpdf mcp --allow-dir ~/Documents/superPDF to your assistant’s MCP settings. Restart the assistant and ask it to work on a PDF in that folder.
Which AI assistants can use superPDF over MCP?
The setup guide has ready-to-paste settings for Claude Code, Claude Desktop, Codex, Cursor, Antigravity and Muse Code. In Claude Code it is one command: claude mcp add --scope user superpdf -- superpdf mcp --allow-dir ~/Documents/superPDF. Other assistants that read an MCP settings file can start the same command. Your own scripts can reach the same tools through the local API, superpdf serve, or straight from the terminal.
What can Claude do with my PDFs through superPDF?
The server gives your assistant 30 PDF tools. It can read a PDF as Markdown, HTML or JSON, turn tables into Excel or CSV, convert to Word, PowerPoint or EPUB, fill and flatten forms, compare two versions, merge, split, rotate, watermark, and add or remove passwords. pdf_run_pipeline chains up to 10 steps on one file, and pdf_run_batch runs the same steps on up to 50 PDFs.
Can the assistant open files outside the folder I allow?
No. The server reads and writes only inside the folders you pass with --allow-dir, and it checks paths after following shortcuts and symbolic links, so a link can’t lead outside. A request for any other file is refused with an error. To allow a second folder, repeat --allow-dir. Each folder must already exist, or the server stops, and outputs are always new files, so nothing is overwritten.
Is the superPDF MCP server free, and are my files uploaded?
It is free and open source under the Apache-2.0 licence. The tools run on your computer, upload nothing and never connect to the internet. If your assistant reads a document’s text, though, that text goes to the assistant’s own model: its provider for a cloud assistant such as Claude or Codex, or nowhere for an agent that runs a local model, for example on Ollama.