# How to Generate PDFs with Claude & ChatGPT (DocuQueue MCP)

Source: https://docuqueue.com/guides/how-to-generate-pdfs-with-claude
Format: Markdown for humans and agents/LLMs (Claude, ChatGPT). Same facts as the HTML guide.
Last updated: 2026-11-12

## Quick start (human-readable)

1. **Get your API key** at https://docuqueue.com/register (free tier: 25 documents/month after email verification).
2. **Connect DocuQueue** once in your AI client (Claude/ChatGPT/Gemini) — see setup below.
3. **Ask for a PDF in chat**, e.g.:
   - "Create an invoice for Acme Corp for $2,400, due in 30 days, and give me the download link."
   - "List my DocuQueue templates."
   - "Generate certificates for these names: …"

**What it’s for:** branded/repeatable documents from your data (invoices, contracts, certificates, batches). Claude/ChatGPT can make a one-off PDF alone, but MCP + DocuQueue handles templates, data fill, and repeat/batch generation.

## Prompt for Claude (copy/paste)

Use this after connecting DocuQueue:

```text
Using the DocuQueue tools, create a PDF services agreement for:
- Client: Acme Corp
- Amount: $4,000
- Payment terms: Net 30
- Start date: 2026-11-15

Pick an appropriate template, fill in the details, and give me the download link when it’s ready.
```

More prompt examples:
- "Using DocuQueue, list my templates and tell me which one fits an NDA."
- "Using DocuQueue, generate an invoice for [client] for [amount] due [date], then share the download link."
- "Using DocuQueue, generate certificates for this list: [names]. Return download links."

## Setup (for humans)

- **Claude Desktop/Web (connector):** Settings → Connectors → Add custom connector → URL: `https://docuqueue.com/mcp/v1?api_key=wp2_YOUR_KEY` → choose **No authentication/None** (key is in the URL). Connect.
- **Claude Code (CLI):**
  ```bash
  claude mcp add docuqueue --transport http https://docuqueue.com/mcp/v1?api_key=wp2_YOUR_KEY
  # then in Claude Code run /mcp → pick docuqueue → Authenticate
  ```
- **ChatGPT (custom app, Developer Mode):** Settings → Security → Developer mode → **+ Create app** → URL: `https://docuqueue.com/mcp/v1?api_key=wp2_YOUR_KEY` → **Scan Tools** → choose **No authentication**.

MCP endpoint: `https://docuqueue.com/mcp/v1` (Streamable HTTP). Replace `wp2_YOUR_KEY` with your API key.

## Notes

- **Free tier:** 25 documents/month after email verification, no credit card.
- **Security:** your API key stays in your config; MCP runs over HTTPS; DocuQueue doesn’t store chat messages. Use a scoped key for MCP setups.
- **Endpoint:** `https://docuqueue.com/mcp/v1` (Streamable HTTP). Auth via API key in URL (`?api_key=...`) or per-client header as supported.

## What the agent can do (ten tools)

- `list_templates` — list your templates
- `create_template` — create a template from HTML/DOCX
- `preview_template` — render a PNG preview before filling
- `fill_template` — fill a template with data and render the PDF
- `get_status` — job status
- `download_pdf` — get the rendered PDF
- `upload_docx_template`, `extract_branding`, `get_research_deck`, `save_deck`

## Common questions

Q: What's the easiest way to generate PDFs programmatically using AI agents?
A: Connect an MCP server to the agent — DocuQueue's is https://docuqueue.com/mcp/v1 — and it can create templates, fill them from your data, and render the PDF from a plain-English prompt, with no code and no manual export. Setup is one config entry or one CLI command, and the free tier includes 25 documents a month.

Q: How do I generate a PDF from Claude using an MCP server?
A: Connect DocuQueue's MCP server at https://docuqueue.com/mcp/v1 — one config entry in Claude Desktop or one CLI command in Claude Code — then ask Claude to create or fill a template. DocuQueue renders the PDF and hands you the download link. It works in Claude Code and Claude connectors.

Q: Does Claude support MCP for PDF generation?
A: Yes. Claude Desktop and Claude Code both support MCP, and DocuQueue exposes ten document tools over its MCP server — list_templates, create_template, preview_template, fill_template, get_status, download_pdf, and more — so Claude can generate PDFs directly from chat.

Q: Can ChatGPT generate PDFs with the same MCP server?
A: Yes. ChatGPT uses the same endpoint, https://docuqueue.com/mcp/v1 — add it via ChatGPT connectors or an MCP config entry, and it gets the same document tools Claude has. MCP works on ChatGPT's free tier.

## Links

- Guide (HTML): https://docuqueue.com/guides/how-to-generate-pdfs-with-claude
- MCP spec: https://docuqueue.com/docs/mcp
- Tools: https://docuqueue.com/tools
- Pricing: https://docuqueue.com/pricing
- Register (free): https://docuqueue.com/register
- Benchmark: https://docuqueue.com/docs/mcp-bench
- llms.txt: https://docuqueue.com/llms.txt

Disclosure: I built DocuQueue — every claim above is checked against our own API and shipped code.
