EU Regulations MCP Server

$npx -y @ansvar/eu-regulations-mcp
README.md

Query 37 EU regulations — from GDPR and AI Act to DORA, MiFID II, eIDAS, Medical Device Regulation, and more

EU Regulations MCP Server

The EUR-Lex alternative for the AI age.

Query 37 EU regulations — from GDPR and AI Act to DORA, MiFID II, eIDAS, Medical Device Regulation, and more — directly from Claude, Cursor, or any MCP-compatible client.

If you're building digital products, financial services, healthcare tech, or connected devices for the European market, this is your compliance reference.

Built by Ansvar Systems — Stockholm, Sweden


Why This Exists

EU compliance is scattered across EUR-Lex PDFs, official journals, and regulatory sites. Whether you're:

  • A developer implementing GDPR data rights or NIS2 incident reporting
  • A product team navigating AI Act risk assessments or Medical Device conformity
  • A compliance officer mapping ISO 27001 to DORA requirements
  • A legal researcher comparing PSD2 authentication vs. eIDAS trust services

...you shouldn't need a law degree and 47 browser tabs. Ask Claude. Get the exact article. With context.

This MCP server makes EU regulations searchable, cross-referenceable, and AI-readable.


Quick Start

Installation

npm install @ansvar/eu-regulations-mcp

Claude Desktop

Add to your claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

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

Restart Claude Desktop. Done.

Cursor / VS Code

{
  "mcp.servers": {
    "eu-regulations": {
      "command": "npx",
      "args": ["-y", "@ansvar/eu-regulations-mcp"]
    }
  }
}

Example Queries

Once connected, just ask naturally:

  • "What are the risk management requirements under NIS2 Article 21?"
  • "How long do I have to report a security incident under DORA?"
  • "Compare GDPR breach notification with NIS2 incident reporting"
  • "Does the EU AI Act apply to my recruitment screening tool?"
  • "What are the essential cybersecurity requirements under the Cyber Resilience Act?"
  • "Which regulations apply to a healthcare organization in Germany?"
  • "Map DORA ICT risk management to ISO 27001 controls"
  • "What is an EU Digital Identity Wallet under eIDAS 2.0?"
  • "What are my data access rights under the Data Act?"

More examples: TEST_QUERIES.md — 60+ example queries organized by category


What's Included

  • 37 Regulations — GDPR, DORA, NIS2, AI Act, MiCA, eIDAS 2.0, Medical Device Regulation, and 30 more
  • 2,438 Articles + 3,712 Recitals + 1,138 Official Definitions
  • Full-Text Search — Find relevant articles across all regulations instantly
  • Control Mappings — 686 mappings to ISO 27001:2022 & NIST CSF 2.0
  • Sector Rules — Check which regulations apply to your industry
  • Daily Updates — Automatic freshness checks against EUR-Lex

Detailed coverage: docs/coverage.md Use cases by industry: docs/use-cases.md Available tools: docs/tools.md


🎬 See It In Action

Why This Works

Verbatim Source Text (No LLM Processing):

  • All article text is ingested from EUR-Lex/UNECE official sources
  • Snippets are returned unchanged from SQLite FTS5 database rows
  • Zero LLM summarization or paraphrasing — the database contains regulation text, not AI interpretations
  • Note: HTML-to-text conversion normalizes whitespace/formatting, but preserves content

Smart Context Management:

  • Search returns 32-token snippets with highlighted matches (safe for context)
  • Article retrieval warns about token usage (some articles = 70k tokens)
  • Cross-references help navigate without loading everything at once

Technical Architecture:

EUR-Lex HTML → Parse → SQLite → FTS5 snippet() → MCP response
                  ↑                    ↑
           Formatting only      Verbatim database query

Example: EUR-Lex vs. This MCP

EUR-Lex This MCP Server
Search by CELEX number Search by plain English: *"i

Configuration

claude_desktop_config.json
{
  "mcpServers": {
    "eu-regulations": {
      "command": "npx",
      "args": ["-y", "@ansvar/eu-regulations-mcp"]
    }
  }
}

Try it

What are the risk management requirements under NIS2 Article 21?
How long do I have to report a security incident under DORA?
Compare GDPR breach notification with NIS2 incident reporting
Does the EU AI Act apply to my recruitment screening tool?
What are the essential cybersecurity requirements under the Cyber Resilience Act?

Frequently Asked Questions

How do I install EU Regulations?

Install EU Regulations by running: npx -y @ansvar/eu-regulations-mcp

What MCP clients work with EU Regulations?

EU Regulations works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Use EU Regulations with Conare

Manage MCP servers visually, upload persistent context, and never start from zero with Claude Code & Codex.

Try Free