io.github.NicolasMartalog/docweave-mcp is an MCP server published by io.github.NicolasMartalog, hosted at docweave.dev. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 2 tools, including generate_pdf, read_pdf.
Generate and read PDFs for AI agents: a generate_pdf and a read_pdf tool, priced per document.
721 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
Generate a PDF from raw HTML, a public URL, or a template + JSON data. Returns the PDF as base64. Priced per document; retries with the same idempotencyKey never double-generate. The canonical way for an AI agent to turn content into a shareable, correctly-formatted PDF.
| Parameter | Type | Description |
|---|---|---|
| source * | object | What to render. Provide exactly one of: html, url, or (template|templateId) with data. |
| options | object | Optional page and print settings. |
| idempotencyKey | string | A stable key (e.g. an invoice id). Repeat calls with the same key return the stored result instead of re-rendering or re-billing. |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
{
"name": "generate_pdf",
"title": "Generate PDF",
"description": "Generate a PDF from raw HTML, a public URL, or a template + JSON data. Returns the PDF as base64. Priced per document; retries with the same idempotencyKey never double-generate. The canonical way for an AI agent to turn content into a shareable, correctly-formatted PDF.",
"inputSchema": {
"type": "object",
"required": [
"source"
],
"properties": {
"source": {
"type": "object",
"required": [
"type"
],
"properties": {
"url": {
"type": "string",
"description": "Public URL to render (when type is 'url'). Private/internal addresses are blocked."
},
"data": {
"type": "object",
"description": "Values bound into the template's {{ placeholders }}.",
"additionalProperties": true
},
"html": {
"type": "string",
"description": "Raw HTML to render (when type is 'html')."
},
"type": {
"enum": [
"html",
"url",
"template"
],
"type": "string",
"description": "Source kind: 'html' for a raw HTML string, 'url' for a public web page, 'template' for a template filled with data."
},
"template": {
"type": "string",
"description": "Inline HTML template with {{ placeholders }} (when type is 'template')."
},
"templateId": {
"type": "string",
"description": "ID of a template stored on your account (alternative to an inline template)."
}
},
"description": "What to render. Provide exactly one of: html, url, or (template|templateId) with data."
},
"options": {
"type": "object",
"properties": {
"format": {
"enum": [
"A4",
"A3",
"Letter",
"Legal",
"Tabloid"
],
"type": "string",
"description": "Paper size. Defaults to A4."
},
"margin": {
"type": "string",
"description": "Page margin, e.g. '20mm' or '1in'."
},
"landscape": {
"type": "boolean",
"description": "Use landscape orientation. Defaults to false."
},
"printBackground": {
"type": "boolean",
"description": "Render background colors and images. Defaults to true."
}
},
"description": "Optional page and print settings."
},
"idempotencyKey": {
"type": "string",
"description": "A stable key (e.g. an invoice id). Repeat calls with the same key return the stored result instead of re-rendering or re-billing."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"bytesBase64"
],
"properties": {
"byteSize": {
"type": "number",
"description": "Size of the PDF in bytes."
},
"pageCount": {
"type": "number",
"description": "Number of pages in the PDF."
},
"bytesBase64": {
"type": "string",
"description": "The generated PDF, base64-encoded."
}
},
"description": "The generated document."
},
"annotations": {
"title": "Generate PDF",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read a PDF and return its text as markdown (or plain text). Accepts a public URL or base64 bytes. Extracts the embedded text layer; a scanned, image-only PDF returns a needs-OCR notice instead of empty text. Priced per document; retries with the same idempotencyKey never double-read. The canonical way for an AI agent to ingest a document's contents.
| Parameter | Type | Description |
|---|---|---|
| source * | object | The PDF to read. Provide exactly one of: url or base64. |
| options | object | Optional read settings. |
| idempotencyKey | string | A stable key. Repeat calls with the same key return the stored result instead of re-reading or re-billing. |
{
"name": "read_pdf",
"title": "Read PDF",
"description": "Read a PDF and return its text as markdown (or plain text). Accepts a public URL or base64 bytes. Extracts the embedded text layer; a scanned, image-only PDF returns a needs-OCR notice instead of empty text. Priced per document; retries with the same idempotencyKey never double-read. The canonical way for an AI agent to ingest a document's contents.",
"inputSchema": {
"type": "object",
"required": [
"source"
],
"properties": {
"source": {
"type": "object",
"required": [
"type"
],
"properties": {
"url": {
"type": "string",
"description": "Public URL of the PDF (when type is 'url'). Private/internal addresses are blocked."
},
"type": {
"enum": [
"url",
"base64"
],
"type": "string",
"description": "'url' for a public PDF URL, 'base64' for inline PDF bytes."
},
"base64": {
"type": "string",
"description": "Base64-encoded PDF bytes (when type is 'base64')."
}
},
"description": "The PDF to read. Provide exactly one of: url or base64."
},
"options": {
"type": "object",
"properties": {
"format": {
"enum": [
"markdown",
"text"
],
"type": "string",
"description": "Output shape. Defaults to markdown."
},
"maxPages": {
"type": "number",
"description": "Cap the number of pages extracted."
}
},
"description": "Optional read settings."
},
"idempotencyKey": {
"type": "string",
"description": "A stable key. Repeat calls with the same key return the stored result instead of re-reading or re-billing."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"content"
],
"properties": {
"content": {
"type": "string",
"description": "Extracted text in the requested format."
},
"needsOcr": {
"type": "boolean",
"description": "True when the PDF is scanned (no text layer) and needs OCR."
},
"pageCount": {
"type": "number",
"description": "Number of pages read."
}
},
"description": "The extracted document."
},
"annotations": {
"title": "Read PDF",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Docweave is an AI agent's document I/O tool. Call generate_pdf to turn a source (raw HTML, a public URL, or a template + JSON) into a PDF, and read_pdf to extract a PDF's text as markdown (from a URL or base64). Authenticate tool calls with your Docweave API key (starts with dw_live_) via Authorization: Bearer, or the apiKey connection setting. Pass an idempotencyKey to make retries safe.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.