# XRechnung & ZUGFeRD validator (e-Rechnung Inbox)

> Validate and parse German e-invoices (XRechnung, ZUGFeRD, Factur-X). Offline via npx or hosted.

- name: io.github.Ozycore/xrechnung-mcp
- version: 0.1.2
- connection class: R1 (autonomous)
- trust: 97/100
- quality: 77/100 (new)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.Ozycore%2Fxrechnung-mcp
- tools: https://api.protogrid.dev/v1/servers/io.github.Ozycore%2Fxrechnung-mcp/tools

**An agent can connect on its own if it already holds `X_API_KEY`, `X_API_KEY`.** Remote endpoint behind a static API key or header. The registry never sees the value; the agent fills the placeholder.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "xrechnung-mcp": {
      "type": "http",
      "url": "https://www.e-rechnung-inbox.de/api/public/v1/mcp",
      "headers": {
        "X-API-Key": "${X_API_KEY}",
        "Authorization": "${X_API_KEY}"
      }
    }
  }
}
```

Placeholders to fill: `${X_API_KEY}`, `${X_API_KEY}`.

## Trust

- hygiene: 100
- liveness: 100
- freshness: 100
- provenance: 90
- drivers: +repository +namespace-matches-repo +website +reachable +uptime-100% +updated-2d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 77/100 (new)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 78 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: validate_xrechnung (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); parse_xrechnung (readOnlyHint, destructiveHint, idempotentHint, openWorldHint)
- pass `tools.token_cost`: about 132 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

### stability: n/a (weight 15)

- n/a `stability.changes`, `stability.rug_pull`, `stability.new_links`: tool history recorded for 2 of the 7 days needed

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: deps.dev does not know @e-rechnung-inbox/xrechnung-mcp@0.1.2

- tools: 2, about 132 tokens to load them all
- tool set hash: b8a3aca8053838962e5efd3772ec0411
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.Ozycore/xrechnung-mcp.svg)](https://protogrid.dev/servers/io.github.Ozycore/xrechnung-mcp)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

_No changes to tool, prompt or resource template definitions recorded._

## Dependencies

- npm @e-rechnung-inbox/xrechnung-mcp@0.1.2: unknown

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0.

## Remotes

- https://www.e-rechnung-inbox.de/api/public/v1/mcp (streamable-http, auth api_key ${X_API_KEY}, reachable true, uptime30d 1)

## Packages

- npm @e-rechnung-inbox/xrechnung-mcp@0.1.2

## Tools (2)

- `parse_xrechnung`: Parse XRechnung/ZUGFeRD XML into normalized invoice fields. Hosted v0.2 requires a Public API key and shares Public API rate limits.
- `validate_xrechnung`: Validate XRechnung/ZUGFeRD XML using e-Rechnung Inbox validation logic. Hosted v0.2 requires a Public API key and shares Public API rate limits.
