eu.ansvar/eu-regulations-mcp

平台与服务

by ansvar-systems

可检索37部欧盟网络安全法规,如GDPR、NIS2、DORA与AI Act,覆盖2,278条条文。

什么是 eu.ansvar/eu-regulations-mcp

可检索37部欧盟网络安全法规,如GDPR、NIS2、DORA与AI Act,覆盖2,278条条文。

README

EU Regulations MCP Server

The EUR-Lex alternative for the AI age.

npm version MCP Registry License GitHub stars Daily EUR-Lex Check Database Recitals

Query 50 EU regulations — from GDPR and AI Act to DORA, Chips Act, MiFID II, eIDAS, Medical Device Regulation, MDCG cybersecurity guidance, 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

Use Remotely (No Install Needed)

Connect directly to the hosted version — zero dependencies, nothing to install.

Endpoint: https://mcp.ansvar.eu/eu-regulations/mcp

ClientHow to Connect
Claude.aiSettings > Connectors > Add Integration > paste URL
Claude Codeclaude mcp add eu-regulations --transport http https://mcp.ansvar.eu/eu-regulations/mcp
Claude DesktopAdd to config (see below)
GitHub CopilotAdd to VS Code settings (see below)

Claude Desktop — add to claude_desktop_config.json:

json
{
  "mcpServers": {
    "eu-regulations": {
      "type": "url",
      "url": "https://mcp.ansvar.eu/eu-regulations/mcp"
    }
  }
}

GitHub Copilot — add to VS Code settings.json:

json
{
  "github.copilot.chat.mcp.servers": {
    "eu-regulations": {
      "type": "http",
      "url": "https://mcp.ansvar.eu/eu-regulations/mcp"
    }
  }
}

Use Locally (npm)

bash
npx @ansvar/eu-regulations-mcp

Claude Desktop — add to claude_desktop_config.json:

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

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

Cursor / VS Code:

