xrechnung-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| validate_xrechnungA | Validate an XRechnung or ZUGFeRD/Factur-X XML document against the EN 16931 core model. Returns a structured report with severity-graded issues. Stateless, offline. |
| parse_invoiceA | Parse an XRechnung or ZUGFeRD/Factur-X XML document into a normalized invoice structure with header, totals, line items, and tax breakdown. Useful for extracting invoice data without the full validation cycle. |
| extract_zugferdA | Extract the embedded Factur-X XML from a ZUGFeRD PDF. Input is the PDF content as a base64-encoded string. Returns the embedded XML as a UTF-8 string, or an empty string if no XML is found. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool has a distinct role: validate (report), parse (data extraction), extract (PDF payload). However, validate_xrechnung and parse_invoice both accept the same XML input and internally parse it, so an agent may hesitate over which to pick when it just wants data versus a report; descriptions do help resolve this.
All three follow a consistent verb_snake_case pattern (validate_, parse_, extract_). The object nouns are mixed in granularity (xrechnung, invoice, zugferd), which slightly reduces predictability about what each operates on.
Three tools is a tight, focused surface for a format-specific validation/extraction server, and each earns its place. It is on the thin side, but proportionate to the narrow domain.
The core flow (extract from PDF → parse → validate) is covered with no dead ends. Notable gaps exist: validation is limited to the EN 16931 core model with no XRechnung CIUS or profile selection, and there is no way to generate/serialize an invoice or batch-validate, which limits real-world use.