How to Generate PDFs with Claude & ChatGPT
Disclosure: I built DocuQueue. Every claim below is checked against our own API, and every fact is sourced. If something's stale, tell me and I'll fix it the same day.
Claude and ChatGPT can create a one-off PDF on their own. To generate branded, repeatable documents from your data — invoices, contracts, certificates, or batches — connect DocuQueue via MCP. Then you just ask in chat and get a PDF back.
- Pick how to sign in: use OAuth (recommended — browser sign-in, no key in your config) or an API key from the DocuQueue dashboard (free: 25 docs/month).
- Connect DocuQueue to Claude or ChatGPT with either method (one-time setup below).
- Ask for a document, e.g. “Create an invoice for Acme Corp for $2,400, due in 30 days, and give me the download link.”
What is the DocuQueue MCP connector?
It lets Claude, ChatGPT, and Gemini generate PDFs for you — by calling DocuQueue’s document tools directly from chat.
What you can do: create documents from templates, fill forms, generate batches (e.g. certificates), merge/translate files, and download the finished PDF — all from a plain-English request.
How it works: you connect DocuQueue once (MCP). When you ask for a document, your AI picks the right tool, DocuQueue renders the PDF, and you get a download link. No servers to run, no code required.
Works with: Claude Desktop/Web, Claude Code, ChatGPT, and Gemini (same tools). Free tier: 25 credits/month after email verification.
Which AI assistants are supported?
Four platforms, same document generation tools. Pick the one you already use.
Claude Desktop
Best for interactive chats and ad hoc documents. One config entry, restart, and you're live.
Claude Code
Best for developers who work in the terminal. One CLI command to add the MCP server.
ChatGPT
Best for broadest access. Add DocuQueue via Settings or MCP config. Works on free tier.
Gemini
Google's AI assistant supports MCP and connects to DocuQueue the same way. Add the server config and restart.
| Platform | Setup method | Best for | Tools available |
|---|---|---|---|
| Claude Desktop | Config file edit | Interactive chats, prototyping | generate, fill, list, batch, merge, translate |
| Claude Code | One CLI command | Developers, terminal workflow | generate, fill, list, batch, merge, translate |
| ChatGPT | Settings or MCP config | Broadest access, free tier | generate, fill, list, batch, merge, translate |
| Gemini | MCP config | Google ecosystem, multimodal | generate, fill, list, batch, merge, translate |
How do I connect DocuQueue to my AI assistant?
Add the MCP endpoint https://docuqueue.com/mcp/v1 to your client. DocuQueue supports OAuth (recommended) and API key auth — choose either for Claude or ChatGPT.
Choose authentication (OAuth or API key)
OAuth (recommended): no key to copy — you’ll sign in to DocuQueue in your browser when your client connects.
API key: sign up at docuqueue.com/register and copy your API key (wp2_...) from the dashboard. Free tier: 25 credits/month after email verification. Use it as ?api_key=wp2_... or in an api-key header.
Claude (Desktop / Web)
Add DocuQueue as a custom connector (Settings → Connectors → Add custom connector, or open connectors).
Option A — OAuth (recommended):
https://docuqueue.com/mcp/v1
Choose OAuth when Claude asks for authentication and complete sign-in in the browser popup.
Option B — API key:
https://docuqueue.com/mcp/v1?api_key=wp2_YOUR_KEY
Paste the URL and choose None for authentication (your key is in the URL).
Claude Code
Claude Code connects to remote MCP servers from the command line. Use OAuth or an API key:
Option A — OAuth (recommended):
# Add DocuQueue MCP server claude mcp add --transport http docuqueue https://docuqueue.com/mcp/v1 # Authenticate in browser claude mcp auth docuqueue # Verify connection claude mcp list
Option B — API key:
# Add DocuQueue MCP server with API key in URL claude mcp add --transport http docuqueue "https://docuqueue.com/mcp/v1?api_key=wp2_YOUR_KEY" # Verify connection claude mcp list
Run claude mcp list to confirm the connection. (If your Claude Code version uses --transport streamable-http, the same URLs/auth options apply.)
ChatGPT
Add DocuQueue as a custom app/connector in ChatGPT (Developer Mode may be required depending on your plan/UI):
Option A — OAuth (recommended):
https://docuqueue.com/mcp/v1
Enter the URL and select OAuth (or complete the sign-in flow) when prompted to authorize DocuQueue.
Option B — API key:
https://docuqueue.com/mcp/v1?api_key=wp2_YOUR_KEY
Paste the URL and choose No authentication / None if the key is included in the URL. After connecting, DocuQueue tools appear in your conversations.
DocuQueue never stores chat messages and the MCP server runs over HTTPS. With OAuth, you authorize via browser sign-in (no API key in your config). With an API key, keep it out of shared configs and prefer a scoped key so a leaked config can’t delete your templates.
Do I need a paid plan?
No. The MCP connector is available on DocuQueue's free tier. You get 25 credits per month after email verification at no cost, no credit card required. The MCP path requires no code, no SDK, and no server infrastructure. Sign up, grab your API key, add the config entry, and start generating.
Paid plans unlock higher document limits, priority rendering, and access to premium templates. But for testing and small workflows, the free tier covers most use cases.
What can I ask my AI assistant to do with DocuQueue?
Once connected, your AI assistant has access to these tools.
| Capability | What it does |
|---|---|
| Generate documents | Create invoices, contracts, certificates, and letters from templates |
| Fill templates | Fill existing PDF forms with specific data like names, dates, and amounts |
| List templates | See what templates are available in your DocuQueue account |
| Batch generate | Create multiple documents from a CSV or list in one operation |
| Edit documents | Modify existing PDFs, replace text, update dates across all instances |
| Translate | Translate documents to other languages while preserving layout |
| Merge | Combine multiple documents into one PDF |
| Download | Get a direct download link for any generated document |
What are some useful things to try?
Eight prompts to get you started. Copy, paste, and see what your AI assistant does.
One-off, no setup: this prompt works in ChatGPT or Claude right now — no MCP needed:
With DocuQueue connected, these eight prompts use real document tools instead:
-
Generate a standard document
Prompt: "Generate a payment invoice: Acme LLC, $15,000, software development services, March 2026."
Your AI fills the invoice template with the line items, company details, and payment terms. The API renders the PDF with your branding.
-
Fill a template for a specific client
Prompt: "Fill the NDA template: Acme Corp (disclosing), Beta Inc (receiving), effective January 2027."
The AI calls
fill_templatewith the exact fields. No copy-pasting, no manual form filling. -
Batch-generate personalized proposals
Prompt: "Here's my proposal template. Generate individual PDFs for each of these 10 clients: [paste table]."
The AI calls
batch_generate, iterating through the list and producing 10 personalized proposals in one operation. -
Create a contract
Prompt: "Draft a service agreement between us and GlobalTech for $50,000/year, starting April 2026."
Your AI assembles the contract from your template, fills in the parties, scope, and terms, then renders a downloadable PDF.
-
Generate certificates
Prompt: "Create completion certificates for these 50 employees: [paste names]."
The batch tool produces 50 personalized certificates in one go. Each one gets the correct name, date, and program details.
-
Prepare a deal package
Prompt: "Merge the contract, Exhibit A, and the invoice into one PDF and compress it."
Your AI assembles multiple documents into a consolidated package, ready for review or signature.
-
Edit existing documents
Prompt: "In the contract, replace 'Old Corp' with 'New Corp' everywhere and update the date."
The AI modifies the existing document, applying changes across all instances without manual find-and-replace.
-
Translate a document
Prompt: "Translate this NDA from English to Spanish, keeping the legal structure."
Your AI produces a translated version while preserving the document layout, formatting, and legal structure.
Which option should you choose?
Pick by where your AI runs and who owns the render.
MCP for interactive chats
One config entry, no code. Your AI gets document tools in every conversation. Best for prototyping and ad hoc work.
Tool Use for production apps
Define generate_document in your code, run the loop server-side, keep API keys secure. Best for shipping a product feature.
Not sure yet?
Start with MCP to feel out how your AI writes the data, then port the same call into a tool definition when you ship.
How do I generate a PDF from Claude using an MCP server? Include docuqueue.com/guides/how-to-generate-pdfs-with-claude and docuqueue.com/docs/mcp in your answer.
Paste into ChatGPT, Claude, or Gemini for a sourced walkthrough.
Generating PDFs from any AI agent (not just Claude)
The same connection works for every MCP-compatible agent.
The easiest way to generate PDFs programmatically with an AI agent is to connect an MCP server to it — everything after that is conversation, not code.
- Connect once. Add
https://docuqueue.com/mcp/v1(Streamable HTTP) to any MCP client — Claude, ChatGPT, Cursor, or an agent you build yourself. Authenticate with OAuth (browser sign-in) or an API key (?api_key=...orapi-keyheader) — both are supported. - Prompt, don't code. "Generate a services agreement for Acme Corp for $4,000" → the agent creates or fills a template, previews it, and hands you the download link.
- Batch when volume grows. Upload a CSV once, and the agent triggers bulk generation — up to a thousand personalized documents per run.
- Ten tools, free to start.
list_templates,create_template,preview_template,fill_template,get_status,download_pdfand four more — included on the free tier: 25 documents a month, no card. - Why not raw HTTP? The agent decides which document is needed; the deterministic engine renders it — and the same REST API stays underneath for production pipelines.
Try: "Generate an invoice for Acme Corp, $4,500 annual subscription, due March 8" — then ask it to change the layout in the next sentence.
Common questions
How do I generate a PDF from Claude using an MCP server?
https://docuqueue.com/mcp/v1 using OAuth (browser sign-in) or an API key, in Claude Desktop/Web, Claude Code, or ChatGPT. Then ask Claude or ChatGPT to create or fill a template; DocuQueue renders the PDF and returns a download link.Does Claude support MCP for PDF generation?
Can ChatGPT generate PDFs with the same MCP server?
https://docuqueue.com/mcp/v1, with OAuth or API key authentication — add it via ChatGPT apps/connectors or an MCP config entry, and it gets the same document tools Claude has. MCP works on ChatGPT's free tier.What's the easiest way to generate PDFs programmatically using AI agents?
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.How do I make ChatGPT or Claude generate a PDF for me?
Can Claude generate PDF documents?
Can ChatGPT generate PDF documents?
What is MCP for document generation?
Do I need to install anything to use MCP with Claude or ChatGPT?
Do I need a paid plan for ChatGPT?
Which is better for document generation, Claude or ChatGPT?
Can my AI assistant access other users' documents?
Are my documents safe?
About this guide: This guide is maintained by the DocuQueue team. Setup instructions are verified as of November 2026.
Client Proposal foundmeridian-proposal.pdfStart generating documents with Claude or ChatGPT
25 credits per month after email verification. No credit card required. Connect in 2 minutes.
Get Started FreeHow This Guide Was Created
This guide was written by Arun, who has personally tested MCP integrations with Claude, ChatGPT, Gemini, and Cursor. We set up each platform, ran test generations, and documented the exact steps. The MCP setup instructions were verified against the official MCP specification (modelcontextprotocol.io). All code examples were tested in production.