# mcp-eu-compliance [Health: Active]

**Category:** ⚖️ Legal  
**Repository:** https://github.com/matematicsolutions/mcp-eu-compliance  
**GitHub Stars:** 1  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-eu-compliance

## Description
Offline MCP server: EU compliance full text (GDPR, AI Act, DORA, NIS2, eIDAS2, CRA), verbatim.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/matematicsolutions/mcp-eu-compliance), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
npm install            # Node 22.5+ (node:sqlite built-in)
```

2. Install:

```sh
npm run fetch-corpus   # downloads regulations.db (~36 MB) from Ansvar (Apache-2.0)
```

3. Install:

```sh
npm run build
```

4. Start the server:

```sh
npm start
```

## Documentation

## What mcp-eu-compliance does

The mcp-eu-compliance MCP server exposes a local corpus of EU legislation through MCP tools. Its database contains full-text material from 14 regulations and legal instruments covering areas such as data protection, artificial intelligence, digital services, financial resilience, cybersecurity, electronic identification, and critical entities. The listed scope includes GDPR, the AI Act, DORA, NIS2, eIDAS 2.0, CRA, DSA, DMA, Data Act, DGA, LED, ePrivacy, the Cybersecurity Act, and CER.

Returned passages are taken verbatim from the database rather than generated by a language model. Results include the regulation name, CELEX identifier, EUR-Lex URL, and snapshot information in `structuredContent.citations`. This supports checking the source and locating the corresponding legal text.

## How it works

At runtime, queries are handled against a local SQLite database using FTS5 full-text search. The server does not need network access while answering requests. The corpus must first be obtained with the repository's fetch command; the resulting database is approximately 36 MB.

The available tools divide research into several patterns:

- `eu_search` finds matching passages across the corpus, optionally restricted to selected regulations and a result limit.
- `eu_article` returns a complete article with its title, chapter, and CELEX identifier.
- `eu_compare` places the same subject across multiple regulations for comparison, such as incident-reporting requirements.
- `eu_check_applicability` provides sector and optional subsector guidance, including a confidence level and the supporting article.
- `eu_evidence` identifies documents, logs, or certificates that can serve as audit evidence for a regulation or article.

## Setup and configuration

Run `npm install` with Node 22.5 or newer, then download the corpus using `npm run fetch-corpus`. Build the project with `npm run build` and launch it with `npm start`. The server is configured as an MCP process with the Node executable and the compiled `dist/index.js` path in the client's server configuration.

No runtime environment variables are specified in the provided setup. The example uses a standard local process configuration, so the path to the compiled entry point must be adjusted for the installation location.

## Limitations and notes

The mcp-eu-compliance MCP server uses a point-in-time snapshot, not a live connection to the Official Journal or EUR-Lex. Verify current wording and status through EUR-Lex when freshness matters. Live discovery of acts is handled by the separate `mcp-eu-sparql` project, according to the repository documentation.

Applicability results are described as expert guidance and include confidence and a basis article, but they are not binding legal determinations. The material is reference information rather than legal advice, so sector-specific analysis may still be required.

The code is licensed under MIT. The bundled corpus is attributed to EUR-Lex content and a database file from Ansvar Systems, with the latter identified as Apache-2.0 in the repository materials.

_Full upstream README: https://allmcps.com/mcp/mcp-eu-compliance/readme_

