vishtechie07/eu-compliance-guard
A Model Context Protocol (MCP) server that enables AI agents to audit code and documentation against the EU AI Act and regional regulations. Seamlessly integrate compliance guardrails into your LLM-driven development workflow.
Platform-specific configuration:
{
"mcpServers": {
"eu-compliance-guard": {
"command": "npx",
"args": [
"-y",
"eu-compliance-guard"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[](https://github.com/vishtechie07/eu-compliance-guard/actions/workflows/build.yml) [](https://openjdk.org/projects/jdk/21/) [](https://spring.io/projects/spring-boot) [](https://spring.io/projects/spring-ai) [](LICENSE) [](https://modelcontextprotocol.io)
> A Java Spring Boot MCP Server that detects EU regulatory compliance violations in source code snippets — directly inside Cursor IDE. No HTTP server. No configuration. Just drop the JAR in Cursor and start auditing.
---
EU Compliance Guard exposes three MCP tools over STDIO transport that Cursor can call during any coding session:
| Tool | Description | |------|-------------| | audit_code | Audits a code snippet against all 10 active EU regulations and returns every violation found | | list_rules | Lists all active rules with IDs, severity, and regional scope | | explain_regulation | Returns full regulation details, triggers, and remediation steps for any rule ID |
---
---
audit_code — Spain Veri\*Factu violation detectedSnippet: def create_invoice(order_id, amount): return {'id': order_id} | Region: Spain
![Cursor chat showing Veri*Factu violation: invoice missing hash_chain and qr_code](docs/assets/cursor-audit-verifac
Loading reviews...