EU Compliance & On-Chain Pre-flight

by patrickpi1312

Not rated
GitHub

About

Sanctions screening (EU/UN/UK), VAT ID and IBAN validation, counterparty due diligence, EU VAT treatment with EN 16931 codes, e-invoice validation, and transaction pre-flight with decoded revert reasons. Remote MCP server, no install, pay per call or use the free tools.

Details

Author
patrickpi1312
Categories
Finance

Setup

Install EU Compliance & On-Chain Pre-flight in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/patrickpi1312/eucompliance-tools

Follow the installation instructions in the repository README, then restart your MCP client.

EU compliance & on-chain pre-flight tools for AI agents

Pay per call in USDC. No account, no API key, no subscription, no minimum.Also anMCP server, so an agent can simply use the tools.

An agent calls an endpoint, getsHTTP 402 Payment Requiredwith the exact price, pays a fraction of a cent in USDC on Base, repeats the call and gets the answer. Every answer carries a signed receipt that verifies offline.

Catalog:https://eucompliance.tools·/.well-known/x402·/llms.txt

claude mcp add --transport http eucompliance https://mcp.eucompliance.tools/mcp

Claude Desktop / Cursor / any MCP client— add to the config:

{ "mcpServers": { "eucompliance": { "type": "http", "url": "https://mcp.eucompliance.tools/mcp" } } }

Nothing to sign up for. Two tools are free (VAT ID and IBAN validation, 5000/day); the rest are paid per call and an agent with a wallet settles them over x402 by itself. Ask it"validate VAT ID ATU16170006"and it works immediately.

On-chain pre-flight — for agents that transact

A failed transaction costs the full gas of the attempt. These calls cost a fraction of it.

EU compliance — for agents that onboard, invoice or pay

Market & social data — for agents that trade or monitor

Check a UBL or CII invoice (XRechnung, ZUGFeRD / Factur-X, Peppol BIS) against thecomplete official EN 16931 Schematron— the same rule set the official validators use, run unmodified — plus totals arithmetic and VAT category rules. Every finding comes back with its officialBR-code and severity, and the result is signed so it can be attached to the document as validation evidence.

No wallet needed to try it —examples/validate_einvoice.pyruns against the free tier and catches a deliberately broken sample out of the box:

pip install requests python examples/validate_einvoice.py # broken sample → BR-02, BR-06, BR-CO-26 … python examples/validate_einvoice.py my-invoice.xml # your UBL/CII XML python examples/validate_einvoice.py zugferd.pdf # or a ZUGFeRD / Factur-X PDF

For volume it is one x402 call at/x402/einvoice($0.10) — seeexamples/pay_and_call.py.

Free, 5 calls a day per address, no signup:

curl "https://api.eucompliance.tools/free/vat-rules?supplier=AT&customer=DE&b2b=true&type=service" curl "https://api.eucompliance.tools/free/sanctions?name=Some%20Company%20Ltd"

Or get a key with 100 free calls covering every tool athttps://api.eucompliance.tools/kaufen— email in, key out, no card.

Every response carries a receipt: the result hash, the issue time and an EIP-191 signature. Checking it needs no network and no trust in the issuer:

from eucompliance_verify import verify_receipt, PaymentPolicy result = verify_receipt(response_json) # recomputes the hash, recovers the signer policy = PaymentPolicy(max_age_hours=24) if not policy.check(response_json).allowed: raise RuntimeError("do not release this payment")

Source:eucompliance-verify(MIT). Conformance fixtures for the VAT engine, public domain:eu-vat-conformance.

x402 v2, schemeexact, networkeip155:8453(Base mainnet), asset USDC. The payer needs no ETH — gas is sponsored via EIP-3009, with Coinbase CDP as facilitator. Call any endpoint without payment to receive the challenge containing the exact price and payment address.

Prefer an invoice? The operator holds an Austrian trade licence and a VAT ID and can bill normally — see the signup page.

eucompliance.tools, operated from Vienna, Austria.

Two things about the origin, because they explain why the tools are shaped the way they are:

The VAT engine was not built for a market — it was built because we issue reverse-charge invoices ourselves every week and nothing off the shelf produced the codes our accountant, and from 2026 the EU e-invoicing mandates, require. Every rule in it is one we file under. The conformance fixtures are public so you can check that claim rather than believe it.

The on-chain tooling came out of running an agent wallet and getting tired of transactions that failed for reasons the receipt did not explain. The pre-flight check is the thing we wanted to exist.

Operator: Patrick Kaufmann, sole proprietor in Vienna, Austria (trade licence, Austrian VAT ID) — which is why an ordinary invoice is an option alongside per-call USDC. On-chain identity: ERC-8004 agent#60255on Base.

MIT licensed. No telemetry, no tracking, no key required to look.

Bridge Town is an MCP-native, git-versioned financial modeling platform for FP&A teams and finance leaders. AI agents use Bridge Town tools to create projects, write Python model files, run models in isolated cloud sandboxes, query data, write outputs to Google Sheets, create dashboards, branch scenarios, and collaborate with teammates.

The Capital.com MCP Server lets your AI assistant talk to your trading account directly. Market data, position checks, trade previews – all in plain language, without leaving your AI tool.

Coinrule Agentic Trading MCP enables investors to create, backtest, execute, and manage trading agents through natural language across stocks, crypto and ETFs

Invest with Claude and other AI assistants

Australian Consumer Data Right Product Data

Remote MCP server for historical crypto & prediction-market data: search ~500K instruments, live market stats (OHLC, turnover, spreads, depth, slippage) and tick-data purchase. Keyless for catalog & stats; optional OAuth for account tools. Endpoint: https://cryptostruct.com/mcp

Cross-border debt collection from your AI assistant: check cases, get pricing, submit new cases.

Read-only MCP server for your Evibe investment portfolio + live market data (holdings, performance, dividends, benchmarks, screeners). Works with Claude & ChatGPT.

Financial and quantitative modeling engine for AI agents. Typed, named, deterministic.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.