# MCP Eu Compliance

> MCP Eu Compliance is an open-source MCP server for security. Offline full text of 14 EU digital, data and cyber regulations with verbatim citations. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Windows
- **Repository:** https://github.com/matematicsolutions/mcp-eu-compliance
- **MCP Registry name:** io.github.matematicsolutions/mcp-eu-compliance
- **Categories:** [security](https://ai-powered.com/categories/security), [legal and government](https://ai-powered.com/categories/legal-and-government)
- **Listing updated:** 2026-11-23

## About

This server keeps an offline corpus of EU law from EUR-Lex in a local SQLite FTS5 database, so results are verbatim database snippets with no language model in the loop. Each result carries a CELEX identifier and an EUR-Lex URL, which the README presents as a built-in guard against hallucination. The 14 regulations covered are GDPR, AI Act, DORA, NIS2, eIDAS 2.0, CRA, DSA, DMA, Data Act, DGA, LED, ePrivacy, the Cybersecurity Act and CER.

Five tools include comparing the same topic across regulations, such as incident reporting under DORA, NIS2 and CRA, and an applicability check that suggests which regulations apply to a sector with a confidence level and basis article. An evidence tool names the documents, logs or certificates that prove compliance for an article. Setup downloads a roughly 36 MB database built by Ansvar (Apache-2.0) and needs Node 22.5 or later.

The author warns that the data is a point-in-time snapshot, that applicability is expert guidance and that nothing here is legal advice. Its sibling mcp-eu-sparql handles live lookups.

## Features

- **Offline corpus:** Runs from a local SQLite database with no network at runtime.
- **Verbatim snippets:** Zero-LLM results with CELEX and EUR-Lex links.
- **Cross-regulation compare:** See one topic across several regulations.
- **Applicability check:** Suggest which regulations apply to a sector.
- **Evidence artifacts:** List documents that prove compliance for an article.
- **Citations metadata:** Each result includes regulation, CELEX, URL and snapshot.

## Good for

- Quote the exact text of GDPR Article 33
- Compare incident reporting timelines across DORA, NIS2 and CRA
- Find which EU regulations a bank must follow
- Prepare audit evidence lists for a regulation article
- Cite EU law without network access

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mcp-eu-compliance -- npx -y @matematicsolutions/mcp-eu-compliance
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp-eu-compliance": {
      "command": "npx",
      "args": [
        "-y",
        "@matematicsolutions/mcp-eu-compliance"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-eu-compliance": {
      "command": "npx",
      "args": [
        "-y",
        "@matematicsolutions/mcp-eu-compliance"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-eu-compliance": {
      "command": "npx",
      "args": [
        "-y",
        "@matematicsolutions/mcp-eu-compliance"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp-eu-compliance": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@matematicsolutions/mcp-eu-compliance"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp-eu-compliance -- npx -y @matematicsolutions/mcp-eu-compliance
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp-eu-compliance]
command = "npx"
args = ["-y", "@matematicsolutions/mcp-eu-compliance"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp-eu-compliance": {
      "command": "npx",
      "args": [
        "-y",
        "@matematicsolutions/mcp-eu-compliance"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user mcp-eu-compliance npx -- -y @matematicsolutions/mcp-eu-compliance

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-eu-compliance": {
      "command": "npx",
      "args": [
        "-y",
        "@matematicsolutions/mcp-eu-compliance"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-eu-compliance": {
      "command": "npx",
      "args": [
        "-y",
        "@matematicsolutions/mcp-eu-compliance"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp-eu-compliance": {
      "command": "npx",
      "args": [
        "-y",
        "@matematicsolutions/mcp-eu-compliance"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp-eu-compliance": {
      "command": "npx",
      "args": [
        "-y",
        "@matematicsolutions/mcp-eu-compliance"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp-eu-compliance": {
      "command": "npx",
      "args": [
        "-y",
        "@matematicsolutions/mcp-eu-compliance"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp-eu-compliance": {
      "command": "npx",
      "args": [
        "-y",
        "@matematicsolutions/mcp-eu-compliance"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp-eu-compliance": {
      "command": "npx",
      "args": [
        "-y",
        "@matematicsolutions/mcp-eu-compliance"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-eu-compliance": {
      "command": "npx",
      "args": [
        "-y",
        "@matematicsolutions/mcp-eu-compliance"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 5 tools read data; 3 names don't say. From the server's own tool labels and tool names; not verified by us.

- `eu_search` (name suggests: reads): Full-text search across articles with verbatim snippets
- `eu_article`: Returns an article's full text, title, chapter and CELEX
- `eu_compare`: Compares a topic across several regulations
- `eu_check_applicability` (name suggests: reads): Suggests which regulations apply to a sector
- `eu_evidence`: Lists evidence artifacts for compliance

## FAQ

### Does MCP Eu Compliance need internet access?

Not at runtime; the corpus database is downloaded once during setup.

### Is MCP Eu Compliance legal advice?

No, the README calls it reference material and says applicability rules are expert guidance.

### Which regulations are covered?

Fourteen, including GDPR, AI Act, DORA, NIS2, CRA, DSA and DMA.

### How current is the text?

It is a snapshot; verify currency in EUR-Lex or use mcp-eu-sparql for live data.

### Is MCP Eu Compliance free?

Yes. MCP Eu Compliance is open source, so you can use and self-host it for free.

### How do I add MCP Eu Compliance to Claude Code?

Run this command in your terminal: claude mcp add mcp-eu-compliance -- npx -y @matematicsolutions/mcp-eu-compliance

### What are the best alternatives to MCP Eu Compliance?

The closest alternatives to MCP Eu Compliance are REA, AiSOC, x64dbg-mcp-server, redamon and Treasure Map.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [AiSOC](https://ai-powered.com/mcp/aisoc): AiSOC is an open-source MCP server for ai models and llm tooling.
- [x64dbg-mcp-server](https://ai-powered.com/mcp/x64dbg-mcp-server): x64dbg-mcp-server is an open-source MCP server for ai models and llm tooling.
- [redamon](https://ai-powered.com/mcp/redamon): redamon is an open-source MCP server for ai models and llm tooling.
- [Treasure Map](https://ai-powered.com/mcp/treasure-map): Treasure Map is an open-source MCP server for security.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [NostrPulse](https://ai-powered.com/mcp/nostrpulse): NostrPulse is an open-source MCP server for finance and payments.
- [Runeward](https://ai-powered.com/mcp/runeward): Runeward is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/mcp-eu-compliance
