GuruPDF/gurupdf-mcp
π βοΈ - Convert, compress, merge, split, and OCR PDFs, plus convert between 100+ file formats (Word, Excel, PowerPoint, images, ebooks, video) from any AI agent. Backed by the GuruPDF API; free tier with daily credits, zero-config via npx gurupdf-mcp.
Quick Install
{
"mcpServers": {
"gurupdf-gurupdf-mcp": {
"command": "npx",
"args": [
"-y",
"gurupdf-gurupdf-mcp"
]
}
}
}Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.
Documentation Overview
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" }
}
}
}
Tools
| Tool | What it does |
|---|---|
convert_file | Convert/process a local file (or URL). Give it an input and a target format (pdf, png, docxβ¦) or a tool slug (compress-pdf, merge-pdfβ¦). Saves the result to disk. |
get_status | Check a conversion job by id and download the result when ready (for long jobs like video). |
list_conversions | List supported conversions/tools, optionally filtered by an input format. |
check_credits | 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 |
|---|---|---|
GURUPDF_API_KEY | β | Required. Your API token from Profile β API tokens. |
GURUPDF_API_URL | https://gurupdf.com/api/v1 | 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