Who's reading this?
One POST request. Instant PDF. No session, no browser, no OAuth dance.
https://mochipdf.com/mcp; CLI-first agents should install the MochiPDF CLI and read skill.mdopenapi.jsonMochiPDF is a REST API your AI agents call directly. You sign up, grab an API key, and hand it to your agent. That's it.
Sign up in 30 seconds. Add a payment method and start generating PDFs immediately.
From your dashboard, generate a key and add it to your agent's environment or system prompt.
Your agent calls the API. Reports, invoices, exports β handled automatically, at scale.
Designed for programmatic use. No GUIs, no friction.
$0.01 per conversion. No monthly minimums. No per-seat pricing. Pay only for what your agents use.
Global edge network via Cloudflare Workers. 300+ locations, no cold starts, consistent performance.
Pass raw HTML strings or a URL. Full CSS support β Flexbox, Grid, custom fonts, media queries.
Capture PNG screenshots from any URL or HTML. Same auth, same simplicity. Great for thumbnails.
Encrypt PDFs, set passwords, restrict printing and copying. Perfect for secure document delivery.
Fire-and-forget mode with webhook callbacks. Agents can queue jobs and receive results asynchronously.
Upload results to your S3/R2 bucket, or use MochiPDF managed storage. Choose your delivery model.
Machine-readable schema at /openapi.json. Feed it to your agent or use it to generate typed clients.
Custom headers, footers, watermarks, page numbers, and margins β all configured via JSON parameters.
Agents can generate thousands of PDFs a day. Every cent matters.
Create an account and add a payment method to get your API key.
Enter your details to continue to secure checkout. A payment method is required.
Save this key β it won't be shown again. Pass it as the X-API-Key header.
This downloads the standalone Node CLI script. If you are already on the target machine, install it there with the command below instead of using the browser download.