by Ansvar-Systems
Provides instant, AI‑native access to the full text of 47 EU regulations, enabling developers and compliance professionals to query articles, recitals, and definitions directly from Claude, Cursor, or any MCP‑compatible client.
EU Regulations MCP Server offers a searchable, cross‑referenceable database of 47 European Union regulations—including GDPR, AI Act, DORA, NIS2, MiFID II, eIDAS, and more—exposed via the Model Context Protocol. The server returns verbatim article text, recitals, and definitions, allowing AI assistants to retrieve precise legal excerpts without summarisation.
{
"mcpServers": {
"eu-regulations": {
"command": "npx",
"args": ["-y", "@ansvar/eu-regulations-mcp"]
}
}
}
Q: Do I need an API key? A: No. The server runs locally and accesses public EUR‑Lex data; no external keys are required.
Q: How large are the articles and will they exceed token limits? A: Some articles (e.g., MDR) can be >70k tokens. Use the search tool first to retrieve snippets; fetch full articles only when needed.
Q: Is this legal advice? A: No. The tool provides verbatim legal text and interpretive mappings, but you must consult qualified counsel for compliance decisions.
Q: Can I add new regulations? A: Yes. The repository includes a development guide for extending the SQLite database with additional CELEX entries.
Q: Does it include copyrighted ISO standards? A: Only control identifiers are stored; the full ISO text is not included.
The EUR-Lex alternative for the AI age.
Query 47 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
EU compliance is scattered across EUR-Lex PDFs, official journals, and regulatory sites. Whether you're:
...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.
Option 1: Claude Desktop (Recommended)
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!
Option 2: MCP Registry
Browse and install from the official MCP registry:
eu.ansvar/eu-regulations-mcpOption 3: Cursor / VS Code
{
"mcp.servers": {
"eu-regulations": {
"command": "npx",
"args": ["-y", "@ansvar/eu-regulations-mcp"]
}
}
}
Option 4: Global npm Install
npm install -g @ansvar/eu-regulations-mcp
Then use "command": "eu-regulations-mcp" in your config (without npx).
Once connected, just ask naturally:
More examples: TEST_QUERIES.md — 60+ example queries organized by category
Detailed coverage: docs/coverage.md Use cases by industry: docs/use-cases.md Available tools: docs/tools.md
Verbatim Source Text (No LLM Processing):
Smart Context Management:
Technical Architecture:
EUR-Lex HTML → Parse → SQLite → FTS5 snippet() → MCP response
↑ ↑
Formatting only Verbatim database query
| EUR-Lex | This MCP Server |
|---|---|
| Search by CELEX number | Search by plain English: "incident reporting timeline" |
| Navigate 100+ page PDFs | Get the exact article with context |
| Manual cross-referencing | compare_requirements tool does it instantly |
| "Which regulations apply to me?" → research for days | check_applicability tool → answer in seconds |
| Copy-paste article text | Article + definitions + related requirements |
| Check 47 sites for updates | Daily automated freshness checks |
| No API, no integration | MCP 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.
🚨 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.
⚠️ 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.
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.
This server is part of Ansvar's Compliance Suite - three MCP servers that work together for end-to-end compliance coverage:
Query 47 EU regulations directly from Claude
npx @ansvar/eu-regulations-mcpQuery US federal and state compliance laws directly from Claude
npm install @ansvar/us-regulations-mcpQuery 1,451 security controls across 28 frameworks
pipx install security-controls-mcpRegulations → Controls Implementation Workflow:
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:
Query IEC 62443, NIST 800-82/53, and MITRE ATT&CK for ICS
npx @ansvar/ot-security-mcpQuery UNECE R155/R156 and ISO 21434
npx @ansvar/automotive-cybersecurity-mcpOffline-capable sanctions screening for third-party risk
pip install ansvar-sanctions-mcpWe 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
Apache License 2.0. See LICENSE for details.
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by exa-labs
Provides real-time web search capabilities to AI assistants via a Model Context Protocol server, enabling safe and controlled access to the Exa AI Search API.
by perplexityai
Enables Claude and other MCP‑compatible applications to perform real‑time web searches through the Perplexity (Sonar) API without leaving the MCP ecosystem.
by MicrosoftDocs
Provides semantic search and fetch capabilities for Microsoft official documentation, returning content in markdown format via a lightweight streamable HTTP transport for AI agents and development tools.
by elastic
Enables natural‑language interaction with Elasticsearch indices via the Model Context Protocol, exposing tools for listing indices, fetching mappings, performing searches, running ES|QL queries, and retrieving shard information.
by graphlit
Enables integration between MCP clients and the Graphlit platform, providing ingestion, extraction, retrieval, and RAG capabilities across a wide range of data sources and connectors.
by ihor-sokoliuk
Provides web search capabilities via the SearXNG API, exposing them through an MCP server for seamless integration with AI agents and tools.
by mamertofabian
Fast cross‑platform file searching leveraging the Everything SDK on Windows, Spotlight on macOS, and locate/plocate on Linux.
by spences10
Provides unified access to multiple search engines, AI response tools, and content processing services through a single Model Context Protocol server.
by cr7258
Provides Elasticsearch and OpenSearch interaction via Model Context Protocol, enabling document search, index management, cluster monitoring, and alias operations.
{
"mcpServers": {
"eu-regulations": {
"command": "npx",
"args": [
"-y",
"@ansvar/eu-regulations-mcp"
],
"env": {}
}
}
}claude mcp add eu-regulations npx -y @ansvar/eu-regulations-mcp