Dokmatiq DocGen
Generate PDF, DOCX and Excel documents, e-invoices and signed PDFs, and recognize receipts.
Connector by dokmatiq · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/dokmatiq-docgen
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 26, 2026.
- Tools
- 24 read · 7 write · 1 delete · 8 not yet classified
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- None found
- Runs as
- Python package
Tools by what they do 40
Read from the source code; the running server may list different tools.
Read 24 · Look things up without changing anything.
convert_to_pdfacsv_to_exceldetect_xrechnungexcel_to_csvexcel_to_jsonextract_receiptextract_text_from_pdfextract_zugferdget_pdf_metadataget_pdf_page_countget_receipt_jobget_receipt_job_result
Show 12 more tools
inspect_excelinspect_pdf_formlist_certificateslist_fontslist_receipt_jobslist_templatesparse_xrechnungpreview_pdf_pagereceipt_to_documentvalidate_xrechnungvalidate_zugferdverify_pdf_signatures
Write 7 · Create, change, send or run things.
compose_documentcreate_invoicefill_excel_templatefill_pdf_formmerge_pdfssign_pdfupload_template
Delete 1 · Delete, drop, revoke or wipe things.
delete_template
Not yet classified 8 · We could not tell from the name and description.
export_receipts_csvexport_receipts_xlsxextract_receipt_asyncgenerate_documentgenerate_excelgenerate_pdf_from_htmlgenerate_pdf_from_markdownrotate_pdf
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
DOCGEN_API_KEY
Other settings (environment variables or headers).
DOCGEN_BASE_URL
Network hosts it talks to 4
api.dokmatiq.com· found in codedeveloper.dokmatiq.com· found in codedokmatiq.com· found in codegithub.com· found in code
Files it touches
- Any path the agent passes to its tools
Tools (40)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
compose_documentCompose a multi-part document from several sections. Each part is a dict with: htmlContent, markdownContent, templateName, fields. Args: parts: List of document parts. Each part can have htmlContent, markdownContent, templateName, fields. watermark: Optional diagonal watermark text overlay. output_format: Output format – PDF, DOCX, or ODT (default: PDF). Returns: Base64-encoded document bytes.
convert_to_pdfaConvert a PDF to PDF/A archival format. Args: pdf_base64: Base64-encoded PDF file. Returns: Base64-encoded PDF/A file.
create_invoiceCreate a ZUGFeRD-compliant invoice PDF with structured e-invoicing data. Each item in the items list should have: description, unitPrice, and optionally quantity, unit (C62=piece, HUR=hour, DAY=day, KGM=kg), vatRate. Args: invoice_number: Unique invoice number (e.g. "RE-2026-001"). invoice_date: Invoice date in ISO format (e.g. "2026-04-12"). seller_name: Seller company name. seller_street: Seller street address. seller_zip: Seller postal code. seller_city: Seller city. buyer_name: Buyer company name. buyer_street: Buyer street address. buyer_zip: Buyer po…
csv_to_excelConvert CSV content into a styled Excel workbook. Auto-formats with header styling, auto-filter, frozen header row, and auto-sized columns. Args: csv_content: Raw CSV text content. delimiter: CSV delimiter (default: comma). has_header: Whether the first row is a header (default: true). sheet_name: Name for the sheet tab (default: "Data"). Returns: Base64-encoded XLSX file.
delete_templateDelete a template by name. Args: name: Name of the template to delete. Returns: Confirmation message.
detect_xrechnungDetect if an XML document is an XRechnung and identify its format. Args: xml: XML content to analyze. Returns: JSON with detection result (detected, format, version).
excel_to_csvExtract data from an Excel sheet and return it as CSV text. Args: excel_base64: Base64-encoded Excel file. sheet_index: Sheet index to extract (0-based, default: 0). delimiter: CSV delimiter (default: comma). Returns: CSV text content.
excel_to_jsonExtract data from an Excel sheet and return structured JSON. Returns headers (if present) and typed data rows. Args: excel_base64: Base64-encoded Excel file. sheet_index: Sheet index to extract (0-based, default: 0). has_header: Whether the first row is a header (default: true). Returns: JSON with sheetName, totalRows, headers, and data array.
export_receipts_csvExport extracted receipt data as DATEV-compatible CSV. Args: receipts: List of receipt extraction results (from extract_receipt). Returns: Base64-encoded CSV file.
export_receipts_xlsxExport extracted receipt data as Excel workbook (XLSX). Args: receipts: List of receipt extraction results (from extract_receipt). Returns: Base64-encoded XLSX file.
extract_receiptExtract structured data from a receipt or invoice image using AI. Returns vendor, date, totals (gross/net/VAT per rate), line items, currency, payment method, SKR03/04 account, category, and confidence score. Args: image_base64: Base64-encoded receipt image (JPEG, PNG) or PDF. filename: Original filename (helps with format detection). content_type: MIME type (default: image/jpeg). Use application/pdf for PDF receipts. Returns: JSON with extracted receipt data.
extract_receipt_asyncSubmit a receipt for async AI extraction. Returns a job ID for polling. Use get_receipt_job to check status and get_receipt_job_result for the result. Args: image_base64: Base64-encoded receipt image or PDF. filename: Original filename. content_type: MIME type (default: image/jpeg). callback_url: Optional webhook URL to receive the result. Returns: JSON with jobId and status.
extract_text_from_pdfExtract all text content from a PDF. Args: pdf_base64: Base64-encoded PDF file. Returns: Extracted text content.
extract_zugferdExtract structured invoice data from a ZUGFeRD/Factur-X PDF. Args: pdf_base64: Base64-encoded ZUGFeRD PDF. Returns: JSON with extracted invoice data.
fill_excel_templateFill an Excel template with data at named cells and ranges. Args: template_base64: Base64-encoded Excel template file. values: Cell values to set (key = cell ref like 'Sheet1!A1' or named range, value = content). tables: Table data to insert at named ranges (key = range name, value = row arrays). recalculate: Recalculate formulas after filling (default: true). Returns: Base64-encoded filled XLSX file.
Show 25 more tools
fill_pdf_formFill form fields in a PDF. Args: pdf_base64: Base64-encoded PDF file with form fields. fields: Field name-value pairs to fill. flatten: Whether to flatten the form (make fields non-editable). Returns: Base64-encoded filled PDF.
generate_documentGenerate a document with optional template, fields, and watermark. Args: html_content: HTML content for the document body. markdown_content: Markdown content (alternative to HTML). template_name: Name of a pre-uploaded template (ODT/DOCX). fields: Template field replacements (key-value pairs). watermark: Diagonal watermark text overlay. output_format: Output format – PDF, DOCX, or ODT (default: PDF). Returns: Base64-encoded document bytes.
generate_excelGenerate an Excel workbook (.xlsx) from a structured JSON definition. The request dict should contain: sheets: List of sheet definitions, each with: name: Sheet tab name columns: Column definitions (header, width, format, align) rows: Data rows (list of dicts with 'values' or 'cells') formulas: List of formula definitions (cell, formula, label) headerFooter: Print header/footer configuration printArea: Print area in A1 notation freezePane: {row, col} for frozen panes headerStyle/dataStyle: Cell styling definitions aut…
generate_pdf_from_htmlGenerate a PDF from HTML content. Args: html: HTML content to convert to PDF. Returns: Base64-encoded PDF bytes.
generate_pdf_from_markdownGenerate a PDF from Markdown content. Args: markdown: Markdown content to convert to PDF. Returns: Base64-encoded PDF bytes.
get_pdf_metadataGet metadata (title, author, page count, etc.) from a PDF. Args: pdf_base64: Base64-encoded PDF file. Returns: JSON string with metadata fields.
get_pdf_page_countGet the total number of pages in a PDF. Args: pdf_base64: Base64-encoded PDF file. Returns: Page count.
get_receipt_jobCheck the status of an async receipt extraction job. Args: job_id: The job ID returned by extract_receipt_async. Returns: JSON with job status (PENDING, PROCESSING, COMPLETED, FAILED).
get_receipt_job_resultGet the extraction result of a completed async receipt job. Args: job_id: The job ID returned by extract_receipt_async. Returns: JSON with extracted receipt data.
inspect_excelInspect an Excel workbook and return metadata. Returns sheet names, row/column counts, and named ranges. Args: excel_base64: Base64-encoded Excel file. Returns: JSON with sheetCount, sheets array, and namedRanges.
inspect_pdf_formInspect form fields in a PDF and return their names, types, and current values. Args: pdf_base64: Base64-encoded PDF file with form fields. Returns: JSON array of form field definitions.
list_certificatesList all uploaded signing certificates. Returns: JSON array of certificate info objects.
list_fontsList all uploaded custom fonts. Returns: JSON array of font info objects.
list_receipt_jobsList all async receipt extraction jobs. Returns: JSON array of job info objects.
list_templatesList all uploaded document templates. Returns: JSON array of template info objects.
merge_pdfsMerge multiple PDFs into a single PDF. Args: pdfs_base64: List of base64-encoded PDF files to merge. Returns: Base64-encoded merged PDF.
parse_xrechnungParse XRechnung XML into structured invoice data. Args: xml: XRechnung XML content. Returns: JSON with parsed invoice data.
preview_pdf_pageRender a PDF page as a PNG image preview. Args: pdf_base64: Base64-encoded PDF file. page: Page number (1-based, default: 1). dpi: Resolution in DPI (default: 150). Returns: Base64-encoded PNG image.
receipt_to_documentExtract receipt data and generate an expense report document. Combines AI extraction with document generation in a single step. Args: image_base64: Base64-encoded receipt image or PDF. filename: Original filename. content_type: MIME type (default: image/jpeg). output_format: Output format – PDF, DOCX, or ODT (default: PDF). title: Document title (default: "Spesenbeleg"). template_name: Optional template for the expense report layout. Returns: JSON with extracted data and base64-encoded document.
rotate_pdfRotate pages in a PDF. Args: pdf_base64: Base64-encoded PDF file. angle: Rotation angle in degrees (90, 180, 270). pages: Page range to rotate (e.g. "1-3", "all"). Default: all pages. Returns: Base64-encoded rotated PDF.
sign_pdfDigitally sign a PDF with a PKCS#12 certificate. Args: pdf_base64: Base64-encoded PDF to sign. certificate_name: Name of a pre-uploaded certificate. certificate_password: Password for the certificate. reason: Reason for signing. location: Location of signing. Returns: Base64-encoded signed PDF.
upload_templateUpload a document template (ODT or DOCX). Args: template_base64: Base64-encoded template file. filename: Filename for the template (e.g. "invoice.odt"). Returns: JSON with upload result.
validate_xrechnungValidate XRechnung XML for compliance. Args: xml: XRechnung XML content. Returns: JSON validation result (valid, format, errors, warnings).
validate_zugferdValidate a ZUGFeRD/Factur-X PDF for compliance. Args: pdf_base64: Base64-encoded PDF with embedded ZUGFeRD data. Returns: JSON validation result (valid, profile, errors, warnings).
verify_pdf_signaturesVerify digital signatures in a PDF. Args: pdf_base64: Base64-encoded signed PDF. Returns: JSON with verification results (signed, signatureCount, allValid, signatures).
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Weekly downloads
- 81
- Last commit (this folder)
- Sep 26, 2026 (1 month ago)
- Last release
- Sep 26, 2026 (1 month ago)
- Last package publish
- Sep 26, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.dokmatiq/docgen- Version
- 0.1.3
- Auth
- API key
- Packages
- pypi dokmatiq-docgen-mcp
- License
- MIT
- Repository
- github.com/dokmatiq/docgen-sdks
- Website
- dokmatiq.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 25, 2026
Cite this page
Dokmatiq DocGen MCP server. Agent Mart. https://agentmart.dev/connectors/dokmatiq-docgen (last updated 2026-10-25)