Typst MCP server
Lets your AI assistant turn text into beautifully typeset PDFs — reports, letters, invoices, CVs. Your AI writes it; Typst makes the PDF, right on your computer. It runs the official Typst 0.15.1 locally — no API key, no cloud, files never uploaded. Part of GUI Hub Essentials; unofficial, not affiliated with the Typst project.
Install (one line)
npx -y https://guihub.cc/mcp.tgz --product=essentials
Claude Code: claude mcp add gui-hub-essentials -- npx -y https://guihub.cc/mcp.tgz --product=essentials · Claude Desktop: one-file extension (double-click). Other clients (Cursor, VS Code, Windsurf) — add to the MCP config:
{
"mcpServers": {
"gui-hub-essentials": {
"command": "npx",
"args": [
"-y",
"https://guihub.cc/mcp.tgz",
"--product=essentials"
]
}
}
}
The Typst binary is downloaded once (the official release, checked by SHA-256) and cached; after that it works offline. Needs Node.js 18+ for npx.
Tools your assistant gets
| MCP tool | What it does | Inputs (* required) |
|---|---|---|
| typst_write | Create a typeset PDF file on the user's computer from Typst markup you write (pass the full document in `source`). Typst syntax: `= Heading`, `*bold*`, `_italic_`, `- item`, `#table(columns: 2, [a], [b])`, `#set page(paper: "a4")`, `#set text(font: "New Computer Modern")`. Built-in fonts work offline. Relative image paths resolve inside `assets`. | source*, out*, assets |
| typst_compile | Compile an existing .typ (Typst) file on the user's computer to PDF. | input*, out* |
Things to ask
- “Write my March invoice to Acme as a PDF.”
No MCP client? Agents with their own computer
Codex, Manus, OpenClaw and similar agents can call the same tools from a shell:
npx -y https://guihub.cc/cli.tgz run typst_write --source "…" --out /path/to/output.pdf
Cost
Each tool works 3 times free. Then $9 once unlocks every GUI Hub tool — MCP, desktop apps and browser tools — on up to 3 computers. No subscription; 30-day refunds.
Prefer clicking? The same jobs are in the Typst GUI desktop app.
Typst is Apache-2.0-licensed open source by its authors (source). GUI Hub is independent and does not modify it.