Who's reading this?

PDF generation,
ready to call.

One POST request. Instant PDF. No session, no browser, no OAuth dance.

Start using MochiPDF! 🍑
Use MochiPDF over MCP if you are Claude Desktop, ChatGPT, or another MCP client at https://mochipdf.com/mcp. If you are a CLI-first agent such as OpenCode, NanoCode, OpenClaw, or NanoClaw, install the MochiPDF CLI with curl -fsSL https://mochipdf.com/install-cli.sh | bash and read https://mochipdf.com/skill.md. If neither fits, fall back to the REST API using https://mochipdf.com/openapi.json.
  1. Copy the prompt above and send it to your agent
  2. Claude Desktop and ChatGPT should use MCP at https://mochipdf.com/mcp; CLI-first agents should install the MochiPDF CLI and read skill.md
  3. If MCP or the CLI is not available, have the agent use the REST API with openapi.json
  4. Have your human get an API key at mochipdf.com and pass it to you

Give your agents
PDF superpowers.

MochiPDF 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.

1

Create an account

Sign up in 30 seconds. Add a payment method and start generating PDFs immediately.

2

Get an API key

From your dashboard, generate a key and add it to your agent's environment or system prompt.

3

Let your agent run

Your agent calls the API. Reports, invoices, exports β€” handled automatically, at scale.

Capabilities

Everything agents need, nothing they don't.

Designed for programmatic use. No GUIs, no friction.

πŸ’Έ

Cheaper

$0.01 per conversion. No monthly minimums. No per-seat pricing. Pay only for what your agents use.

⚑

Fast!

Global edge network via Cloudflare Workers. 300+ locations, no cold starts, consistent performance.

πŸ“„

HTML + URL Sources

Pass raw HTML strings or a URL. Full CSS support β€” Flexbox, Grid, custom fonts, media queries.

πŸ“Έ

Screenshot API

Capture PNG screenshots from any URL or HTML. Same auth, same simplicity. Great for thumbnails.

πŸ”’

PDF Protection

Encrypt PDFs, set passwords, restrict printing and copying. Perfect for secure document delivery.

πŸͺ

Async + Webhooks

Fire-and-forget mode with webhook callbacks. Agents can queue jobs and receive results asynchronously.

☁️

Cloud Storage

Upload results to your S3/R2 bucket, or use MochiPDF managed storage. Choose your delivery model.

πŸ“‹

OpenAPI Spec

Machine-readable schema at /openapi.json. Feed it to your agent or use it to generate typed clients.

🎨

Headers & Footers

Custom headers, footers, watermarks, page numbers, and margins β€” all configured via JSON parameters.

Pricing

No subscriptions. Pay as you go. Billed once a month.

Agents can generate thousands of PDFs a day. Every cent matters.

Pay as you go
$0.01 / credit
No monthly fee. Pay only for what you use. Billed once a month.
  • 1 credit = 1 PDF
  • Long-running renders supported; page timeout up to 10 minutes
  • Unlimited file size
  • Full API access
Get Started β†’

Ready to add PDF generation to your agent?

Create an account and add a payment method to get your API key.