gurupdf-mcp
OfficialThe gurupdf-mcp server lets AI agents convert, compress, merge, split, and edit PDFs and 100+ file formats directly on your local machine.
Convert files between 100+ formats — PDF ↔ Word (DOCX), Excel, PowerPoint, images (JPG, PNG, HEIC), ebooks, and more
PDF tools — compress, merge, split, rotate, protect (password), watermark, OCR, and more via tool slugs (e.g.
compress-pdf,merge-pdf)Work with local files — reads input files from disk and saves results next to the source or in a specified output directory
URL-to-PDF — convert any web page to PDF by passing an
https://URLBatch/merge — pass multiple file paths to tools like
merge-pdfTool-specific options — set password, page range, rotation angle, watermark text, etc.
Async jobs — optionally get a job ID for long-running tasks and poll status later with
get_statusBrowse supported conversions — list all available tools and formats, filterable by input format, using
list_conversionsCheck credits — view remaining free daily API credits and how to acquire more using
check_credits
Enables Windsurf (by Codeium) to convert and process PDFs and other file formats, including OCR, compression, merging, splitting, rotation, protection, and watermarking.
GuruPDF MCP — convert PDFs & 100+ file formats from your AI agent
A free Model Context Protocol (MCP) server that lets Claude, Cursor, VS Code, Windsurf and other AI agents convert, compress, merge, split and edit PDFs — and convert between 100+ file formats (Word, Excel, PowerPoint, JPG, PNG, HEIC, ebooks, and more), right on your own machine. Powered by GuruPDF.
Languages: English · Español · Français · Deutsch · 中文 · Русский · Українська · Polski · Nederlands · Türkçe · Čeština · Ελληνικά · العربية
Ask your assistant: "compress this PDF", "turn invoice.docx into a PDF", or "merge these three files" — and it converts the files right on your machine.
🗂️ 126 tools — PDF ⇄ Word/Excel/PowerPoint, images, ebooks, OCR, compress, merge, split, rotate, protect, watermark, and more.
💻 Works on your local files — reads and writes files on disk, no manual upload/download.
🆓 Free to start — every account gets daily credits. No credit card required.
Install
You need Node.js 18+ and a free GuruPDF API key:
Sign up at gurupdf.com.
Open Profile → API tokens and create a token.
Add the server to your agent with that key (configs below). No install step —
npxfetches it on first run.
Claude Desktop
claude_desktop_config.json:
{
"mcpServers": {
"gurupdf": {
"command": "npx",
"args": ["-y", "gurupdf-mcp"],
"env": { "GURUPDF_API_KEY": "your_token_here" }
}
}
}Cursor
~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"gurupdf": {
"command": "npx",
"args": ["-y", "gurupdf-mcp"],
"env": { "GURUPDF_API_KEY": "your_token_here" }
}
}
}VS Code
.vscode/mcp.json:
{
"servers": {
"gurupdf": {
"command": "npx",
"args": ["-y", "gurupdf-mcp"],
"env": { "GURUPDF_API_KEY": "your_token_here" }
}
}
}Windsurf
~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"gurupdf": {
"command": "npx",
"args": ["-y", "gurupdf-mcp"],
"env": { "GURUPDF_API_KEY": "your_token_here" }
}
}
}Related MCP server: pdfmux
Tools
Tool | What it does |
| Convert/process a local file (or URL). Give it an input and a target format ( |
| Check a conversion job by id and download the result when ready (for long jobs like video). |
| List supported conversions/tools, optionally filtered by an input format. |
| Show remaining credits and how to get more. |
Examples
"Compress
~/Documents/report.pdf." →convert_file(input: "~/Documents/report.pdf", to: "compress-pdf")
"Convert
invoice.docxto PDF." →convert_file(input: "invoice.docx", to: "pdf")
"Merge
a.pdfandb.pdfinto one." →convert_file(input: ["a.pdf", "b.pdf"], to: "merge-pdf")
"Password-protect this PDF with
hunter2." →convert_file(input: "secret.pdf", to: "protect-pdf", options: { password: "hunter2" })
"Save this web page as a PDF: https://example.com" →
convert_file(input: "https://example.com", to: "url-to-pdf")
Free tier & credits
Each tool costs a few credits. Free accounts get daily credits (refreshed every day) and 2 conversions/minute, 10/day. When you run out, the assistant will tell you — you can wait for the daily refresh or top up / upgrade. Conversions run on GuruPDF's servers; files are deleted automatically within an hour.
Configuration
Env var | Default | Notes |
| — | Required. Your API token from Profile → API tokens. |
|
| Override only for self-hosted / staging. |
Links
Glama: gurupdf-mcp on Glama
Landing page: gurupdf.com/mcp
Guide: Convert files in Claude & Cursor with the GuruPDF MCP
Website: gurupdf.com
API docs: gurupdf.com/api/docs
Pricing: gurupdf.com/pricing
License
MIT
Maintenance
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/GuruPDF/gurupdf-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server