MCP Hub
Back to servers

air-blackbox

EU AI Act compliance scanner for Python AI agents — scan, analyze, and remediate

Registry
Updated
Feb 27, 2026

Quick Install

uvx air-blackbox-mcp

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

ToolWhat it does
scan_codeScan a Python code string for all 6 EU AI Act articles
scan_fileScan a single .py file
scan_projectScan an entire project directory

Analysis

ToolWhat it does
analyze_with_modelDeep analysis using local fine-tuned Llama model (via Ollama)
check_prompt_injectionScan text for 15 prompt injection patterns
classify_riskClassify a tool/function by risk level (CRITICAL/HIGH/MEDIUM/LOW)

Remediation

ToolWhat it does
add_trust_layerGenerate working code to add AIR trust layer to your agent
suggest_fixGet the specific fix for a failing article

Documentation

ToolWhat it does
explain_articleTechnical explanation of what each article requires
generate_compliance_reportFull 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

ArticleRequirementAIR Component
9Risk ManagementConsentGate
10Data GovernanceDataVault
11Technical DocumentationAuditLedger
12Record-Keeping (tamper-evident)AuditLedger (HMAC-SHA256)
14Human OversightConsentGate
15Robustness & CybersecurityInjectionDetector

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-openai-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

License

Apache 2.0


Deadline: August 2, 2026. Fines up to €35M or 7% of global annual turnover.

Reviews

No reviews yet

Sign in to write a review