mcpField
G
GuruPDF

GuruPDF

Local
github.com/GuruPDFProductivity2Updated 19w ago

About GuruPDF

GuruPDF is an MCP server for AI agents that process PDFs and convert between more than 100 file formats. It works with local file paths while performing conversions through GuruPDF's service.

Key features

  1. 01Convert between 100+ file formats
  2. 02Compress, merge, and split PDFs
  3. 03Rotate, protect, and watermark PDFs
  4. 04Process local files and URLs
  5. 05List conversions and check credits

Use cases

  1. 01Convert an invoice document to PDF
  2. 02Combine or compress PDF files
  3. 03Protect a PDF with a password
  4. 04Save a web page as a PDF

MCP support

Provides MCP clients with tools for file conversion and PDF operations, including `convert_file`, conversion listings, job status, and credit checks. Conversion processing runs on GuruPDF servers.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"gurupdf-gurupdf": {
"command": "npx",
"args": [
"-y",
"gurupdf-mcp"
],
"env": {
"GURUPDF_API_KEY": "<GURUPDF_API_KEY>",
"GURUPDF_API_URL": "<GURUPDF_API_URL>"
}
}
}
}
Run commandnpx -y gurupdf-mcp
Environment variables to set
GURUPDF_API_KEYSecretYour GuruPDF API token (create one at https://gurupdf.com/profile)
GURUPDF_API_URLAPI base URL; override only for self-hosting

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmgurupdf-mcp0.1.4

Tools

4

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
tostringYesTarget format (e.g. 'pdf', 'docx', 'png') OR a tool slug (e.g. 'compress-pdf', 'merge-pdf', 'protect-pdf').
waitbooleanNoWait for the result (default true). If false, returns a job id to check with get_status.
inputanyYesAbsolute path to a local file (or several paths for merge), or an https URL for url-to-pdf.
optionsobjectNoTool-specific options, e.g. { password, page_range, rotation, watermark_text }.
output_dirstringNoFolder to save the result in. Defaults to the input file's folder.

Details

From the project README

GuruPDF MCP — convert PDFs & 100+ file formats from your AI agent

npm version License: MIT gurupdf-mcp MCP server

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:

  1. Sign up at gurupdf.com.
  2. Open Profile → API tokens and create a token.
  3. Add the server to your agent with that key (configs below). No install step — npx fetches 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

ToolWhat it does
convert_fileConvert/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_statusCheck a conversion job by id and download the result when ready (for long jobs like video).
list_conversionsList supported conversions/tools, optionally filtered by an input format.
check_creditsShow remaining credits and how to get more.
Examples

"Compress ~/Documents/report.pdf." → convert_file(input: "~/Documents/report.pdf", to: "compress-pdf")

"Convert invoice.docx to PDF." → convert_file(input: "invoice.docx", to: "pdf")

"Merge a.pdf and b.pdf into 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 varDefaultNotes
GURUPDF_API_KEY—Required. Your API token from Profile → API tokens.
GURUPDF_API_URLhttps://gurupdf.com/api/v1Override only for self-hosted / staging.

Links

gurupdf-mcp MCP server

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.