Generate and manipulate PDFs from Claude Desktop, Cursor, and Windsurf. 9 tools: HTML-to-PDF, URL-to-PDF, merge, split, watermark, compress, password-protect, rotate, and extract text. Free tier on RapidAPI — install with: uvx pdf-api-mcp
Overview
Simple PDF API — MCP Server
Generate and manipulate PDFs directly from Claude Desktop, Cursor, Windsurf, and any MCP-compatible AI tool.
Installation
Add to your MCP config file:
{
"mcpServers": {
"pdf-api": {
"command": "uvx",
"args": ["pdf-api-mcp"],
"env": {
"PDF_API_KEY": "your_rapidapi_key_here"
}
}
}
}
Get a free API key at RapidAPI.
Tools
| Tool | Description |
|---|---|
html_to_pdf | Convert HTML string → PDF |
url_to_pdf | Render any public URL → PDF |
merge_pdfs | Merge multiple PDFs into one |
split_pdf | Extract page ranges from a PDF |
watermark_pdf | Add CONFIDENTIAL / DRAFT overlay |
compress_pdf | Reduce file size |
protect_pdf | AES password-encrypt |
rotate_pdf | Rotate all or selected pages |
extract_text | Pull plain text from a PDF |
All output files are saved to ~/Downloads/.
Pricing
Free tier available (50 req/day). PRO from $9/mo on RapidAPI.
Links
Server Config
{
"mcpServers": {
"pdf-api": {
"command": "uvx",
"args": [
"pdf-api-mcp"
],
"env": {
"PDF_API_KEY": "<YOUR_RAPIDAPI_KEY>"
}
}
}
}