
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@docweave/mcp
Advanced tools
MCP server for AI agents to generate AND read PDFs: generate_pdf (HTML, a URL, or a template + JSON → PDF) and read_pdf (a PDF → text/markdown). Works with Claude, Cursor, and any MCP client.
An MCP server that gives your AI agent a
generate_pdf tool. Turn HTML, a URL, or a template + JSON into a real PDF —
from Claude, Cursor, or any MCP client. Free, open source, renders locally with Chromium.
Built by Docweave — the PDF/document-generation API for AI agents.
Add it to your MCP client config (Claude Desktop, Cursor, Windsurf, …):
{
"mcpServers": {
"docweave": {
"command": "npx",
"args": ["-y", "@docweave/mcp"]
}
}
}
First run downloads a Chromium build via Playwright. If it doesn't render, run once:
npx playwright install chromium
generate_pdf tool{
"source": {
"type": "template", // "html" | "url" | "template"
"template": "<h1>Invoice {{ n }}</h1>",
"data": { "n": "INV-042" }
},
"options": { "format": "A4" }, // optional: format, landscape, printBackground
"outputPath": "/tmp/invoice.pdf" // optional; if omitted, base64 is returned
}
file:// are blocked).data into an inline template via {{ placeholders }}.Example asks your agent can now do: "Generate an invoice PDF for order #042 and save it to my Desktop."
Every request the browser makes (page + subresources) is intercepted: non-http(s)
schemes (file://) are blocked, and any host that resolves to a private/loopback/
link-local IP is refused — so crafted HTML can't exfiltrate local files or hit
internal services. Set DOCWEAVE_ALLOW_PRIVATE_URLS=1 to opt out (e.g. rendering
your own localhost).
Need metering, stored templates, higher limits, and per-document billing? The
hosted Docweave API wraps the same engine behind
POST /api/v1/pdf.
MIT
FAQs
MCP server for AI agents to generate AND read PDFs: generate_pdf (HTML, a URL, or a template + JSON → PDF) and read_pdf (a PDF → text/markdown). Works with Claude, Cursor, and any MCP client.
We found that @docweave/mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.