Eu Regulations Mcp

io.github.Ansvar-Systems由 GitHub 帳號 Ansvar-Systems 發布v0.7.1更新於 Oct 24, 2026

Query 47 EU regulations (GDPR, NIS2, DORA, AI Act) - 2,438 articles, 3,712 recitals, ISO 27001

發布方自己的服務:Regulations.ai — Global AI Law Tracker

已驗證STDIO僅桌面知識與記憶安全與監控

概覽

AI 產生的概覽

讓助理檢索並閱讀歐盟法規全文(GDPR、NIS2、DORA、AI Act 等),包含條文、前言與控制項對應。

可以做什麼
  • 全文檢索法規,並回傳逐字條文與附件原文及醒目片段
  • 跨法規比較要求,並判斷某產業或組織適用哪些規則
  • 查詢官方定義、前言與法規指南(含常見陷阱與跨法規分析)
  • 將法規要求對應到 ISO 27001:2022 與 NIST CSF 2.0 控制項編號,並列出證據要求
適用情境
適合為歐盟市場開發數位產品、金融服務、醫療科技或聯網裝置時,需要精確條文原文或跨法規比較,而不想翻查 EUR-Lex PDF 的情境;也適合把法規要求對應到 ISO 27001 或 NIST 控制項。
執行需求
以本機 stdio 程序方式從 npm 套件執行;未宣告任何驗證或環境變數。README 說明預先建置的語料庫不在儲存庫中,自行建置需執行擷取腳本從 EUR-Lex 來源抓取;廠商另提供需 OAuth 註冊的託管閘道端點。
安裝前請注意
README 指出此獨立儲存庫已封存,內容已移至 fleet 單體儲存庫,因此此套件可能已過時。輸出不構成法律意見:控制項對應、適用性規則與交互參照僅為輔助解讀,須對照官方來源核實。取得完整條文可能佔用大量上下文(部分條文超過 7 萬 token)。不含 ISO 標準正文。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Eu Regulations Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

EU Regulations MCP Server

⚰️ RETIRED — folded into ansvar-mcp-fleet (2026-07-07)

This standalone repo is archived. The eu-regulations corpus now lives at Ansvar-Systems/ansvar-mcp-fleet under mcps/eu-regulations/ (fold: fleet PR #594; cutover: deploy PR #653, live 2026-07-07). Production serves the fleet-built image ghcr.io/ansvar-systems/eu-regulations with the CI-published eu-regulations-data-v2 data image — including the 7 MDR/IVDR delegated + implementing acts and the 14 robotics instruments (#109).

All new content and fixes go to the fleet monorepo (seeds in mcps/eu-regulations/seed/, build via scripts/build-chassis-db.ts). Open PRs at archive time, for the record: #110 (rail EU-law spine — port its instruments to fleet seeds), #113 (README banner, superseded by this notice), #111 (dependabot), #57 / #4 (stale). The gateway endpoint below still works — it now serves from the fleet deployment.

The EU regulations corpus is now served through the Ansvar Gateway. Connect your AI assistant (Claude, Copilot, Cursor, custom MCP client) to https://gateway.ansvar.eu/mcp — one OAuth connection, free tier available, covering this corpus plus EU regulations, national law across dozens of audited jurisdictions (Europe + the US), and CVE/security intelligence, every result with a verbatim source citation. Start at https://ansvar.eu/docs/quickstart

Connect

Claude Code (one line):

bash
claude mcp add ansvar --transport http https://gateway.ansvar.eu/mcp

Claude Desktop / Cursor — add to claude_desktop_config.json (or mcp.json):

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

Claude.ai — Settings → Connectors → Add custom connector → paste https://gateway.ansvar.eu/mcp

First request opens an OAuth signup flow (setup details: ansvar.eu/docs/quickstart). After signup, your client is bound to your account; tier (free / premium / team / company) determines fan-out, quota, and which downstream MCPs are reachable.


Self-host this MCP

You can also clone this repo and build the corpus yourself. The schema, fetcher, and tool implementations all live here. What is not in the repo is the pre-built database — TDM and standards-licensing constraints on the upstream sources mean we host the corpus on Ansvar infrastructure rather than redistribute it as a public artifact.

Build your own: run this repo's ingestion script (entry-point varies per repo — typically scripts/ingest.sh, npm run ingest, or make ingest; check the repo root).

MCP server providing structured access to full-text EU regulations via Claude, Cursor, and other MCP-compatible clients.

[MCP Registry] [License] [GitHub stars] [Daily EUR-Lex Check] [Database]

Query 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.


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

  • Regulations — GDPR, DORA, NIS2, AI Act, CRA, Chips Act, MiCA, eIDAS 2.0, Medical Device Regulation, and more
  • Articles, Recitals & Official Definitions — full text, with individually addressable annexes
  • Regulation Guides — Pitfalls, proportionality tiers, cross-regulation analysis, key article structures for DORA, CRA, AI Act, GDPR, NIS2, MDR, MiCA, DSA, Data Act, PLD, and more
  • Full-Text Search — Find relevant articles and annexes across all regulations instantly
  • Control Mappings — to ISO 27001:2022 & NIST CSF 2.0
  • Evidence Requirements — audit artifacts across all regulations
  • Sector Rules — 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 64-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-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.


More Ansvar MCPs

Full fleet coverage at ansvar.eu/coverage.

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 EU 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.

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.


Built with care in Stockholm, Sweden

來源:README.md,提交 55ceb11

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.7.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Regulations 整合