PodPDF

v1.2.0
io.github.mohzameer/podpdf Checked 14 hours ago Published 4 days ago

Turn HTML, Markdown, URLs and saved templates into PDFs with the PodPDF API.

An MCP server for PodPDF. It lets Claude, Cursor, VS Code and any other MCP client turn HTML, Markdown, URLs and saved templates into PDFs. 1. Get an API key at app.podpdf.com → Settings → API Keys. PodPDF charges $0.01 per PDF, and an account needs a plan or a credit pack before calls succeed. 2. Add the server to your client. Most clients take this config: A tool that takes a PDF accepts a path on the machine running the server, or an https link. Up to 4 MB goes to the API inline; anything larger is uploaded first.

Summary extracted from the README.

podpdf-mcp

An MCP server for PodPDF. It lets Claude, Cursor, VS Code and any other MCP client turn HTML, Markdown, URLs and saved templates into PDFs.

Setup

  1. Get an API key at app.podpdf.com → Settings → API Keys. PodPDF charges $0.01 per PDF, and an account needs a plan or a credit pack before calls succeed.
  2. Add the server to your client. Most clients take this config:
{
  "mcpServers": {
    "podpdf": {
      "command": "npx",
      "args": ["-y", "podpdf-mcp"],
      "env": { "PODPDF_API_KEY": "pk_..." }
    }
  }
}

With Claude Code:

claude mcp add podpdf --env PODPDF_API_KEY=pk_... -- npx -y podpdf-mcp

Tools

A tool that takes a PDF accepts a path on the machine running the server, or an https link. Up to 4 MB goes to the API inline; anything larger is uploaded first. edit_pdf sends a commit token derived from the document, the recipe and the day, so the same edit asked for twice replays the first result rather than being charged again.

Tool What it does
generate_pdf HTML, Markdown or a public HTTPS URL to PDF, up to 25 pages. Options: format, landscape, margin, printBackground, scale, pageRanges.
render_template Fill a saved template (template_id) with data and render it.
start_long_job Queue HTML or Markdown up to 100 pages. wait: true polls until it's done.
get_job Status and details of a job.
get_download_link A fresh 1-hour download link for a job's stored output.
merge_pdfs Merge 2–20 PDFs (paths on your machine or https links), optionally taking some pages of each.
split_pdf Split one PDF: each_page, every_n, ranges or extract. save_dir writes every part.
inspect_pdf Page count, page ids and sizes; with for_edit, every form field with its type, value and options. Free.
edit_pdf Apply a recipe in one call: watermarks, text, Bates numbering, headers and footers, page changes, metadata, sanitize, form fill and flatten, annotations.

generate_pdf, render_template and get_download_link take an optional save_path to write the PDF to disk. Otherwise they return a download link that is valid for one hour.

Environment

Variable Required Default
PODPDF_API_KEY yes —
PODPDF_API_URL no https://api.podpdf.com

API docs: apidocs.podpdf.com. Support: podpdfapp@gmail.com.