@ansvar/eu-regulations-mcp 0.2.3 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,8 +1,15 @@
1
1
  # EU Regulations MCP Server
2
2
 
3
- **The first open-source MCP server for European cybersecurity regulations.**
3
+ **The EUR-Lex alternative for the AI age.**
4
4
 
5
- Query **37 EU regulations** including DORA, NIS2, GDPR, AI Act, MiFID II, EHDS, and more — directly from Claude, Cursor, or any MCP-compatible client.
5
+ [![npm version](https://badge.fury.io/js/@ansvar%2Feu-regulations-mcp.svg)](https://www.npmjs.com/package/@ansvar/eu-regulations-mcp)
6
+ [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
7
+ [![GitHub stars](https://img.shields.io/github/stars/Ansvar-Systems/EU_compliance_MCP?style=social)](https://github.com/Ansvar-Systems/EU_compliance_MCP)
8
+ [![Daily EUR-Lex Check](https://github.com/Ansvar-Systems/EU_compliance_MCP/actions/workflows/check-updates.yml/badge.svg)](https://github.com/Ansvar-Systems/EU_compliance_MCP/actions/workflows/check-updates.yml)
9
+
10
+ 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.
11
+
12
+ If you're building digital products, financial services, healthcare tech, or connected devices for the European market, this is your compliance reference.
6
13
 
7
14
  Built by [Ansvar Systems](https://ansvar.ai) — Stockholm, Sweden
8
15
 
@@ -10,9 +17,15 @@ Built by [Ansvar Systems](https://ansvar.ai) — Stockholm, Sweden
10
17
 
11
18
  ## Why This Exists
12
19
 
13
- European cybersecurity compliance is fragmented across dozens of PDFs, EUR-Lex pages, and regulatory documents. We built this for our own threat modeling work and figured others might find it useful.
20
+ EU compliance is scattered across EUR-Lex PDFs, official journals, and regulatory sites. Whether you're:
21
+ - A **developer** implementing GDPR data rights or NIS2 incident reporting
22
+ - A **product team** navigating AI Act risk assessments or Medical Device conformity
23
+ - A **compliance officer** mapping ISO 27001 to DORA requirements
24
+ - A **legal researcher** comparing PSD2 authentication vs. eIDAS trust services
14
25
 
15
- No more tab-switching. No more "wait, what article was that?" Just ask.
26
+ ...you shouldn't need a law degree and 47 browser tabs. Ask Claude. Get the exact article. With context.
27
+
28
+ This MCP server makes EU regulations **searchable, cross-referenceable, and AI-readable**.
16
29
 
17
30
  ---
18
31
 
@@ -91,6 +104,43 @@ Plus:
91
104
 
92
105
  ---
93
106
 
107
+ ## Who This Is For
108
+
109
+ This isn't just for security teams. If you're building **anything** that touches the EU market, you need these regulations:
110
+
111
+ **🏦 Fintech & Banking**
112
+ - Payment processors → PSD2, DORA, MiFID II
113
+ - Crypto platforms → MiCA, DORA
114
+ - Trading systems → MiFIR, DORA
115
+ - Fund management → AIFMD, SFDR
116
+
117
+ **🏥 Healthcare & MedTech**
118
+ - Health apps → GDPR, EHDS, MDR
119
+ - Medical devices → MDR, IVDR, CRA
120
+ - Clinical systems → NIS2, GDPR, EHDS
121
+
122
+ **🤖 AI & Machine Learning**
123
+ - Any AI system → EU AI Act (high-risk classification)
124
+ - HR tech, recruitment → AI Act + GDPR
125
+ - Content moderation → DSA, AI Act
126
+
127
+ **🏭 IoT & Connected Products**
128
+ - Smart devices → CRA, RED, GDPR
129
+ - Industrial IoT → Machinery, NIS2, CRA
130
+ - Automotive → UN R155/R156, CRA
131
+
132
+ **☁️ SaaS & Digital Platforms**
133
+ - Cloud services → Data Act, GDPR, NIS2
134
+ - Marketplaces → DSA, DMA, Consumer Rights
135
+ - B2B platforms → Data Act, DGA
136
+
137
+ **📱 Consumer Tech**
138
+ - Mobile apps → GDPR, DSA, ePrivacy, CRA
139
+ - E-commerce → GDPR, Consumer Rights, DSA
140
+ - Social platforms → DSA, DMA, GDPR
141
+
142
+ ---
143
+
94
144
  ## Quick Start
95
145
 
96
146
  ### Claude Desktop
@@ -145,6 +195,16 @@ npm start
145
195
 
146
196
  ---
147
197
 
198
+ ## Testing & Coverage
199
+
200
+ **Want to try it out?**
201
+ - [TEST_QUERIES.md](./TEST_QUERIES.md) - 60+ example queries organized by category
202
+ - [COVERAGE_GAPS.md](./COVERAGE_GAPS.md) - Known limitations and roadmap
203
+
204
+ **TL;DR:** Base regulations work perfectly. Recitals available for GDPR (173); other regulations blocked by EUR-Lex WAF protection (2026-01-27). Delegated acts and national transpositions are roadmap items.
205
+
206
+ ---
207
+
148
208
  ## Available Tools
149
209
 
150
210
  ### `search_regulations`
@@ -163,12 +223,21 @@ Retrieve a specific article with full text and context.
163
223
  → Returns ICT-related incident management process requirements
164
224
  ```
165
225
 
226
+ ### `get_recital`
227
+ Retrieve legislative intent and interpretation guidance from regulation preambles.
228
+
229
+ ```
230
+ "Get GDPR Recital 83"
231
+ → Returns: Context for "appropriate technical measures"
232
+ (encryption, pseudonymization, resilience testing)
233
+ ```
234
+
166
235
  ### `list_regulations`
167
236
  List available regulations or show detailed structure.
168
237
 
169
238
  ```
170
239
  "List all regulations"
171
- → Returns overview of all 9 regulations with article counts
240
+ → Returns overview of all 37 regulations with article counts
172
241
  ```
173
242
 
174
243
  ### `get_definitions`
@@ -234,6 +303,28 @@ Once connected, just ask naturally:
234
303
 
235
304
  ---
236
305
 
306
+ ## Why Not Just Use EUR-Lex?
307
+
308
+ EUR-Lex is authoritative. It's also **designed for lawyers, not developers**.
309
+
310
+ | EUR-Lex | This MCP Server |
311
+ |---------|-----------------|
312
+ | Search by CELEX number | Search by plain English: *"incident reporting timeline"* |
313
+ | Navigate 100+ page PDFs | Get the exact article with context |
314
+ | Manual cross-referencing | `compare_requirements` tool does it instantly |
315
+ | "Which regulations apply to me?" → research for days | `check_applicability` tool → answer in seconds |
316
+ | Copy-paste article text | Article + definitions + related requirements |
317
+ | Check 37 sites for updates | Daily automated freshness checks |
318
+ | No API, no integration | MCP protocol → AI-native |
319
+
320
+ **Example:**
321
+ - EUR-Lex: Download DORA PDF → Ctrl+F "incident" → Read Article 17 → Google "What's a major incident?" → Cross-reference NIS2 → Repeat for 5 regulations
322
+ - This MCP: *"Compare incident reporting requirements across DORA, NIS2, and CRA"* → Done.
323
+
324
+ This isn't replacing EUR-Lex. It's making it **usable in 2026**.
325
+
326
+ ---
327
+
237
328
  ## Data Sources
238
329
 
239
330
  All content is sourced from official public sources:
@@ -312,9 +403,11 @@ Always verify against official sources for compliance decisions.
312
403
 
313
404
  ## About Ansvar Systems
314
405
 
315
- We build AI-accelerated threat modeling tools for automotive and financial services. This MCP server powers our internal compliance workflowswe're sharing it because navigating EU regulations shouldn't require a law degree.
406
+ We build AI-accelerated threat modeling and compliance tools for automotive, financial services, and healthcare. This MCP server started as our internal reference toolturns out everyone building for EU markets has the same EUR-Lex frustrations.
407
+
408
+ So we're open-sourcing it. Navigating 37 regulations shouldn't require a legal team.
316
409
 
317
- **[ansvar.ai](https://ansvar.ai)** — Threat modeling in days, not weeks.
410
+ **[ansvar.ai](https://ansvar.ai)** — Stockholm, Sweden
318
411
 
319
412
  ---
320
413
 
@@ -373,3 +466,4 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
373
466
  <p align="center">
374
467
  <sub>Built with care in Stockholm, Sweden</sub>
375
468
  </p>
469
+
Binary file