ark-forge/mcp-eu-ai-act

โš–๏ธ Legal
0 Views
0 Installs

๐Ÿ“‡ โ˜๏ธ - EU AI Act compliance scanner that detects regulatory violations in AI codebases with risk classification and remediation guidance.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "ark-forge-mcp-eu-ai-act": {
      "command": "npx",
      "args": [
        "-y",
        "ark-forge-mcp-eu-ai-act"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

EU AI Act Compliance Scanner โ€” CLI + MCP Server

PyPI version GitHub Stars Start Free Pro Plan โ€” โ‚ฌ29/mo Works with Claude Works with Cursor

One command. Zero config. Full EU AI Act + GDPR compliance report in under 10 seconds.

pip install eu-ai-act-scanner
eu-ai-act-scanner /path/to/your/project

Detects 16 AI frameworks in your codebase, maps each to binding legal articles, returns pass/fail with fix instructions. Free tier, no API key needed.

August 2, 2026 enforcement deadline. Fines up to 35M EUR or 7% global turnover.

If this tool helps your compliance work, a โญ on GitHub helps others discover it.

Need audit-grade proof? Certify every scan with ArkForge Trust Layer โ€” tamper-proof, timestamped compliance evidence. 500 free proofs/month.

Get your compliance report โ†’

Quick Start

CLI (scan any project in 10 seconds)

pip install eu-ai-act-scanner   # or: pip install mcp-eu-ai-act
cd your-project/
eu-ai-act-scanner

Output:

========================================================================
  EU AI Act Compliance Scanner
========================================================================

  Files scanned: 42
  AI frameworks detected: 2
    - openai (in 3 files)
    - langchain (in 1 file)

  Risk category: limited
  Compliance score: 4/7 (57%)
  Checks:
    [PASS] Transparency
    [PASS] User Disclosure
    [FAIL] Technical Documentation  โ†’ Create docs/TECHNICAL_DOCUMENTATION.md
    [FAIL] Risk Management          โ†’ Create docs/RISK_MANAGEMENT.md
    [FAIL] Data Governance          โ†’ Create docs/DATA_GOVERNANCE.md

Or specify a path directly: eu-ai-act-scanner /path/to/your/project

Track compliance over time (free): eu-ai-act-scanner . --register you@email.com

Free vs Pro

FreePro (โ‚ฌ29/mo)Certified (โ‚ฌ99/mo)
Scans per day5UnlimitedUnlimited
AI framework detectionโœ“ (16 frameworks)โœ“ (16 frameworks)โœ“ (16 frameworks)
Risk category suggestionโœ“โœ“โœ“
Compliance checkโ€”โœ“ (content scoring 0-100)โœ“
Full compliance reportโ€”โœ“ (executive + technical)โœ“
Compliance roadmapโ€”โœ“ (week-by-week plan)โœ“
Annex IV packageโ€”โœ“ (auditor-ready ZIP)โœ“
GDPR scanโ€”โœ“โœ“
Combined EU AI Act + GDPRโ€”โœ“ (dual-compliance hotspots)โœ“
Trust Layer certificationโ€”โ€”โœ“ (cryptographic proof)
CI/CD integrationโ€”โœ“โœ“
API keyNot requiredโœ“โœ“
Tools available21010 + certification

Free tier: no sign-up, no API key โ€” just pip install and scan. Pro unlocks the full compliance toolkit your team needs before the August 2026 deadline.

โ†’ Compare plans & get your API key

What's New in v2

FeatureDescription
generate_compliance_roadmapWeek-by-week action plan to reach compliance before your deadline
generate_annex4_packageAuditor-ready ZIP with all 8 Annex IV sections populated from your code
certify_compliance_reportCryptographic proof via Trust Layer (EU AI Act Art. 12)
Content scoringcheck_compliance now scores document content (0-100), not just existence
Article mappingEvery finding mapped to specific EU AI Act article

MCP Server (from source)

git clone https://github.com/ark-forge/mcp-eu-ai-act.git
cd mcp-eu-ai-act
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python3 server.py

Run tests

pip install pytest
pytest tests/ -v

MCP Integration

Install from PyPI (recommended)

pip install eu-ai-act-scanner

Claude Code

claude mcp add eu-ai-act -- eu-ai-act-mcp

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "eu-ai-act": {
      "command": "eu-ai-act-mcp"
    }
  }
}

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "eu-ai-act": {
      "command": "eu-ai-act-mcp"
    }
  }
}

