Generate and read PDFs for AI agents: a generatepdf tool (HTML, a URL, or a template + JSON โ PDF) and a readpdf tool (a PDF โ text/markdown). Run locally with npx @docweave/mcp or use the hosted streamable-HTTP endpoint. Chromium-rendered, priced per document.
Quick Install
Automated & IDE SetupCopy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
Manual Client & Custom JSON ConfigExpand JSON โพ
Install Config Generator
๐ก Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Capabilities & Tool Schemas (2)Self-reported
Inspect callable tools, capabilities, and parameters exposed to AI agents by Mcp.
generate_pdf`source` (one of: raw `html`, a public `url`, or a `template` + `data`) โ a PDF.
read_pdf`source` (`url` or `base64`) โ extracted `content` (markdown or text) + `pageCount`.
Documentation Overview
@docweave/mcp
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 aneedsOcrflag 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.
Install
Or use the zero-install hosted endpoint: https://docweave.dev/api/mcp.
Claude Desktop
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).
Tools
generate_pdf
source (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_pdf
source (url or base64) โ extracted content (markdown or text) + pageCount.
Scanned/image PDFs return needsOcr: true instead of empty text.
About this repo
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.
License
MIT
Related MCP Servers
View all alternativesFrequently Asked Questions about Mcp
How do I install the docweave/mcp MCP server?
Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "mcp": { "command": "npx", "args": ["-y", "docweave/mcp"] } }
What does docweave/mcp do?
Generate and read PDFs for AI agents: a generatepdf tool (HTML, a URL, or a template + JSON โ PDF) and a readpdf tool (a PDF โ text/markdown). Run locally with npx @docweave/mcp or use the hosted streamable-HTTP endpoint. Chromium-rendered, priced per document.
Is the docweave/mcp MCP server free to use?
Yes. docweave/mcp is listed on AllMCPs as a free, open Model Context Protocol server you can install into Claude Desktop, Cursor, or any MCP-compatible client.
