Generates PDFs from HTML, URLs, or templates and extracts text or Markdown from PDFs through MCP.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Docweave 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`.
The docweave/mcp MCP server provides two document-focused tools through the Model Context Protocol: generate_pdf and read_pdf. It is the MCP package for Docweave and is intended for clients such as Claude Desktop, Cursor, and Windsurf.
generate_pdf creates a PDF from one of three inputs: raw HTML, a public URL, or a template together with JSON data. Page settings can optionally specify the paper format, landscape mode, and margins. Rendering uses Chromium, so the tool is suited to producing PDFs from web-oriented document content.
read_pdf accepts a PDF URL or base64-encoded PDF data. It returns extracted content as text or Markdown, along with the document's page count. For scanned or image-only PDFs, the response reports needsOcr: true rather than returning empty extracted text.
An MCP client invokes either tool and supplies a structured source value. For PDF generation, the source identifies HTML, a public URL, or a template and its associated data. For PDF reading, the source identifies a URL or base64 content. The generated document or extracted result is returned to the client through MCP.
URL-based rendering is restricted by SSRF protections, and generation supports idempotency keys. The hosted service is available at https://docweave.dev/api/mcp. Requests sent to that hosted API require a Docweave bearer API key.
The docweave/mcp MCP server can run locally from the published npm package with:
A Claude Desktop configuration can register it as a local stdio server using npx and the -y flag. The package includes its render engine, so the documented installation does not require a separate Chromium setup.
Alternatively, an MCP client can use the hosted streamable-HTTP endpoint without installing the package. Hosted calls authenticate with a Docweave API key in the Authorization: Bearer ... header. The README states that a free account includes 50 documents per month without a card; usage is priced per document rather than per page.
The URL input for generation must be public, and URL rendering includes SSRF protections. The documented reading behavior identifies scanned PDFs with needsOcr; it does not state that OCR is performed by the server. Hosted use requires a Docweave API key, while the README does not specify a separate credential requirement for the local command. Pricing information in the source applies to Docweave document processing, not to the open-source package itself.
The docweave/mcp MCP server is licensed under MIT. Its repository is the source for the @docweave/mcp npm package, and the package is also listed in the official MCP registry.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/docweave-mcp)<a href="https://allmcps.com/mcp/docweave-mcp"><img src="https://allmcps.com/api/badge/docweave-mcp?style=directory" alt="Docweave MCP on AllMCPs" /></a>