Simple PDF API

Generate and manipulate PDFs from Claude Desktop, Cursor, and Windsurf.

Community: Submitted by a user or imported; check the owner before granting accessOnlineAPI key requiredGlobalFreeRead-only

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

  1. Open Claude (claude.ai or the desktop app).
  2. Go to Settings → Connectors.
  3. Click Add custom connector.
  4. Paste the server address copied below into Remote MCP server URL and click Add.
  5. 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

  1. Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
  2. Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
  3. Open Settings → Connectors and click Create.
  4. Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
  5. Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
  6. 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:

  1. In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
  2. Paste the JSON copied below into ~/.cursor/mcp.json (per project: .cursor/mcp.json in the repo root).
  3. 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_pdfConvert 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_pdfRender 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_pdfsCombine 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_pdfExtract 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_pdfAdd 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_pdfReduce 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_pdfAES 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_pdfRotate 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_textExtract 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.