npm @matematicsolutions/mcp-eu-compliancestdioMITupdated 1mo ago
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.
O que dá para fazer com mcp eu compliance?
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
| Tool | Description |
|---|---|
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
- Code: MIT - see LICENSE.
- Corpus: EUR-Lex content (reusable, Decision 2011/833/EU) + database file from Ansvar-Systems/EU_compliance_MCP (Apache-2.0). Details: THIRD_PARTY_INSPIRATIONS.md.
Citation: MateMatic Solutions (2026), mcp-eu-compliance, https://github.com/matematicsolutions/mcp-eu-compliance, MIT.
Instalação
Adicione mcp eu compliance ao seu cliente. Escolha o que você usa.
claude mcp add mcp-eu-compliance -- npx -y @matematicsolutions/mcp-eu-compliancecodex mcp add mcp-eu-compliance -- npx -y @matematicsolutions/mcp-eu-complianceamp mcp add mcp-eu-compliance -- npx -y @matematicsolutions/mcp-eu-compliance{
"mcpServers": {
"mcp-eu-compliance": {
"command": "npx",
"args": [
"-y",
"@matematicsolutions/mcp-eu-compliance"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp-eu-compliance": {
"command": "npx",
"args": [
"-y",
"@matematicsolutions/mcp-eu-compliance"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp-eu-compliance","command":"npx","args":["-y","@matematicsolutions/mcp-eu-compliance"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp-eu-compliance": {
"command": "npx",
"args": [
"-y",
"@matematicsolutions/mcp-eu-compliance"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp-eu-compliance": {
"command": "npx",
"args": [
"-y",
"@matematicsolutions/mcp-eu-compliance"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp-eu-compliance": {
"command": "npx",
"args": [
"-y",
"@matematicsolutions/mcp-eu-compliance"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp-eu-compliance": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@matematicsolutions/mcp-eu-compliance"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp-eu-compliance": {
"command": {
"path": "npx",
"args": [
"-y",
"@matematicsolutions/mcp-eu-compliance"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @matematicsolutions/mcp-eu-complianceRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Pontuação
39 / 100
Incompleta
- Documentação22/25
- Manutenção22/25
- Confiança16/20
- Capacidade0/15
- Instalação12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 35 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Histórico de versões
| Versões | Publicada |
|---|---|
| 0.4.0Mais recente | 28 de jul. de 2026 |
| 0.3.0 | 4 de jul. de 2026 |
| 0.2.1 | 3 de jul. de 2026 |