Quire PDF

v0.2.0
dev.quirepdf/quirepdf-mcp Checked 1 day ago Published 1 month ago

Turn JSON into polished PDFs: invoices, receipts, quotes, certificates, or any data.

An MCP server that lets AI agents turn JSON into polished PDFs: invoices, receipts, quotes, certificates, reports, or any data at all. Get a key with npx quirepdf-cli login you@example.com. Optional: QUIRE_OUTPUT_DIR (where files are saved; default is the working directory). Tools | Tool | What it does | |---|---| | render_document | JSON → PDF saved to disk (or a PNG page, also returned as an image the agent can see). Template optional. | | validate_document | Check data and see which template would be used. Free. | | list_templates | The built-in templates.

Summary extracted from the README.

quirepdf-mcp

An MCP server that lets AI agents turn JSON into polished PDFs: invoices, receipts, quotes, certificates, reports, or any data at all.

Add it to your agent

Claude Code

claude mcp add quire --env QUIRE_API_KEY=qk_live_... -- npx -y quirepdf-mcp

Claude Desktop / Cursor / any MCP client (mcpServers config):

{
  "mcpServers": {
    "quire": {
      "command": "npx",
      "args": ["-y", "quirepdf-mcp"],
      "env": { "QUIRE_API_KEY": "qk_live_..." }
    }
  }
}

Get a key with npx quirepdf-cli login you@example.com. Optional: QUIRE_OUTPUT_DIR (where files are saved; default is the working directory).

Tools

Tool What it does
render_document JSON → PDF saved to disk (or a PNG page, also returned as an image the agent can see). Template optional.
validate_document Check data and see which template would be used. Free.
list_templates The built-in templates.
get_template A template's fields (JSON Schema) and a full sample.
get_usage Plan and renders used this month.

Try asking your agent: "Make me a PDF invoice for 3 hours of consulting at $150/h for Acme Corp" or "Turn this JSON into a report PDF".

Development

npm install && npm test   # a real MCP client drives the server over stdio against the real engine