json
{
  "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

  • 49 Regulations — GDPR, DORA, NIS2, AI Act, Chips Act, MiCA, eIDAS 2.0, Medical Device Regulation, and 40 more
  • 2,528 Articles + 3,869 Recitals + 1,226 Official Definitions
  • Full-Text Search — Find relevant articles across all regulations instantly
  • Control Mappings — 709 mappings to ISO 27001:2022 & NIST CSF 2.0
  • Evidence Requirements — 407 audit artifacts across all 49 regulations
  • Sector Rules — 323 applicability rules across all sectors and industries
  • 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:

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

Example: EUR-Lex vs. This MCP

EUR-LexThis MCP Server
Search by CELEX numberSearch by plain English: "incident reporting timeline"
Navigate 100+ page PDFsGet the exact article with context
Manual cross-referencingcompare_requirements tool does it instantly
"Which regulations apply to me?" → research for dayscheck_applicability tool → answer in seconds
Copy-paste article textArticle + definitions + related requirements
Check 47 sites for updatesDaily automated freshness checks
No API, no integrationMCP protocol → AI-native

EUR-Lex example: Download DORA PDF → Ctrl+F "incident" → Read Article 17 → Google "What's a major incident?" → Cross-reference NIS2 → Repeat for 5 regulations

This MCP: "Compare incident reporting requirements across DORA, NIS2, and CRA" → Done.


📚 Documentation


Directory Review Notes

Testing Account and Sample Data

This server is read-only and does not require a login account for functional review. For directory review, use the bundled dataset and these sample prompts:

  • "What does NIS2 Article 21 require?"
  • "Compare DORA and NIS2 incident reporting obligations."
  • "Map ISO 27001 controls to DORA requirements."

Remote Authentication (OAuth 2.0)

The default server runtime is read-only and can be deployed without authentication. If you deploy a remote authenticated endpoint, use OAuth 2.0 over TLS with certificates from recognized authorities.

⚠️ Important Disclaimers

Legal Advice

🚨 THIS TOOL IS NOT LEGAL ADVICE 🚨

Regulation text is sourced verbatim from EUR-Lex and UNECE (official public sources). However:

  • Control mappings (ISO 27001, NIST CSF) are interpretive aids, not official guidance
  • Applicability rules are generalizations, not legal determinations
  • Cross-references are research helpers, not compliance mandates

Always verify against official sources and consult qualified legal counsel for compliance decisions.

Token Usage

⚠️ Context Window Warning

Some articles are very large (e.g., MDR Article 123 = ~70,000 tokens). The MCP server:

  • Search tool: Returns smart snippets (safe for context)
  • Get article tool: Returns full text (may consume significant tokens)
  • Recommendation: Use search first, then fetch specific articles as needed

Claude Desktop has a 200k token context window. Monitor your usage when retrieving multiple large articles.

ISO Standards Copyright

No copyrighted ISO standards are included. Control mappings reference ISO 27001:2022 control IDs only (e.g., "A.5.1", "A.8.2"). The actual text of ISO standards requires a paid license from ISO. This tool helps map regulations to controls but doesn't replace the standard itself.


Related Projects: Complete Compliance Suite

This server is part of Ansvar's Compliance Suite - three MCP servers that work together for end-to-end compliance coverage:

🇪🇺 EU Regulations MCP (This Project)

Query 47 EU regulations directly from Claude

  • GDPR, AI Act, DORA, NIS2, MiFID II, PSD2, eIDAS, MDR, and 39 more
  • Full regulatory text with article-level search
  • Cross-regulation reference and comparison
  • Install: npx @ansvar/eu-regulations-mcp

🇺🇸 US Regulations MCP

Query US federal and state compliance laws directly from Claude

  • HIPAA, CCPA, SOX, GLBA, FERPA, COPPA, FDA 21 CFR Part 11, and 8 more
  • Federal and state privacy law comparison
  • Breach notification timeline mapping
  • Install: npm install @ansvar/us-regulations-mcp

🔐 Security Controls MCP

Query 1,451 security controls across 28 frameworks

  • ISO 27001, NIST CSF, DORA, PCI DSS, SOC 2, CMMC, FedRAMP, and 21 more
  • Bidirectional framework mapping and gap analysis
  • Import your purchased standards for official text
  • Install: pipx install security-controls-mcp

How They Work Together

Regulations → Controls Implementation Workflow:

code
1. "What are DORA's ICT risk management requirements?"
   → EU Regulations MCP returns Article 6 full text

2. "What security controls satisfy DORA Article 6?"
   → Security Controls MCP maps to ISO 27001, NIST CSF, and SCF controls

3. "Show me ISO 27001 A.8.1 implementation details"
   → Security Controls MCP returns control requirements and framework mappings

Complete compliance in one chat:

  • EU/US Regulations MCPs tell you WHAT compliance requirements you must meet
  • Security Controls MCP tells you HOW to implement controls that satisfy those requirements

Specialized: OT/ICS Security

🏭 OT Security MCP

Query IEC 62443, NIST 800-82/53, and MITRE ATT&CK for ICS

  • Specialized for OT/ICS environments (manufacturing, energy, critical infrastructure)
  • Security levels, Purdue Model, zone/conduit architecture
  • MITRE ATT&CK for ICS threat intelligence
  • Install: npx @ansvar/ot-security-mcp
  • Use case: NIS2-compliant OT operators, industrial manufacturers, critical infrastructure

Specialized: Automotive Cybersecurity

🚗 Automotive Cybersecurity MCP

Query UNECE R155/R156 and ISO 21434

  • Complete R155/R156 Revision 2 with all articles and annexes
  • ISO 21434 clause guidance and work products
  • R155 ↔ ISO 21434 cross-references
  • Install: npx @ansvar/automotive-cybersecurity-mcp
  • Use case: OEMs, Tier 1/2 suppliers, type approval preparation

Specialized: Sanctions Screening

🚨 Sanctions MCP

Offline-capable sanctions screening for third-party risk

  • OFAC, EU, UN sanctions lists via OpenSanctions (30+ lists)
  • Fuzzy name matching with confidence scoring
  • PEP (Politically Exposed Person) checks
  • Install: pip install ansvar-sanctions-mcp
  • Use case: DORA Article 28 ICT third-party risk, AML/KYC compliance

About Ansvar Systems

We build AI-accelerated threat modeling and compliance tools for automotive, financial services, and healthcare. This MCP server started as our internal reference tool — turns out everyone building for EU markets has the same EUR-Lex frustrations.

So we're open-sourcing it. Navigating 37 regulations shouldn't require a legal team.

ansvar.eu — Stockholm, Sweden


Documentation


Branching Strategy

This repository uses a dev integration branch. Do not push directly to main.

code
feature-branch → PR to dev → verify on dev → PR to main → deploy
  • main is production-ready. Only receives merges from dev via PR.
  • dev is the integration branch. All changes land here first.
  • Feature branches are created from dev.

License

Apache License 2.0. See LICENSE for details.


<p align="center"> <sub>Built with care in Stockholm, Sweden</sub> </p>

常见问题

eu.ansvar/eu-regulations-mcp 是什么?

可检索37部欧盟网络安全法规,如GDPR、NIS2、DORA与AI Act,覆盖2,278条条文。

相关 Skills

MCP构建

by anthropics

Universal
热门

聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。

想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。

平台与服务
未扫描111.8k

Slack动图

by anthropics

Universal
热门

面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。

帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。

平台与服务
未扫描111.8k

MCP服务构建器

by alirezarezvani

Universal
热门

从 OpenAPI 一键生成 Python/TypeScript MCP server 脚手架,并校验 tool schema、命名规范与版本兼容性,适合把现有 REST API 快速发布成可生产演进的 MCP 服务。

帮你快速搭建 MCP 服务与后端 API,脚手架完善、扩展顺手,尤其适合想高效验证服务能力的开发者。

平台与服务
未扫描9.8k

相关 MCP Server

Slack 消息

编辑精选

by Anthropic

热门

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。

平台与服务
83.1k

by netdata

热门

io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。

这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。

平台与服务
78.3k

by d4vinci

热门

Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。

这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。

平台与服务
34.9k

评论