Skip to content

Repository files navigation

EU Business Data MCP – VAT, EORI, company registry, sanctions, KYB & e-invoicing

wsystemdev/eu-business-data-mcp MCP server

A remote MCP server and x402 pay-per-call API for European business data checks, aimed at AI agents and KYB/onboarding/invoicing workflows.

Maker disclosure: built and operated by W System. This is our own commercial product. The code is MIT-licensed.

Remote MCP endpoint (streamable HTTP)

https://api.wsystem.dev/mcp/

Free tier, no signup: 20 tool calls per day per MCP session. Direct clients (Claude Code, Cursor, mcp-remote and others connecting from your own machine) also get at most 20 per IP, so opening more sessions doesn't add calls. Claude.ai / Claude Desktop custom connectors call from Anthropic's cloud (outbound range 160.79.104.0/21), so those calls are counted per session, not per IP; all keyless traffic from that range shares 2,000 lookups per day (verify_vat_batch / verify_eori_batch count one per number). New keyless sessions: 1,500 per IP per day (3,000 per Anthropic address). Limits reset at 00:00 UTC; live values: https://api.wsystem.dev/mcp/limits

Optional API key for volume: send X-API-Key: <key> (or Authorization: Bearer <key>) with every MCP request. Keyed calls use the key's monthly units (same weights as the REST API) instead of the free tier. Keys: https://wsystem.dev/pricing (Starter EUR 19/month, 5,000 units; Pro EUR 49/month, 25,000 units; there is no free key). Keys in the URL are not accepted. How to add one in Claude: docs/mcp-claude-cursor.md.

Server card: https://api.wsystem.dev/server-card · Website: https://wsystem.dev · LLM summary: https://wsystem.dev/llms.txt

Example client config:

{ "mcpServers": { "eu-business-data": { "type": "http", "url": "https://api.wsystem.dev/mcp/" } } }

Tools (13)

These are exactly the tools this package registers (python -m vatcheck.mcp_server), all read-only:

Tool Use it when Input -> output
verify_vat One EU VAT number: valid? whose? (VIES, 27 EU states + XI) vat, optional requester -> status valid / invalid / member_state_unavailable, name, address, consultation number
verify_vat_batch A list of VAT numbers (max 100) vats -> one verify_vat result per number
lookup_company One company in an official business register (FR, NO, FI, CZ, PL, EE; other countries via the GLEIF LEI index) query (name or registry number), country -> legal name, registry id, status, address, VAT ID, source link
lookup_company_batch A list of companies (max 25) queries [{query, country}] -> one lookup_company answer per query
screen_sanctions One name against the EU, UN, US OFAC SDN and UK lists name, threshold, optional birth_year / country -> potential_match / no_match with scored candidates
screen_sanctions_batch A list of names (max 50) names -> one screen_sanctions result per name
check_kyb A fast onboarding go/no-go for one counterparty company (VAT ID best, or name), country -> pass / review / fail with reasons (VAT + register + sanctions)
get_due_diligence_report An audit-ready report for one counterparty, not just a verdict company, country -> verdict, 0-100 risk score, flags, VAT, register, sanctions, EORI, GLEIF LEI and Peppol checks, sources, timestamp
get_einvoice_route Before invoicing a buyer: can they receive e-invoices, in which format? id (VAT or Peppol id) -> VIES status, Peppol registration, the country's mandate, recommended format
create_einvoice Build a validated EN 16931 / XRechnung / Peppol BIS 3 UBL invoice from JSON invoice JSON -> XML, totals, errors
validate_einvoice Check UBL or CII XML you already have (EN 16931, XRechnung) xml, rules -> valid, errors with rule IDs, messages and fix hints
verify_eori One EU customs EORI number (EC EOS) eori -> valid, trader name/address if published
verify_eori_batch A list of EORI numbers (max 100) eoris -> one verify_eori result per number

check_kyb vs get_due_diligence_report vs get_einvoice_route: check_kyb is the quick verdict for onboarding (three sources, fastest). get_due_diligence_report is the full report for a file or a risk review (adds EORI, GLEIF LEI, Peppol, a risk score and the sources). get_einvoice_route is not a risk check: it tells you how to send an invoice to a buyer.

