Docweave vs CraftMyPDF
CraftMyPDF is a template-based PDF generation service for producing documents from reusable layouts. Docweave supports the same template + JSON workflow — and adds raw HTML and URL sources, Chromium rendering, per-document pricing, and an MCP-native generate_pdf tool for AI agents.
Where Docweave differs
- →MCP-native and agent-first. A first-class, open-source
generate_pdftool (npx @docweave/mcp) any MCP client can call directly. - →More than templates. Render a template + JSON, raw HTML, or a public URL — all from the same endpoint.
- →Per-document pricing. Billed per document rather than per page, so pricing is predictable across document sizes.
- →Chromium rendering. The same layout engine you develop against in the browser produces the final PDF.
Switching from CraftMyPDF
Send a template and JSON data to a single endpoint and get a PDF back:
curl https://docweave.dev/api/v1/pdf \
-H "Authorization: Bearer dw_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"source": {
"type": "template",
"template": "<h1>Invoice {{ number }}</h1><p>Total: {{ total }}</p>",
"data": { "number": "1024", "total": "$480.00" }
},
"options": { "format": "A4" }
}' \
--output invoice.pdfFAQ
Is Docweave a CraftMyPDF alternative?
Yes for template-driven documents: you provide a template and JSON data, and Docweave binds the data in and returns a PDF. Docweave also accepts raw HTML or a URL, and ships an MCP server so agents can generate documents directly.
How do templates work in Docweave?
Send a source of type template with your HTML template and a JSON data object. Docweave binds the data into the template and renders the result with Chromium. You can pass the template inline or reference a stored one.
What is different about Docweave?
It is MCP-native and agent-first: an open-source generate_pdf tool (npx @docweave/mcp) that Claude, Cursor, and any MCP client can call, plus per-document pricing and HTML and URL sources in addition to templates.
How does pricing compare?
Template PDF services often meter by template render, page, or plan tier. Docweave uses transparent per-document pricing. Check each provider's current pricing page for exact numbers.
Try the MCP-native PDF API.
Get an API key