
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@ansvar/eu-regulations-mcp
Advanced tools
The first open-source MCP server for European cybersecurity regulations. Query DORA, NIS2, GDPR, EU AI Act, and more directly from Claude.
The EUR-Lex alternative for the AI age.
Query 49 EU regulations — from GDPR and AI Act to DORA, Chips Act, 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.
Connect directly to the hosted version — zero dependencies, nothing to install.
Endpoint: https://eu-regulations-mcp.vercel.app/mcp
| Client | How to Connect |
|---|---|
| Claude.ai | Settings > Connectors > Add Integration > paste URL |
| Claude Code | claude mcp add eu-regulations --transport http https://eu-regulations-mcp.vercel.app/mcp |
| Claude Desktop | Add to config (see below) |
| GitHub Copilot | Add to VS Code settings (see below) |
Claude Desktop — add to claude_desktop_config.json:
{
"mcpServers": {
"eu-regulations": {
"type": "url",
"url": "https://eu-regulations-mcp.vercel.app/mcp"
}
}
}
GitHub Copilot — add to VS Code settings.json:
{
"github.copilot.chat.mcp.servers": {
"eu-regulations": {
"type": "http",
"url": "https://eu-regulations-mcp.vercel.app/mcp"
}
}
}
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
{
"mcpServers": {
"eu-regulations": {
"command": "npx",
"args": ["-y", "@ansvar/eu-regulations-mcp"]
}
}
}
Cursor / VS Code:
{
"mcp.servers": {
"eu-regulations": {
"command": "npx",
"args": ["-y", "@ansvar/eu-regulations-mcp"]
}
}
}
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 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:
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.
🚨 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.
Built with care in Stockholm, Sweden
FAQs
The first open-source MCP server for European cybersecurity regulations. Query DORA, NIS2, GDPR, EU AI Act, and more directly from Claude.
We found that @ansvar/eu-regulations-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.