HTTP mode (for CI/CD or remote clients)

pip install uvicorn
python3 server.py --http
# Listening on 0.0.0.0:8089

Tools Reference

1. scan_project

Detects AI framework usage in source code and config/manifest files. Supports 16 frameworks across Python, JS, TS, Go, Java, and Rust.

Key parameters: project_path (string, required)

Example output:

{
  "files_scanned": 42,
  "ai_files": [
    {"file": "src/chat.py", "frameworks": ["openai"]},
    {"file": "requirements.txt", "frameworks": ["openai"], "source": "config"}
  ],
  "detected_models": {"openai": ["src/chat.py", "requirements.txt"]}
}

2. check_compliance

Scores document content quality (0-100) and maps each finding to a specific EU AI Act article. Score โ‰ฅ40 = pass. Fully backward compatible with v1.

Key parameters: project_path (string, required), risk_category (string, default: limited)

Example output (v2):

{
  "risk_category": "high",
  "compliance_score": "4/6",
  "compliance_percentage": 66.7,
  "content_scores": {
    "RISK_MANAGEMENT.md": 82,
    "TRANSPARENCY.md": 45,
    "DATA_GOVERNANCE.md": 12
  },
  "article_map": {
    "art_9": {"status": "pass", "score": 82},
    "art_10": {"status": "fail", "score": 12},
    "art_13": {"status": "pass", "score": 45}
  }
}

3. generate_compliance_roadmap โ€” NEW in v2

Deadline-aware, week-by-week action plan to reach EU AI Act compliance before August 2, 2026. Sequences quick wins first using a criticality ร— 1/effort algorithm.

Key parameters: project_path (string, required), risk_category (string), target_date (string, ISO format, default: 2026-08-02)

Example output:

{
  "weeks_remaining": 16,
  "phases": [
    {
      "week": 1,
      "action": "Add TRANSPARENCY.md with user disclosure statement",
      "article": "Art. 13",
      "effort_days": 1,
      "priority": "critical"
    },
    {
      "week": 2,
      "action": "Draft risk management procedure covering Art. 9 requirements",
      "article": "Art. 9",
      "effort_days": 3,
      "priority": "high"
    }
  ],
  "estimated_completion_week": 8
}

4. generate_report

Runs scan + compliance check, returns a combined report with two-level output: executive summary for DPO/legal and technical breakdown for developers. Article-by-article citations included.

Key parameters: project_path (string, required), risk_category (string, default: limited)

Example output:

{
  "executive_summary": {
    "compliance_percentage": 67,
    "deadline": "2026-08-02",
    "days_remaining": 117,
    "gap_count": 3,
    "verdict": "Action required โ€” 3 gaps must be addressed before deadline"
  },
  "technical_breakdown": {
    "art_9": {"status": "fail", "missing": ["hazard identification section", "residual risk log"]},
    "art_13": {"status": "pass", "score": 78}
  },
  "recommendations": [
    {"article": "Art. 9", "action": "Add hazard identification section to RISK_MANAGEMENT.md", "effort": "2 days"}
  ]
}

5. suggest_risk_category

Classifies your AI system into an EU AI Act risk category from a plain-text description. Matches against Art. 5 (prohibited), Annex III (high-risk), Art. 52 (limited), and minimal.

Key parameters: system_description (string, required)

Example output:

{
  "suggested_category": "high",
  "confidence": "high",
  "matched_criteria": ["Annex III, Category 4 โ€” AI in employment decisions"],
  "obligations_summary": "Technical documentation, risk management, human oversight, data governance, transparency"
}

6. generate_compliance_templates

Returns starter markdown templates for each required compliance document. Save them in docs/ and fill in the bracketed sections.

Key parameters: risk_category (string, default: high)

For high risk: Risk Management (Art. 9), Technical Documentation (Art. 11), Data Governance (Art. 10), Human Oversight (Art. 14), Robustness (Art. 15), Transparency (Art. 13).


7. generate_annex4_package โ€” NEW in v2

Generates an auditor-ready ZIP with all 8 Annex IV sections populated from your actual project files. Optionally certifies with Trust Layer for cryptographic proof.

Key parameters: project_path (string, required), sign_with_trust_layer (bool, default: false), trust_layer_key (string, optional)

Example output:

