Skip to main content

MCP server for EU AI Act compliance scanning — scan, analyze, remediate, and protect AI agent code

Project description

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:

  1. Scans — 18+ regex patterns across 6 EU AI Act articles
  2. Analyzes — local fine-tuned model catches what regex misses
  3. Remediates — generates working code to fix findings
  4. Verifies — checks for prompt injection with 15 weighted patterns
  5. Classifies — maps tools to EU AI Act risk levels
  6. Documents — produces full compliance reports

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

air_blackbox_mcp-0.1.3.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

air_blackbox_mcp-0.1.3-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file air_blackbox_mcp-0.1.3.tar.gz.

File metadata

  • Download URL: air_blackbox_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for air_blackbox_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ea58db3dca253d4f2be9070d30eba433d7e879ca06bceca330e16e4d56f3df0a
MD5 8c45e7c319694eb1891ad9337ad78e6b
BLAKE2b-256 3b906b779e2e6b2aff8f0ae699b8cd9c2f87675f9e7ae6fadb1b4f8f9119a2de

See more details on using hashes here.

File details

Details for the file air_blackbox_mcp-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for air_blackbox_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e6b283c732f61ab14138e802db7ea965507ce56354b845f96eac54149200cd9a
MD5 108a8a882d2a06120b39f166b4a71210
BLAKE2b-256 e4204a2cc5e2b078e5c45492dd3a741e3af405358d04426e2dd840dccced54b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page