Skip to content
Alexhub logo

Alexhub MCP server

Validates Peppol and Romanian e-invoices and SAF-T D406 files, explaining each error and its corrected value.

read 2026-11-23

← Back to Alexhub

How to connect

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

{
  "mcpServers": {
    "einvoice-validator": {
      "type": "http",
      "url": "https://einvoice.alexhub.uk/mcp"
    }
  }
}

Add it

Claude Code, in a terminal

claude mcp add --transport http alexhub https://einvoice.alexhub.uk/mcp

Add to CursorAdd to VS Code

claude.ai, ChatGPT and other clients: add https://einvoice.alexhub.uk/mcp as a custom connector in the settings.

Tools it offers14 tools · read 2026-11-30
  • validate_invoice_free

    Use before uploading an e-Factura to ANAF SPV, after generating invoice XML, or when ANAF rejected an invoice: validates a UBL 2.1 Invoice/CreditNote (Romanian CIUS-RO 1.0.9, Peppol BIS 3.0, EN 16931) and returns every error with the fix…

  • validate_invoice

    Use before uploading an e-Factura to ANAF SPV or sending a Peppol invoice, once the free quota of validate_invoice_free is used up (same report). Every rule violation with a plain-English fix, the UBL path of the field and, for amount…

  • fix_invoice

    Use when a validation report lists 'autofix' rules, or ANAF or a Peppol access point rejected an invoice for codes, dates or totals, and you want the corrected XML instead of editing it yourself: fixes county/sector/country/currency/unit…

  • generate_invoice

    Use when you have invoice data but no XML and need a Romanian e-Factura ANAF accepts: builds UBL 2.1 CIUS-RO XML from simple data (number, dates, seller and buyer CUI, lines with name, quantity, unit, price without VAT and VAT rate e.g…

  • lookup_company

    Use when building or checking an invoice for a Romanian company and you only have its CUI, or to check a partner before invoicing: ANAF data already in e-Factura form: legal name, VAT id (RO… only for VAT payers), trade register number…

  • company_financials

    Use when you need a Romanian company's size or financial health from its CUI (credit check before invoicing or selling on terms, lead qualification, due diligence): the annual statement filed with ANAF: CAEN code, turnover, revenue…

  • explain_rule

    Use when ANAF SPV, a Peppol access point or a validation report names a rule (e.g. BR-CO-15, BR-RO-110, PEPPOL-EN16931-R001) and you need to know what it means and how to fix it: official text in English and Romanian, plain-English fix…

  • validate_saft_free

    Use before filing a Romanian SAF-T (D406) with ANAF, or when ANAF's DUKIntegrator reported errors: same check as validate_saft, free: 1 file(s) per day per client IP, report limited to the first 10 findings (the total count is given).

  • validate_saft

    Use before filing a Romanian SAF-T (D406) with ANAF, for the full report: runs ANAF's official validator (DUKIntegrator) for the reporting period and the consistency checks it does not do offline (balanced entries, GL totals, opening +…

  • fx_rate

    Use for an invoice in a foreign currency (e-Factura needs the VAT in RON) or any RON conversion: official BNR (National Bank of Romania) rate, RON per 1 unit of the currency, for a date (default today; weekends/holidays return the last…

  • ro_holidays

    Use when planning payment or filing dates in Romania: public (legal) holidays for a year, incl. Orthodox Easter and Rusalii. Free.

  • ro_business_day

    Use to compute a due date in Romanian working days (e.g. the 5 working days to upload an e-Factura): is a date a working day, which is the next one, and the date N working days later. Free.

  • ro_tax_deadlines

    Use to know when Romanian returns are due: monthly filing deadlines (D112, D300, D100, D390, D394, D406) for a reporting month, moved to the next working day when they fall on a weekend or holiday. General rules; confirm special regimes…

  • validate_iban

    Use before putting an IBAN on an invoice or paying to one: checks length and check digits and names the Romanian bank (or the State Treasury). Free.

How we checked it

Should an agent connect it

Not proven either way yet
  • Whether its tools do the product's job has not been judged yet.

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: 8, the first on 2026-11-23
  • INITE MCP score90 of 100answers 100 · definitions 100 · context 100 · connects 100 · lowered until one of our scenario runs passes
  • Answered100% of days8 of 8 daily checks
  • Median first answer556 ms
  • Space in an agent's context≈ 2,780 tokensthe definitions of all its tools (14), which an agent carries on every turn
  • Tool definitionsA · 100 of 100
  • Typed results0 of 14 toolsdeclared outputSchema: results come typed, read once
  • Every tool passes all six checks.

Worth a look

None of the five warning signs in these definitions.

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 →

When we asked itchecked 2026-11-23
  • Stateanswerschecked 2026-11-23
  • Tools14
  • Server calls itselfe-Factura Validator (Romania)
  • Server version1.30.0
  • Protocol version2025-06-18

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

Whose server it is
  • Registry nameuk.alexhub/einvoice-validatorverified in the MCP registry

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

OpenAPI spec

28 paths, read 2026-11-23. 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.