
Dokmatiq DocGen
Generate invoices, contracts, and spreadsheets—including EU e-invoices and receipt OCR—through Dokmatiq from your agent.
Overview
Dokmatiq DocGen MCP is a Build-phase MCP server that generates PDF, DOCX, and Excel documents with e-invoicing, signing, and receipt OCR via the Dokmatiq API.
What is this MCP server?
- PDF, DOCX, and Excel generation with stationery overlay
- ZUGFeRD and XRechnung compliant e-invoicing support
- Document signing and receipt OCR capabilities
- PyPI package dokmatiq-docgen-mcp v0.1.2 with stdio transport
- Requires DOCGEN_API_KEY from developer.dokmatiq.com
- MCP package version 0.1.2 on PyPI
- Default API base https://api.dokmatiq.com unless DOCGEN_BASE_URL set
- Repository subfolder mcp in github.com/dokmatiq/docgen-sdks
What problem does it solve?
Builders waste days wiring PDF engines, EU invoice XML, and OCR pipelines when agents still cannot emit compliant documents on demand.
Who is it for?
Indie SaaS and EU-facing businesses that need agent-driven invoicing, contracts, and receipt capture without maintaining a full doc stack.
Skip if: Teams that only need markdown READMEs, refuse third-party doc APIs, or do not need PDF/DOCX/e-invoice outputs.
What do I get? / Deliverables
After adding DOCGEN_API_KEY, your agent can call DocGen tools to produce overlaid stationery files, ZUGFeRD/XRechnung invoices, signed PDFs, and OCR’d receipts in one flow.
- Generated PDF, DOCX, or Excel with optional stationery overlay
- EU-style e-invoices (ZUGFeRD/XRechnung), signed PDFs, or OCR’d receipt data
Recommended MCP Servers
Journey fit
How it compares
Hosted document-generation MCP API, not a local Pandoc skill or pure markdown docs generator.
Common Questions / FAQ
Who is Dokmatiq DocGen MCP for?
Solo builders and small teams shipping billing, contracts, or back-office docs who want Claude Code or Cursor to call Dokmatiq generation APIs.
When should I use Dokmatiq DocGen MCP?
Use it in Build docs for deliverables, Validate scope for invoice requirements, or Operate iterate when updating templates and e-invoice formats.
How do I add Dokmatiq DocGen MCP to my agent?
Install dokmatiq-docgen-mcp from PyPI, set DOCGEN_API_KEY (and optional DOCGEN_BASE_URL), then register the stdio MCP server in your agent client.