# EU Compliance MCP for AI Agents: VIES VAT, E-Invoice, EUDR (`nemata/eu-compliance-mcp`) Actor

Give Claude, Cursor or n8n five EU compliance tools in one connection: VIES VAT checks, e-invoice validation, EUDR plot checks, battery passports and official journal alerts. Pay per call, no subscription.

- **URL**: https://apify.com/nemata/eu-compliance-mcp.md
- **Developed by:** [nemata](https://apify.com/nemata) (community)
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 vat number checks

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## EU Compliance MCP Server: VAT, e-invoices, EUDR, battery passports, official journals

**One MCP server that gives your AI agent five EU compliance checks**, built on official public sources. Connect it once to Claude, Cursor, ChatGPT, n8n or your own agent, and the agent can check a supplier's VAT number, validate an e-invoice, prepare EUDR plot data or watch the BOE and the EU Official Journal, in the middle of a conversation or a workflow.

- **Always on (Standby mode):** answers in seconds, no Actor run to start for each call.
- **Pay per tool call.** No subscription. Format errors in VAT numbers are free.
- **Privacy-first:** no personal data is returned. VAT checks never return the registered name or address.
- Each tool is also available as a standalone Actor for bulk jobs (see below).

### Tools

| Tool | What it does | Source |
|---|---|---|
| `validate_eu_vat` | Is this EU VAT number valid and active for intra-EU trade? Optionally, does it match the company name you expect? | VIES (European Commission) |
| `validate_e_invoice` | Validate a UBL, CII or Factur-X / ZUGFeRD invoice with the official EN 16931 rules, plus XRechnung rules when declared. Rule-by-rule errors and an invoice summary. | CEN EN 16931 and KoSIT XRechnung artefacts |
| `check_eudr_geolocation` | Check plot data before uploading a due diligence statement: GeoJSON structure, 6 decimals, valid polygons, self-intersections, plots over 4 ha given as points, area, plot inside the declared country. Can return corrected GeoJSON. | EU Deforestation Regulation (2023/1115) specifications |
| `check_battery_passport` | Readiness of battery passport data against the Annex XIII data points for EV, LMT and industrial batteries: missing, invalid and to-check items. | Battery Regulation (2023/1542) and the Commission's data-point guidance |
| `search_official_journals` | New publications in the Spanish BOE and the EU Official Journal (L and C series) that match your keywords, accent-insensitive. | BOE open data and EUR-Lex |

### Connect your agent

MCP endpoint (Streamable HTTP):

```
https://nemata--eu-compliance-mcp.apify.actor/mcp
```

Send your Apify API token as a bearer token. For example, in Claude Desktop, Cursor or any client that supports remote MCP servers:

```json
{
  "mcpServers": {
    "eu-compliance": {
      "url": "https://nemata--eu-compliance-mcp.apify.actor/mcp",
      "headers": { "Authorization": "Bearer <YOUR_APIFY_API_TOKEN>" }
    }
  }
}
```

**n8n:** add an *MCP Client Tool* to your AI Agent node, set the endpoint to the URL above, choose HTTP Streamable as the transport and Bearer authentication with your Apify API token.

**No Apify account?** Agents can pay per use through Apify with x402 (stablecoins) or Skyfire, and call the server with the temporary token they receive.

### Example prompts

- *"Check if FR40303265045 is a valid VAT number and matches 'Société Générale'."*
- *"Validate this XRechnung invoice and tell me which rules fail and how to fix them."*
- *"Here is the GeoJSON for our cocoa plots in Côte d'Ivoire. Is it ready for the EUDR due diligence statement?"*
- *"Which data points are still missing in this EV battery passport?"*
- *"Has anything about electronic invoicing been published in the BOE or the EU Official Journal this week?"*

### Pricing

Pay per event, only when a tool does its work:

| Event | Price |
|---|---|
| VAT number check (VIES) | $0.003 |
| E-invoice validation | $0.005 (same as the standalone Actor) |
| EUDR plot check | $0.01 per plot (max 500 per call) |
| Battery passport check | $0.10 |
| Official journal search | $0.01 |

You can set a maximum spend in your Apify account; the server stops charging when it is reached.

### Standalone Actors for bulk work

The same checks, with file inputs, schedules and datasets:

- [EU VAT Number Validator (VIES, bulk)](https://apify.com/nemata/eu-vat-number-validator)
- [E-Invoice Validator: Peppol, XRechnung, Factur-X, ZUGFeRD](https://apify.com/nemata/e-invoice-validator-en16931)
- [EUDR Geolocation Validator & Fixer](https://apify.com/nemata/eudr-geolocation-validator)
- [EU Battery Passport Checker](https://apify.com/nemata/eu-battery-passport-checker)
- [BOE & EU Official Journal Monitor](https://apify.com/nemata/boe-eu-official-journal-monitor)

### Good to know

- These are technical checks against published rules and official registers. They are not legal advice.
- VIES depends on national tax services, which are sometimes unavailable. The tool then says so; that is not a negative result.
- The journal search reads titles. The EU Journal feeds cover roughly the latest 100 acts per series.
- A normal (non-Standby) run only performs a quick self-test and shows how to connect.

# Actor input Schema

## Actor input object example

```json
{}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("nemata/eu-compliance-mcp").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("nemata/eu-compliance-mcp").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call nemata/eu-compliance-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nemata/eu-compliance-mcp"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/7APWuK1xNLg68Zg8N/builds/S5pwLXnSz8pyKuNIw/openapi.json
