Skip to content
Attestwire logo

Attestwire MCP server

Validates German XRechnung and Peppol e-invoice XML against EN 16931 rules, reporting each failed rule and the field to fix.

read 2026-11-14

← Back to Attestwire

How to connect

Add the server to your MCP client config. Claude Desktop, Cursor and most other clients read this shape:

{
  "mcpServers": {
    "en16931": {
      "type": "http",
      "url": "https://api.attestwire.com/mcp"
    }
  }
}

Add it

Claude Code, in a terminal

claude mcp add --transport http attestwire https://api.attestwire.com/mcp

Add to CursorAdd to VS Code

claude.ai, ChatGPT and other clients: add https://api.attestwire.com/mcp as a custom connector in the settings.

Also shipped through: npm

Tools it offers14 tools · read 2026-11-30
  • diagnose_invoicedescribed by the server

    Explain local validation and supplied provider rejection/SVRL findings. Send exactly one of invoice (the JSON model) or xml (UBL/CII text, not a PDF). Revalidate caller-reviewed JSON edits or revised XML using the original hash and…

  • lookup_peppol_participantdescribed by the server

    Read-only production lookup through OpenPeppol. Check advertised BIS Billing invoice or credit-note support and an optional invoice identifier mismatch. Does not send, verify delivery, or validate endpoint certificates. 1 document per…

  • verify_vat_viesdescribed by the server

    Live VAT-number verification with dated evidence. Distinguishes valid, invalid, and unavailable; one bounded retry, no Attestwire cache. Sends the VAT number to the European Commission VIES service. 1 document per valid/invalid result…

  • get_recipient_profiledescribed by the server

    From the buyer's country and one identifier (VAT ID, Leitweg-ID, SIREN/SIRET, KBO number, GLN or Peppol ID): the identifier checked; name and address from VIES or the French register when they give them; Peppol registration (SML/SMP, and…

  • validate_invoicedescribed by the server

    Validate an invoice, given as a JSON object, against EN 16931 and its national CIUS rule sets (XRechnung UBL/CII, Peppol BIS 3.0, Factur-X). Returns every failure as a "teaching error": the official rule id, the business term (BT-/BG-) it…

  • validate_invoice_xmldescribed by the server

    Validate an e-invoice FILE the user already has: a UBL 2.1 Invoice, a UBL 2.1 CreditNote, a UN/CEFACT CII CrossIndustryInvoice (invoices and credit notes alike), or a Factur-X or ZUGFeRD PDF. The file is read into the invoice model and EN…

  • generate_invoicedescribed by the server

    Generate compliant e-invoice XML from a JSON invoice, in either EN 16931 syntax. Profiles: en16931, xrechnung-ubl, peppol-bis-3, xrechnung-cii, facturx-en16931 — the profile chooses the syntax, and xrechnung-cii and facturx-en16931 come…

  • explain_ruledescribed by the server

    Explain one EN 16931 / XRechnung / Peppol BIS rule in plain English: what it requires, why, the business term it constrains, a concrete fix and an example. 321 rules explained — BR-*, BR-CO-*, BR-<category>-*, BR-DE-*, PEPPOL-EN16931-*…

  • check_vies_statusdescribed by the server

    Current availability of VIES, the European Commission service that validates EU VAT numbers. Per-member-state status, latency and 24h/7d uptime, from a monitor that polls all member states every 5 minutes. Use this when EU VAT number…

  • check_french_readinessdescribed by the server

    Look up a French company by SIREN, SIRET or name in INSEE SIRENE open data, for the 2026-2027 French e-invoicing mandate. Confirms the company exists and is active. It CANNOT confirm whether the company has registered with an approved…

  • list_approved_platformsverified Nov 26, 2026

    The official list of Plateformes Agréées (PA, formerly PDP) that DGFiP has approved to transmit invoices under the French e-invoicing mandate, from the published open dataset. Optionally filtered by name or SIREN. FREE and needs no API key.

  • issue_api_keychanges datadescribed by the server

    Mint a free Attestwire API key (100 documents/month, no signup flow, no card) for the tools that need one. THE KEY IS RETURNED ONCE AND CANNOT BE RECOVERED — only its SHA-256 hash is stored — so show it to the user verbatim and tell them…

  • get_upgrade_linkchanges datadescribed by the server

    Return a hosted checkout URL for upgrading an Attestwire key to a paid plan (Solo: 1,000 documents/month for €9/month; Starter: 5,000 for €29/month; Scale: 50,000 for €99/month (EUR, plus VAT where due)). THIS DOES NOT BUY ANYTHING. It…

  • send_feedbackchanges datadescribed by the server

    Tell the people who build this server what the user was trying to do. CALL IT when the user wanted something none of these tools does, when a result looked wrong or was confusing, or when you had to work around a tool. Describe the GOAL…

