Sign In

@matematicsolutions/mcp-eu-compliance

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@matematicsolutions/mcp-eu-compliance

MCP server - offline EU compliance corpus (EUR-Lex full text via local SQLite FTS5, verbatim zero-LLM) for GDPR, AI Act, DORA, NIS2, eIDAS 2.0, CRA

latest
Source
npmnpm
Version
0.4.0
Version published
Maintainers
1
Created
Source

mcp-eu-compliance

MCP server exposing an offline corpus of EU law (EUR-Lex, full text) in local SQLite FTS5, with compliance tools. Snippets returned verbatim from the database (zero-LLM) - each with a CELEX id and EUR-Lex URL. Anti-hallucination by mechanism, not by trust in the model.

Scope (14 regulations, digital/data/cyber): GDPR, AI Act, DORA, NIS2, eIDAS 2.0, CRA, DSA, DMA, Data Act, DGA, LED, ePrivacy, Cybersecurity Act, CER.

Complementary to mcp-eu-sparql: that one discovers acts live (SPARQL Cellar), this one provides verbatim text + offline compliance analysis (no network at runtime).

Installation

npm install            # Node 22.5+ (node:sqlite built-in)
npm run fetch-corpus   # downloads regulations.db (~36 MB) from Ansvar (Apache-2.0)
npm run build
npm start

Configuration in the MCP client (e.g. mcp-servers.json):

{
  "name": "eu-compliance",
  "command": "node",
  "args": ["/path/to/mcp-eu-compliance/dist/index.js"]
}

Tools

ToolDescription
eu_search(query, regulations?, limit?)Full-text (FTS5) across articles, verbatim snippets.
eu_article(regulation, article_number)Full article text + title + chapter + CELEX.
eu_compare(query, regulations?)The same topic across several regulations at once (e.g. incident reporting DORA vs NIS2 vs CRA).
eu_check_applicability(sector, subsector?)Which of the 14 regulations apply to a sector, with confidence level and basis article.
eu_evidence(regulation, article?)Evidence artifacts (audit) - which document/log/certificate proves compliance.

Each tool returns structuredContent.citations (regulation, CELEX, EUR-Lex URL, snapshot).

Examples

  • "Compare incident reporting timelines across DORA, NIS2, and CRA" -> eu_compare
  • "What does GDPR Article 33 require?" -> eu_article
  • "Which EU regulations apply to a bank?" -> eu_check_applicability(sector=financial, subsector=bank)
  • "What audit evidence does DORA Article 17 require?" -> eu_evidence

Disclaimers

  • Snapshot, not the authentic source. The authentic version = Official Journal of the EU. The connector returns a point-in-time snapshot; verify currency in EUR-Lex (CELEX). Freshness -> mcp-eu-sparql (live).
  • Applicability rules are expert guidance, not a binding legal assessment. Sector-specific realities may require your own analysis.
  • Reference material, not legal advice.

License and attribution

Citation: MateMatic Solutions (2026), mcp-eu-compliance, https://github.com/matematicsolutions/mcp-eu-compliance, MIT.

Keywords

mcp

FAQs

Package last updated on 28 Jul 2026

Did you know?

Socket

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.

Install

Related posts