Skip to content
MCP server

MCP Eu Compliance

Offline full text of 14 EU digital, data and cyber regulations with verbatim citations

Runs locally

MCP Eu Compliance is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Linux, macOS
Runs
Locally
Version
0.4.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.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.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-eu-compliance": {
      "command": "npx",
      "args": [
        "-y",
        "@matematicsolutions/mcp-eu-compliance"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.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.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

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

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.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.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About MCP Eu Compliance

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.

Tools this server provides (5)

Taken from the project documentation; the running server may differ.

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_searchName 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_applicabilityName suggests: reads
Suggests which regulations apply to a sector
eu_evidence
Lists evidence artifacts for compliance

What it does

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

Pricing

Open source

Code MIT; corpus from EUR-Lex and an Apache-2.0 database

MCP Eu 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.

How AIPoweredBot checks servers