AI Act Sentinel
MCP server for EU AI Act compliance analysis โ classify any AI system or workflow against Regulation (EU) 2024/1689, updated with AI Omnibus 2026.
README
AI Act Sentinel ๐ก๏ธ
MCP server for EU AI Act compliance analysis โ classify any AI system or workflow against Regulation (EU) 2024/1689, updated with AI Omnibus 2026.
Pass a PDF project document or plain text description โ get back a structured Italian compliance report: risk level, violated articles, operator obligations, and remediation steps.
Why AI Act Sentinel?
The EU AI Act (Reg. EU 2024/1689) is the world's first comprehensive AI regulation. With the main deadline on 2 August 2026 and fines up to โฌ35 million or 7% of worldwide turnover, understanding your compliance position is not optional.
Existing tools either:
- Cover only ~30% of the Act (outdated repos from late 2024)
- Require expensive legal consultations for every new workflow
- Provide no automated pipeline integration
AI Act Sentinel runs locally as an MCP server, integrates directly with Claude Code, and fires automatically every time you build or modify an AI system.
Features
- ๐ด Prohibited practice detection โ all 10 Art. 5 cases including AI Omnibus 2026 (NCII + CSAM)
- ๐ High-risk classification โ all 8 Annex III categories + Annex I safety components
- ๐ก Transparency obligations โ all 5 Art. 50 rules (chatbot disclosure, C2PA watermarking, deepfake labeling)
- ๐ต GPAI model detection โ Chapter V obligations + systemic risk threshold (10ยฒโต FLOPs)
- ๐ PDF project analysis โ extract text from any project document and run full compliance check
- ๐ค Role-aware reports โ obligations differ by role (provider, deployer, importer, distributorโฆ)
- ๐ Ansvar integration โ optional live article lookup via Ansvar Systems EU Compliance MCP gateway
- ๐ฎ๐น Italian reports โ structured output in Italian with article citations and remediation steps
Risk Levels
| Level | Trigger | Max Penalty |
|---|---|---|
| ๐ด PROHIBITED | Art. 5 violation | โฌ35M or 7% worldwide turnover |
| ๐ HIGH_RISK | Annex III or Annex I safety component | โฌ15M or 3% worldwide turnover |
| ๐ก LIMITED_RISK | Art. 50 transparency obligations only | โฌ15M or 3% worldwide turnover |
| ๐ต GPAI | General Purpose AI model (Chapter V) | โฌ15M or 3% worldwide turnover |
| ๐ข MINIMAL_RISK | No mandatory obligations | โ |
| โช OUT_OF_SCOPE | Military / personal / pre-commercial R&D | โ |
Coverage
| Chapter | Articles | Status |
|---|---|---|
| Ch. II โ Prohibited Practices | Art. 5 (10 cases incl. Omnibus 2026) | โ Complete |
| Ch. III โ High-Risk Systems | Art. 6, Annex III (8 categories) | โ Complete |
| Ch. IV โ Transparency | Art. 50 (5 rules) | โ Complete |
| Ch. V โ GPAI Models | Art. 51-55, systemic risk | โ Complete |
| Ch. XI-XIII โ Sanctions | Art. 99-101 | โ Complete |
| Roles & Obligations | 6 operator roles | โ Complete |
| Implementation Timeline | 2024-2031 | โ Complete |
MCP Tools
| Tool | Description |
|---|---|
analyze_pdf |
Analyze a PDF project document โ full compliance pipeline |
classify_text |
Classify any text description against the Act |
generate_report |
Generate full Italian compliance report |
lookup_article |
Fetch article text from Ansvar gateway |
search_act |
Full-text search across EU AI Act |
get_obligations |
Get obligations by operator role |
Installation
Prerequisites
pip install pymupdf
Add to Claude Code (MCP config)
Add to ~/.mcp.json or ~/Orchestrator/.mcp.json:
{
"mcpServers": {
"ai-act-sentinel": {
"command": "python3",
"args": ["/path/to/ai-act-sentinel/server.py"]
}
}
}
Restart Claude Code. The 6 tools will be available in your session.
Usage
Analyze a PDF project
analyze_pdf(pdf_path="/path/to/your/project.pdf")
Classify a text description
classify_text(
description="Sistema di recruitment AI con filtraggio automatico CV e ranking candidati",
generate_full_report=True
)
Quick Python test
cd ai-act-sentinel
python3 -c "
from tools.classifier import classify
from tools.reporter import generate_report
desc = 'Sistema AI per valutare creditworthiness di persone fisiche per mutui bancari'
result = classify(desc)
print(generate_report(result, source='test'))
"
Sample output
======================================================================
AI ACT SENTINEL โ RAPPORTO DI CONFORMITร
Data analisi: 2026-06-18
Fonte: test
======================================================================
LIVELLO DI RISCHIO: ๐ ALTO RISCHIO (Annex III / Art. 6)
DESCRIZIONE: Il sistema AI rientra nelle categorie ad alto rischio.
Sono obbligatori requisiti completi del Capitolo III.
SINTESI: System matches 1 Annex III high-risk category.
SANZIONE MASSIMA: โฌ15.000.000 o 3% del fatturato mondiale annuo
ARTICOLI POTENZIALMENTE VIOLATI:
โข Annex III(5)
PROBLEMI RILEVATI:
1. 5. Essential Public & Private Services (Annex III(5))
Keywords trovate: creditworthiness, persone fisiche, mutui
OBBLIGHI APPLICABILI:
โ Art. 9 โ Risk management system
โ Art. 10 โ Data governance
โ Art. 11 โ Technical documentation
โ Art. 43 โ Conformity assessment
โ Art. 49 โ EU database registration
...
RACCOMANDAZIONI:
1. Implementare un sistema di gestione del rischio (Art. 9)
2. Predisporre documentazione tecnica completa (Art. 11)
3. Effettuare valutazione di conformitร (Art. 43)
4. Registrarsi nel database UE (Art. 49) prima del deployment
Project Structure
ai-act-sentinel/
โโโ server.py # MCP server โ JSON-RPC 2.0 over stdio
โโโ knowledge/
โ โโโ prohibited.py # Art. 5 โ 10 prohibited practices
โ โโโ annex_iii.py # Annex III โ 8 high-risk categories
โ โโโ transparency.py # Art. 50 โ 5 transparency rules
โ โโโ gpai.py # Chapter V โ GPAI + systemic risk
โ โโโ roles.py # 6 operator roles + obligations matrix
โ โโโ sanctions.py # Art. 99-101 sanction tiers
โโโ tools/
โ โโโ classifier.py # 6-question decision tree (Q1โQ6)
โ โโโ reporter.py # Italian report generator
โ โโโ pdf_analyzer.py # PDF text extraction (PyMuPDF)
โ โโโ ansvar.py # HTTP client โ gateway.ansvar.eu/mcp
โโโ requirements.txt
Classification Decision Tree
Q1: In scope? (not military / personal / pre-commercial)
Q2: Art. 5 prohibited practice? โ PROHIBITED (stop)
Q3: Annex III use case? โ HIGH_RISK (or exception if only procedural + no profiling)
Q4: Annex I safety component? โ HIGH_RISK Art. 6(1)
Q5: Art. 50 trigger? (chatbot / synthetic content / emotion / deepfake) โ LIMITED_RISK
Q6: GPAI model? โ Chapter V obligations (+ Art. 55 if >10ยฒโต FLOPs)
โ else: MINIMAL_RISK
Key Deadlines
| Date | What enters into force |
|---|---|
| โ 2 Feb 2025 | Art. 5 prohibited practices + AI literacy (Art. 4) |
| โ 2 Aug 2025 | GPAI obligations (Ch. V) + governance + sanctions |
| โ ๏ธ 2 Aug 2026 | Everything else: high-risk, Art. 50, deployer obligations, EU DB registration |
| 2 Aug 2027 | Art. 6(1) Annex I products + pre-2025 GPAI compliance |
| 7 May 2026 | AI Omnibus: NCII/CSAM prohibitions, SME relief, EU sandboxes |
External Data Layer
For live article lookups, AI Act Sentinel integrates with Ansvar Systems EU Compliance MCP:
- 126 AI Act articles, 68 definitions, 181 recitals
- Updated daily from EUR-Lex
- 50 free queries/day at
https://gateway.ansvar.eu/mcp - Graceful fallback to local knowledge if gateway is unavailable
Auto-Trigger Integration
When used with Claude Code and the provided CLAUDE.md configuration, AI Act Sentinel fires automatically:
- Every time you create or modify an N8N / Make workflow
- Every time you build an AI-powered application
- Every time you describe a system that processes personal data with ML
- When you pass a PDF project document for review
Behavior by risk level:
- PROHIBITED โ Claude stops and refuses to deploy
- HIGH_RISK โ Report shown, user confirmation required before deploy
- LIMITED_RISK โ Art. 50 disclosures added to system design automatically
Privacy
AI Act Sentinel is designed to be private by default:
- ๐ฅ๏ธ Runs entirely on your machine โ it's a local MCP server. Your project documents and descriptions never leave your computer for processing.
- ๐ No API keys required โ the classifier and report generator need no credentials and read no environment secrets.
- ๐ซ No data collection, no telemetry โ nothing is logged to or sent to the author or any analytics service.
- ๐ One optional external call โ only the
lookup_article/search_acttools may contact the public Ansvar Systems gateway (gateway.ansvar.eu) for live article text. Only the article ID or query you request is sent, from your machine. If the gateway is unavailable, it falls back to the bundled local knowledge base โ so the tool works fully offline too.
Disclaimer
AI Act Sentinel is an automated compliance screening tool for informational purposes only. It does not constitute legal advice. For deployment decisions involving high-risk AI systems, consult a qualified legal professional specializing in EU AI regulation.
Regulatory basis: Regulation (EU) 2024/1689 (EU AI Act) as amended by AI Omnibus (May 2026). Last knowledge update: June 2026.
License
MIT โ see LICENSE
Built with โค๏ธ for the EU AI compliance ecosystem.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.