Renamed in 1.1.0 (consistent verb_noun names): verify_batch -> verify_vat_batch, kyb_check -> check_kyb, einvoice_route -> get_einvoice_route, due_diligence_report -> get_due_diligence_report. The old names still work in tools/call for existing clients; they are just not listed. See CHANGELOG.md.

Hosted endpoint: https://api.wsystem.dev/mcp/ currently lists these tools under the earlier names (the new names are accepted there too) and adds four hosted-only tools that are not in this package: parse_einvoice, check_invoice, send_einvoice_sandbox and check_fr_pa_registry. Company and sanctions batches are REST-only on the hosted endpoint for now (POST /company/batch, POST /sanctions/screen/batch).

Quick answers

When VIES is down (fallback) and UK numbers

  • VIES is retried with backoff. If a member state is still MS_UNAVAILABLE/timing out, the result comes from that country's free official source: PL Biała lista (Ministry of Finance), CZ ARES (VAT register status), FI YTJ open data (VAT register), FR Recherche d'entreprises / SIRENE (company active + VAT key; no free French VAT-registration API exists).
  • Otherwise the last successful VIES answer for that number is returned, labelled with its date. Otherwise member_state_unavailable.
  • Fallback results have fallback: true, fallback_type (national_source | last_vies_result), source, legal_status, vies_error, and no consultation number. National registers show domestic status, which is not VIES audit proof. Turn off with fallback=false.
  • No free automated source for DE (BZSt eVatR requires a German requester VAT ID), ES (certificate), IT (captcha), NL, BE, HU (NAV technical user), DK.
  • GET /vies/status: EC VIES per-country availability, cached 5 min, free.
  • GB: accepted and HMRC check-digit validated, but the live HMRC lookup is not switched on yet (HMRC production access pending). GB numbers return status: member_state_unavailable, valid: null, error: HMRC_LIVE_ACCESS_PENDING: not a validity result, not cached and not billed. XI (Northern Ireland) is checked in VIES.

Integration guides

Step-by-step guides (every snippet tested against the live API): docs/

Website with a free VAT and EORI checker: https://wsystem.dev REST API docs and a free API key (no card): https://api.wsystem.dev/docs?ref=mcp-github

Pricing

  • MCP endpoint: free, 20 tool calls per day per MCP session (details and the shared limit for Claude connector traffic above). With an API key in X-API-Key: Starter EUR 19/month (5,000 units) or Pro EUR 49/month (25,000 units). When a free limit is reached, the tool returns an error that names the limit and explains how to add a key.
  • REST API with x402 on the same host (https://api.wsystem.dev, e.g. GET /verify?vat=..., POST /verify/batch, sanctions, KYB and EORI routes): after the free allowance, calls are paid per request with x402 in USDC on Base: about $0.01 per single check, $0.10 per batch, $0.045 per KYB check. Basic company search (GET /company?q=..., MCP tool lookup_company) is free: no payment, no API key and 0 units, rate-limited (300/minute and 5,000/day per API key, 120/minute and 500/day per IP without a key; HTTP 429 with Retry-After). Unpaid calls get HTTP 402 with the payment requirements.
  • Apify Actors (pay per event), see below.

Also on Apify

The same checks are available as Apify Actors (pay per event), and through Apify's hosted MCP server:

Blog: https://wsystem.hashnode.dev

Ready-made examples (run in one click on Apify)

Each example opens a pre-filled run with real sample output, so you can see the result format before you pay for anything:

Run it yourself

pip install -r requirements.txt
uvicorn vatcheck.server:app --port 8000     # REST at /, MCP at /mcp/
# or stdio MCP:
python -m vatcheck.mcp_server stdio

x402 is off unless X402_ENABLED=1 and X402_PAY_TO are set (see vatcheck/x402.py).

Data sources & disclaimer

Data comes live from public sources such as the European Commission VIES and EORI services, public business registries and official sanctions lists. Not affiliated with the European Commission or any authority. Results are not legal or tax advice.

License

MIT. See LICENSE.

Releases

Packages

Contributors

Languages