The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Docweave MCP listing page.
The open-source MCP server for Docweave — give any MCP client (Claude, Cursor, Windsurf, and others) two document tools:
generate_pdf — turn raw HTML, a public URL, or a template + JSON into a real PDF.read_pdf — turn a PDF (URL or base64) into clean text / markdown, with a needsOcr
flag for scanned documents.One MCP server for an agent's document I/O — write a document, read a document — priced per document, not per page.
Or use the zero-install hosted endpoint: https://docweave.dev/api/mcp.
Tool calls that hit the hosted API authenticate with a Docweave API key
(Authorization: Bearer dw_live_…) — get one free at https://docweave.dev/signup
(50 documents/month, no card).
generate_pdfsource (one of: raw html, a public url, or a template + data) → a PDF.
Optional page options (format, landscape, margins). Idempotency-key aware, SSRF-guarded
URL rendering.
read_pdfsource (url or base64) → extracted content (markdown or text) + pageCount.
Scanned/image PDFs return needsOcr: true instead of empty text.
This is the source of the @docweave/mcp
npm package, published from the Docweave monorepo and listed on the
official MCP registry as
io.github.NicolasMartalog/docweave-mcp. The npm package ships bundled with its render
engine; install it with npx as above.
MIT