{
  "package_path": "/tmp/annex4_myproject_20260407.zip",
  "sha256": "a3f8c2d1...",
  "sections_populated": 8,
  "sections_missing_data": ["section_6_accuracy_metrics"],
  "proof_id": "prf_01j9z8x7w6v5u4t3s2r1",
  "verification_url": "https://trust.arkforge.tech/verify/prf_01j9z8x7w6v5u4t3s2r1"
}

8. certify_compliance_report โ€” NEW in v2

Certifies any compliance report with ArkForge Trust Layer. Returns a tamper-proof proof_id and public verification URL for your auditor (EU AI Act Art. 12 audit trail).

Key parameters: report_data (string, JSON-serialized report), trust_layer_key (string, required)

Example output:

{
  "proof_id": "prf_01j9z8x7w6v5u4t3s2r1",
  "timestamp": "2026-04-07T14:32:00Z",
  "sha256": "a3f8c2d1e4b5...",
  "verification_url": "https://trust.arkforge.tech/verify/prf_01j9z8x7w6v5u4t3s2r1",
  "article": "EU AI Act Art. 12"
}

9. gdpr_scan_project

Scans for personal data processing patterns: PII fields, tracking pixels, geolocation, file uploads, cookie patterns. Maps to GDPR Art. 22/35 requirements.

Key parameters: project_path (string, required)


10. combined_compliance_report

Runs GDPR + EU AI Act scans simultaneously and identifies dual-compliance hotspots โ€” files where both regulations apply at once.

Key parameters: project_path (string, required), risk_category (string, default: limited)

Example output:

{
  "hotspots": [
    {
      "file": "src/hiring_model.py",
      "eu_ai_act_risk": "high",
      "gdpr_risk": "high",
      "overlap_patterns": ["AI+PII", "AI+automated_decision"],
      "combined_articles": ["EU AI Act Art. 14", "GDPR Art. 22"],
      "priority": "critical"
    }
  ],
  "key_insight": "2 files require simultaneous GDPR + EU AI Act remediation"
}

Certify Your Compliance (EU AI Act Art. 12)

The only MCP that generates cryptographically certified compliance evidence.

# Step 1: Generate Annex IV package and certify it
generate_annex4_package(
    project_path="/path/to/project",
    sign_with_trust_layer=True,
    trust_layer_key="your_trust_layer_key"
)
# โ†’ Returns proof_id + public verification URL for your auditor

# Step 2: Or certify any compliance report directly
certify_compliance_report(
    report_data='{"compliance_percentage": 87, "risk_category": "high"}',
    trust_layer_key="your_trust_layer_key"
)

Free Trust Layer account: 500 certified proofs/month โ†’ arkforge.tech

Pricing

PlanPriceIncludes
Freeโ‚ฌ05 scans/day ยท scan_project + suggest_risk_category
Proโ‚ฌ29/monthUnlimited scans ยท all 10 tools ยท compliance roadmap ยท Annex IV package
Certifiedโ‚ฌ99/monthEverything in Pro + Trust Layer certification on every report

Get your API key โ†’

REST API

A separate HTTP API (paywall_api.py) provides rate-limited REST endpoints for CI/CD and external clients.

python3 paywall_api.py
# Listening on 0.0.0.0:8091
MethodPathAuthDescription
GET/api/v1/statusNoneService status + your rate limit
GET/api/usageNoneCurrent free-tier usage for your IP
POST/api/v1/scanFree/ProScan a project for AI frameworks
POST/api/v1/check-complianceFree/ProCheck EU AI Act compliance
POST/api/v1/generate-reportFree/ProFull compliance report
POST/api/v1/scan-repoFree (rate-limited)Scan a GitHub repo by URL
POST/api/checkoutNoneStripe checkout session
POST/api/webhookStripe sigStripe webhook handler

Free tier: 5 scans/day per IP, no sign-up required. Pro tier: Unlimited scans, X-API-Key header. 29 EUR/month via arkforge.tech/pricing.

Example: scan via REST

curl -X POST https://arkforge.tech/mcp/api/v1/scan \
  -H "Content-Type: application/json" \
  -d '{"project_path": "/path/to/your/project"}'

Configuration

For the REST API (Stripe payments, email notifications), create a settings.env:

