@docweave/mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@docweave/mcp generate a PDF from this URL: https://example.com/report"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@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
npx @docweave/mcpOr use the zero-install hosted endpoint: https://docweave.dev/api/mcp.
Claude Desktop
{
"mcpServers": {
"docweave": { "command": "npx", "args": ["-y", "@docweave/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).
Related MCP server: pdf-reader-mcp
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
Available Tools
1 toolgenerate_pdfGenerate PDFAIdempotent
Generate a PDF from raw HTML, a public URL, or a template + JSON data. Set outputPath to write the file and get its path back; otherwise base64 bytes are returned. The canonical way for an AI agent to turn content into a shareable, correctly-formatted PDF.
Inputs: source (required), options, outputPath.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or confusion between tools. The single tool has a clear, distinct purpose.
The tool name 'generate_pdf' follows a clear verb_noun pattern. With only one tool, consistency is perfect and the name is descriptive.
A single tool suggests a very narrow scope. While PDF generation is a specific task, the server might benefit from additional related tools (e.g., listing templates or managing output) to feel more complete. The count is borderline thin.
The tool covers multiple input types (HTML, URL, template+data) and options (file path or bytes). However, there is no management of templates or output files, and no other lifecycle operations, leaving notable gaps for a full document workflow.
Maintenance
Related MCP Connectors
Document processing over MCP: merge, split and compress PDFs, run OCR, extract document text.
PDF tools + QR over MCP: merge, split, rotate, text, metadata, malicious-content scan.
HTML/URL to PDF rendering API with a remote MCP server. Send HTML or a URL, get a print-ready PDF back.
MCP server for the PDFGate API. Generate PDFs, manage documents and handle e-signatures.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that provides tools for reading, writing, and manipulating PDF files, including text extraction, metadata retrieval, and merging or splitting documents. It also enables users to create PDFs from plain text and convert specific pages or entire documents into images.1-
- FlicenseNot gradedqualityDmaintenanceMCP server for extracting text from PDF files, supporting local files and URLs.-
- AlicenseAqualityBmaintenanceRust-powered PDF toolkit over MCP: create, read, and analyze PDFs; extract text and entities for RAG; convert to Markdown; split/merge/rotate/reorder pages; manage form fields and annotations; encrypt documents. Runs locally via uvx oxidize-mcp.121,164 PyPI6MIT
- AlicenseNot gradedqualityCmaintenanceA local MCP server that drives PDFium and pypdf to perform comprehensive PDF operations including inspection, assembly, page editing, watermarking, rendering, extraction, form filling, encryption, compression, attachments, bookmarks, and metadata management.MIT