Documentation
Everything you need to integrate Pressa.
What is Pressa?
Pressa is a compile-as-a-service platform. Send LaTeX source code through our API, CLI, or MCP server, and get back a publication-quality PDF in seconds. No local LaTeX installation required.
Built for B2B SaaS applications and AI agents that need to generate professional documents - invoices, reports, contracts, academic papers - without managing complex typesetting infrastructure. Save your perfected documents as reusable templates and regenerate them with updated data in seconds.
Quick Start
Compile your first PDF, no account needed
Send LaTeX source to the compile endpoint and get a PDF URL back. No API key is needed: anonymous callers get 3 successful compilations per day, and failed attempts do not count.
curl -X POST https://api.pressa.dev/api/v1/compile \
-H "Content-Type: application/json" \
-d '{"latex": "\\documentclass{article}\\begin{document}Hello World\\end{document}"}'Or from the terminal
No install and no TeX Live: the CLI runs through npx and downloads the PDF to the current directory.
$ npx @pressa/cli compile document.texOr hand it to your AI assistant
Add the hosted MCP server, then ask for a PDF in plain language. The MCP Server guide covers Claude Desktop, Cursor and other clients.
$ claude mcp add --transport http pressa https://api.pressa.dev/mcpCreate a free account for higher limits
A free account raises the limit to 50 compilations per month and allows image assets. Paid plans add saved templates, the asset library and the render API. Generate a key in your dashboard (keys start with pressa_) and send it as an Authorization: Bearer pressa_xxx header.