How we checked it

Should an agent connect it

Connect it, with care
  • Its tools do every use case we checked: Find which rule a rejected XRechnung invoice failed; Look up the field to change and its fix.
  • On Nov 26, 2026 we called its read-only tools following a fixed scenario, and 1 of 1 steps returned what the check expects.

Once connected

  • For "Find which rule a rejected XRechnung invoice failed", the likely first call is diagnose_invoice.
  • Keep approval on for send_feedback: they delete, send or pay without saying so.
  • send_feedback change data without a sign-in: anyone with the address can call them.

Said by rules from the measurements above. The likely first call is a model's pick from the tool list; read its description before relying on it.

Measured daily

daily checks: 31, the first on 2026-10-19
  • INITE MCP score67 of 100answers 100 · does the job 100 · definitions 98 · context 89 · connects 100 · lowered by the warning signs below
  • Checked by calling it1 of 1 steps passedlatest run Nov 26, 2026, read-only calls only
  • What an agent can do with it2 of 2 use cases
  • Answered100% of days31 of 31 daily checks
  • Median first answer144 msslowest in twenty: 256 ms
  • Space in an agent's context≈ 4,519 tokensthe definitions of all its tools (14), which an agent carries on every turn
  • Tool definitionsA · 98 of 100
  • Typed results0 of 14 toolsdeclared outputSchema: results come typed, read once
  • Parameters without a description: in 2 of 14

What an agent can do with it

  • can do · Find which rule a rejected XRechnung invoice failed
  • can do · Look up the field to change and its fix
  • not sure · Add invoice validation to your own billing software

Each of the product's use cases, put to Jev against this server's tool list: can an agent do it with these tools?

Worth a look

  • Tools that delete, send or pay, marked as not destructive: send_feedback
  • Tools that change data, on a server that answers without a sign-in: send_feedback

A program checks the server once a day: initialize and tools/list, no model. Tokens are the definitions' length at about four characters a token. The grade averages six checks of every tool's name, description, schema and annotations; it says how well the tools are described, not whether they work. The score weighs what was measured and nothing else: answering (25%), doing the product's job (25%), definitions (20%), context (10%), use (10%) and how readily a client connects (10%). A part that was not measured is left out, and a hidden instruction caps the score at 40. The state of vendors' MCP servers: method and numbers →

Security2026-11-30

Grade A, 94 of 100, checked 2026-11-30 · 18 of 18 checks judged · 3 failed

Full report →

When we asked itchecked 2026-11-14
  • Stateanswerschecked 2026-11-14
  • Tools14
  • Server calls itselfattestwire
  • Server version1.1.0
  • Protocol version2025-06-18

On 2026-11-14 the server answered initialize and tools/list without a sign-in. First answer in 99 ms.

Whose server it is
  • Registry namecom.attestwire/en16931verified in the MCP registry

The registry name sits under attestwire.com. The registry only lets a publisher use that namespace after proving control of the domain through DNS or HTTP.

OpenAPI spec

19 paths, read 2026-11-14. Open the spec ↗

Each line is something a program found when it went looking: the registry entry, the server's own answer, a spec that parses. A missing line means we did not find it, not that it does not exist.