Dokmatiq DOKMATIQ

Use Dokmatiq DocGen with Claude Code and Codex

Connect AI coding agents to the Dokmatiq DocGen API. The MCP server exposes PDF generation, e-invoicing, Excel generation, PDF tools and receipt recognition as tools; the dokmatiq-docgen skill tells Claude Code or Codex when to use them.

PDFs on company letterhead

Generate documents on approved stationery, including first-page and continuation-page backgrounds.

E-invoices

Create ZUGFeRD/Factur-X invoices, validate XRechnung XML and extract structured invoice data.

Document tools for agents

Merge PDFs, fill forms, generate Excel workbooks, sign PDFs and analyze receipts through MCP tools.

Install in Claude Code

Install the public Dokmatiq plugin marketplace, then add the DocGen plugin. Claude Code will load the MCP server configuration and the triggering skill.

/plugin marketplace add dokmatiq/claude-plugins
/plugin install docgen@dokmatiq

Install the skill in Codex

Install the skill from the public SDK repository, then configure the MCP server named docgen.

python3 ~/.codex/skills/.system/skill-installer/scripts/install-skill-from-github.py \
  --repo dokmatiq/docgen-sdks \
  --path plugin/skills/dokmatiq-docgen

Configure the MCP server

The MCP server requires Python 3.11+ and a Dokmatiq API key. If docgen-mcp is installed into ~/.local/bin, make sure that directory is on the PATH used by your MCP client, or configure the absolute command path.

python3.11 -m pip install --user dokmatiq-docgen-mcp
export DOCGEN_API_KEY="dk_live_xxxxxxxxxxxxx"