Simple PDF API
Generate and manipulate PDFs from Claude Desktop, Cursor, and Windsurf.
What it can do
- Html To Pdf: Convert an HTML string to a PDF file saved to ~/Downloads. Renders with headless Chromium so all modern CSS, flexbox, and print styles work. Use this when you need to generate an invoice,
- Url To Pdf: Render any public http/https URL to a PDF saved to ~/Downloads. Uses headless Chromium — JavaScript-rendered pages work. Private/internal URLs (localhost, 192.168.x.x) are blocked for secu
- Merge Pdfs: Combine 2 or more PDF files into a single document in the order provided. Saves the merged result to ~/Downloads. Use this to combine a cover page with a report, or bundle multiple invoice
What data it sees
Do you need an account
An API key from the service settings is required
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.
How to connect
How to connect Simple PDF API to Claude
The server address to paste into Claude settings:
https://pdf-api-mcp--mahiuddinalkamal.run.tools
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect Simple PDF API to ChatGPT
The server address to paste into ChatGPT settings:
https://pdf-api-mcp--mahiuddinalkamal.run.tools
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect Simple PDF API to Cursor
The server address to paste into Cursor settings:
https://pdf-api-mcp--mahiuddinalkamal.run.tools
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
Server tool list (9)
Raw names from tools/list. Only developers need these.
| html_to_pdf | Convert an HTML string to a PDF file saved to ~/Downloads. Renders with headless Chromium so all modern CSS, flexbox, and print styles work. Use this when you need to generate an invoice, receipt, or report from HTML you already have. |
| url_to_pdf | Render any public http/https URL to a PDF saved to ~/Downloads. Uses headless Chromium — JavaScript-rendered pages work. Private/internal URLs (localhost, 192.168.x.x) are blocked for security. |
| merge_pdfs | Combine 2 or more PDF files into a single document in the order provided. Saves the merged result to ~/Downloads. Use this to combine a cover page with a report, or bundle multiple invoices. |
| split_pdf | Extract specific pages from a PDF into a new file saved to ~/Downloads. Use page ranges like '1-3' for a span, or '5' for a single page. Useful for extracting a chapter, pulling the first page, or splitting a large document. |
| watermark_pdf | Add a diagonal text watermark to every page of a PDF, saved to ~/Downloads. Common watermarks: CONFIDENTIAL, DRAFT, SAMPLE, DO NOT DISTRIBUTE. Opacity and rotation are adjustable. |
| compress_pdf | Reduce a PDF's file size by removing duplicate and orphaned objects. Useful before emailing or uploading to storage. Results vary — documents with repeated fonts/images typically see 10–40% reduction. |
| protect_pdf | AES password-encrypt a PDF so it cannot be opened without the correct password. Optionally restrict printing. Saved to ~/Downloads. Use for sensitive documents like contracts, financial reports, or personal data. |
| rotate_pdf | Rotate all or specific pages of a PDF by 90, 180, or 270 degrees, saved to ~/Downloads. Use 90 or 270 to fix landscape pages, or 180 to flip upside-down pages. Common for scanned documents with incorrect orientation. |
| extract_text | Extract all plain text content from a PDF and return it as a string. Optionally limit to specific page numbers. Useful for searching document contents, summarising a PDF, or feeding text into further processing. |