Server data from the Official MCP Registry
PDF, DOCX, Excel generation, ZUGFeRD/XRechnung e-invoicing, PDF signing, receipt OCR.
PDF, DOCX, Excel generation, ZUGFeRD/XRechnung e-invoicing, PDF signing, receipt OCR.
This MCP server exposes the Dokmatiq DocGen API capabilities with clean architecture and proper authentication. The server requires an API key via environment variable, implements appropriate error handling, and uses standard HTTP patterns. Permissions align well with its purpose as a document generation tool. Minor code quality observations exist but do not significantly impact security. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.
6 files analyzed · 8 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: DOCGEN_API_KEY
Environment variable: DOCGEN_BASE_URL
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-dokmatiq-docgen": {
"env": {
"DOCGEN_API_KEY": "your-docgen-api-key-here",
"DOCGEN_BASE_URL": "your-docgen-base-url-here"
},
"args": [
"dokmatiq-docgen-mcp"
],
"command": "uvx"
}
}
}From the project's GitHub README.
Official SDKs for the Dokmatiq DocGen API -- document generation, e-invoicing, Excel workbooks, receipt recognition, and PDF tools in a single API.
| Language | Package | Install |
|---|---|---|
| TypeScript | @dokmatiq/docgen | npm install @dokmatiq/docgen |
| Python | dokmatiq-docgen | pip install dokmatiq-docgen |
| Java | com.dokmatiq:docgen-sdk | Maven / Gradle |
| PHP | dokmatiq/docgen-sdk | composer require dokmatiq/docgen-sdk |
| C# / .NET | Dokmatiq.DocGen | dotnet add package Dokmatiq.DocGen |
Also included: MCP Server for AI assistants (any MCP client — Claude Desktop, Cursor, Continue, Cline, …) and a Claude Code Plugin (one-step install of the MCP plus a triggering skill).
All SDKs provide the same capabilities with idiomatic APIs:
HTML, Markdown, and ODT templates to PDF, DOCX, or ODT -- with field substitution, images, QR codes, tables, watermarks, and stationery overlays.
Embed and extract structured invoice data in PDF invoices (EN16931). Generate, parse, validate, and transform XRechnung XML (CII and UBL).
Create styled XLSX from JSON with formulas, freeze panes, auto-filters, and cell styling. Convert between XLSX, CSV, and JSON. Fill Excel templates.
Extract structured data from receipt and invoice images:
const result = await dg.receipts.extract("receipt.jpg");
// { vendor, date, total: { gross, net, vat }, skr03Account, lineItems, confidence, ... }
const csv = await dg.receipts.exportDatev([result]);
Merge, split, rotate, extract text, read/write metadata, convert to PDF/A.
Sign PDFs with PKCS#12 certificates. Verify existing signatures.
Inspect and fill PDF form fields programmatically.
Render PDF pages as PNG images for thumbnails and previews.
Submit long-running jobs with polling or webhook callbacks.
# 1. Get an API key at https://developer.dokmatiq.com
# 2. Install your SDK of choice
npm install @dokmatiq/docgen # TypeScript
pip install dokmatiq-docgen # Python
composer require dokmatiq/docgen-sdk # PHP
dotnet add package Dokmatiq.DocGen # .NET
# Maven: com.dokmatiq:docgen-sdk # Java
import { DocGen } from "@dokmatiq/docgen";
const dg = new DocGen({ apiKey: "your-api-key" });
// Generate a PDF
const pdf = await dg.htmlToPdf("<h1>Hello World</h1>");
// Build a complex document
const doc = await dg.document()
.html("<h1>Invoice {{nr}}</h1>")
.field("nr", "RE-2026-001")
.watermark("DRAFT")
.asPdf()
.generate();
// Extract receipt data
const receipt = await dg.receipts.extract("receipt.jpg");
// Create an Excel workbook
const xlsx = await dg.excel.generate({
sheets: [{ name: "Report", columns: [...], rows: [...] }]
});
Each SDK has its own detailed README with full examples: TypeScript | Python | Java | PHP | .NET
MIT -- Copyright 2026 Dokmatiq
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
by Taylorwilsdon · Productivity
Control Gmail, Calendar, Docs, Sheets, Drive, and more from your AI