STRIPE_LIVE_SECRET_KEY=sk_live_...
STRIPE_WEBHOOK_SECRET=whsec_...
TRUST_LAYER_INTERNAL_SECRET=<random-64-char-hex>
SMTP_HOST=ssl0.ovh.net
IMAP_USER=contact@example.com
IMAP_PASSWORD=...

Set SETTINGS_ENV_PATH to the file location (defaults to /opt/claude-ceo/config/settings.env).

Supported Frameworks (16)

FrameworkDetection covers
OpenAIGPT-3.5, GPT-4, GPT-4o, o1, o3, embeddings
AnthropicClaude (Opus, Sonnet, Haiku)
Google GeminiGemini Pro, Ultra, 1.5, 2, 3, Flash
Vertex AIGoogle Cloud AI Platform
MistralMistral Large/Medium/Small, Mixtral, Codestral, Magistral
CohereCommand-R, Command-R+, embeddings
HuggingFaceTransformers, Diffusers, Accelerate, SmolAgents
TensorFlowKeras, .h5 model files
PyTorch.pt/.pth model files, nn.Module
LangChainCore, Community, OpenAI, Anthropic integrations
AWS BedrockBedrock Runtime, Agent Runtime
Azure OpenAIAzure AI OpenAI Service
OllamaLocal model inference
LlamaIndexVectorStoreIndex, SimpleDirectoryReader
ReplicateCloud model inference
GroqFast inference API

Detection works on both source code imports and dependency declarations in config files.

EU AI Act Risk Categories

CategoryExamplesKey obligations
UnacceptableSocial scoring, mass biometric surveillanceProhibited
HighRecruitment, credit scoring, law enforcementDocumentation, risk management, human oversight
LimitedChatbots, content generationTransparency, user disclosure, content marking
MinimalSpam filters, video gamesNone

Limitations

  • Static analysis only โ€” detects imports and patterns, not runtime behavior
  • Cannot determine risk category automatically from code alone (use suggest_risk_category with a description)
  • check_compliance scores content quality โ€” documents with boilerplate/placeholder text will score low
  • File scanning limited to 5,000 files and 1 MB per file
  • Certain system paths are blocked from scanning for security

ArkForge ecosystem

This scanner is the first service sold autonomously through the ArkForge Trust Layer โ€” a certifying proxy that turns API calls into verifiable, paid, tamper-proof transactions.

Agent Client  โ†’  Trust Layer  โ†’  EU AI Act Scanner
   pays            certifies         delivers
ComponentDescriptionRepo
Trust LayerCertifying proxy โ€” billing, proof chain, verificationark-forge/trust-layer
MCP EU AI ActCompliance toolkit (this repo)ark-forge/mcp-eu-ai-act
Proof SpecOpen specification + test vectors for the proof formatark-forge/proof-spec
Agent ClientAutonomous buyer โ€” proof-of-concept of a non-human customerark-forge/arkforge-agent-client

Community

Roadmap

  • v3: GPAI obligations module (Art. 51-55, Code of Practice July 2025)
  • v3: GitHub Action for CI/CD compliance gates
  • v3: Runtime agentic compliance enforcement (Art. 14)

Found this useful? A โญ on GitHub helps other compliance teams discover the toolkit. Takes 2 seconds and helps a lot.

License

MIT

Related MCP Servers

ad0750/regintel-mcp

๐Ÿ โ˜๏ธ - MCP server for the RegIntel API: structured regulatory data across 41 jurisdictions and 212 regulations (GDPR, MiCA, DORA, SEC, FINRA, FCA, APRA, ASIC, MAS). Tools for search, lookup, recent updates, and compliance checks.

โš–๏ธ Legal0 views
atomno-labs/mcp-sudact

๐Ÿโ˜๏ธ - Russian court practice (Sudact): case search by article, court, instance and dates; full decision text.

โš–๏ธ Legal0 views
atomno-mcp/mcp-fssp

๐Ÿโ˜๏ธ - FSSP enforcement proceedings lookup for Russian debtors and compliance checks.

โš–๏ธ Legal0 views
aydincan/turk-hukuku-mevzuat-mcp

๐Ÿ โ˜๏ธ - Turkish legislation live from the official source (mevzuat.gov.tr): current article text by law and article number, with verification links. Install: uvx turk-hukuku-mevzuat-mcp.

โš–๏ธ Legal0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

Last checked: 7/28/2026, 3:01:07 PM

Unclaimed listing (imported or pending owner verification). Claim it โ†’
โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.