AIR Blackbox
EU AI Act compliance scanner for Python AI agents — 10 tools for scanning, analysis, and remediation
AIR Blackbox MCP Server
EU AI Act compliance scanning for Claude Desktop, Cursor, and any MCP-compatible client.
Unlike other compliance scanners that only report problems, AIR Blackbox also remediates — generating working code fixes, trust layer integrations, and full compliance reports.
10 Tools
| Tier | Tool | What it does |
|---|---|---|
| Scanning | scan_code | Scan Python code string for all 6 EU AI Act articles |
| Scanning | scan_file | Read and scan a single Python file |
| Scanning | scan_project | Recursively scan all .py files in a directory |
| Analysis | analyze_with_model | Deep analysis via local fine-tuned model (Ollama) |
| Analysis | check_injection | Detect prompt injection attacks (15 patterns) |
| Analysis | classify_risk | Classify tools by EU AI Act risk level |
| Remediation | add_trust_layer | Generate trust layer integration code |
| Remediation | suggest_fix | Get article-specific fix recommendations |
| Documentation | explain_article | Technical explanation of EU AI Act articles |
| Documentation | generate_compliance_report | Full markdown compliance report |
Supported Frameworks
LangChain, CrewAI, AutoGen, OpenAI, Haystack, LlamaIndex, Semantic Kernel, and generic RAG pipelines.
Install
pip install air-blackbox-mcp
Claude Desktop Setup
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"air-blackbox": {
"command": "python3",
"args": ["-m", "air_blackbox_mcp"]
}
}
}
Restart Claude Desktop. The 10 tools will appear automatically.
Cursor Setup
Add to .cursor/mcp.json in your project:
{
"mcpServers": {
"air-blackbox": {
"command": "python3",
"args": ["-m", "air_blackbox_mcp"]
}
}
}
Usage Examples
In Claude Desktop or Cursor, just ask:
- "Scan this code for EU AI Act compliance"
- "Add a trust layer to this LangChain agent"
- "Check this text for prompt injection"
- "What does Article 12 require?"
- "Generate a compliance report for my project at ~/myproject"
- "Classify the risk level of
send_email"
Optional: Deep Analysis with Ollama
For AI-powered analysis beyond regex patterns:
# Install Ollama
brew install ollama
# Pull the fine-tuned compliance model
ollama pull air-compliance-v2
# The analyze_with_model tool will automatically use it
What Makes This Different
Other MCP compliance tools only scan. AIR Blackbox:
- Scans — 18+ regex patterns across 6 EU AI Act articles
- Analyzes — local fine-tuned model catches what regex misses
- Remediates — generates working code to fix findings
- Verifies — checks for prompt injection with 15 weighted patterns
- Classifies — maps tools to EU AI Act risk levels
- Documents — produces full compliance reports
Links
- AIR Blackbox Scanner — the CLI scanner
- airblackbox.ai — project homepage
- EU AI Act — the regulation
相关服务器
Scout Monitoring MCP
赞助Put performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
赞助Access financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
TransformerBee.MCP
An MCP server for the transformer.bee service, configurable via environment variables.
Code Editor
Enables AI assistants to write, edit, and manage code files directly in a specified directory, respecting .gitignore patterns.
MCP Server Boilerplate
A TypeScript boilerplate for building MCP servers with streamable HTTP and OAuth proxy support.
OpenGrok
OpenGrok MCP Server is a native Model Context Protocol (MCP) VS Code extension that seamlessly bridges the gap between your organization's OpenGrok indices and GitHub Copilot Chat. It arms your AI assistant with the deep, instantaneous repository context required to traverse, understand, and search massive codebases using only natural language.
WordPress MCP Server
An MCP server for integrating with and managing WordPress sites.
Windows CLI
Interact with Windows command-line interfaces like PowerShell, CMD, Git Bash, and WSL.
Shallow Research Code Assistant
A multi-agent AI-powered research and code assistant. Requires external API keys for LLM providers, web search, and secure code execution.
Ralph Wiggum MCP
An enhanced Model Context Protocol (MCP) server implementing the Ralph Wiggum technique.
mcpo+OpenWebUI
A secure MCP-to-OpenAPI proxy server that converts MCP tools into OpenAPI compatible HTTP servers, with support for multiple server types and automatic API documentation.
ScreenHand
Native desktop + browser automation MCP server with 82 tools — accessibility APIs (macOS/Windows), Chrome DevTools Protocol, anti-detection, memory, jobs, and reusable playbooks.