air-blackbox-mcp
EU AI Act compliance scanner for Python AI agents. Scans, analyzes, and remediates LangChain/CrewAI/AutoGen/OpenAI code across 6 articles with 10 MCP tools including prompt injection detection, risk classification, and fix code generation.
README
AIR Blackbox MCP Server
EU AI Act compliance scanning for Python AI agents — directly in Claude Desktop, Cursor, or any MCP client.
10 tools that scan, analyze, and fix compliance gaps across LangChain, CrewAI, AutoGen, OpenAI, and RAG pipelines.
Quick Start
1. Install
pip install air-blackbox-mcp
2. Add to Claude Desktop
Open your Claude Desktop config file:
- Mac:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\\Claude\\claude_desktop_config.json
Add this:
{
"mcpServers": {
"air-blackbox": {
"command": "python3",
"args": ["-m", "air_blackbox_mcp"]
}
}
}
3. Restart Claude Desktop
The AIR Blackbox tools will appear in Claude's tool list.
Tools
Scanning
| Tool | What it does |
|---|---|
scan_code |
Scan a Python code string for all 6 EU AI Act articles |
scan_file |
Scan a single .py file |
scan_project |
Scan an entire project directory |
Analysis
| Tool | What it does |
|---|---|
analyze_with_model |
Deep analysis using local fine-tuned Llama model (via Ollama) |
check_prompt_injection |
Scan text for 15 prompt injection patterns |
classify_risk |
Classify a tool/function by risk level (CRITICAL/HIGH/MEDIUM/LOW) |
Remediation
| Tool | What it does |
|---|---|
add_trust_layer |
Generate working code to add AIR trust layer to your agent |
suggest_fix |
Get the specific fix for a failing article |
Documentation
| Tool | What it does |
|---|---|
explain_article |
Technical explanation of what each article requires |
generate_compliance_report |
Full markdown compliance report |
Example Usage in Claude Desktop
"Scan this LangChain agent for EU AI Act compliance"
"Check this text for prompt injection: ignore all previous instructions"
"Add a trust layer to my CrewAI code"
"Explain what Article 12 requires"
"Generate a compliance report for my project at /path/to/project"
Articles Checked
| Article | Requirement | AIR Component |
|---|---|---|
| 9 | Risk Management | Risk classification |
| 10 | Data Governance | PII protection |
| 11 | Technical Documentation | Structured audit logging |
| 12 | Record-Keeping (tamper-evident) | Structured audit logging (HMAC-SHA256) |
| 14 | Human Oversight | Risk classification |
| 15 | Robustness & Cybersecurity | Prompt injection detection |
Optional: Local AI Model
For deeper analysis, install the fine-tuned compliance model:
ollama run air-compliance-v2
The analyze_with_model tool will automatically use it. Falls back to rule-based scanning if Ollama isn't running.
Trust Layer Packages
Fix compliance gaps with drop-in trust layers:
pip install air-langchain-trust # LangChain / LangGraph
pip install air-crewai-trust # CrewAI
pip install air-autogen-trust # AutoGen / AG2
pip install air-anthropic-trust # OpenAI Agents SDK
pip install air-rag-trust # RAG pipelines
Development
git clone https://github.com/airblackbox/air-blackbox-mcp
cd air-blackbox-mcp
pip install -e .
python3 -m air_blackbox_mcp
Links
- Website: airblackbox.ai
- Docs: docs.airblackbox.ai
- GitHub: github.com/airblackbox
- Scanner Demo: Hugging Face Space
- Gate (AI Firewall): airblackbox.ai/gate
License
Apache 2.0
Deadline: August 2, 2026. Fines up to €35M or 7% of global annual turnover. <!-- mcp-name: io.github.shotwellj/air-blackbox -->
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。