Mcp Eu Ai Act

io.github.ark-forge由 GitHub 帳號 ark-forge 發布v2.0.31更新於 Oct 24, 2026

EU AI Act + GDPR compliance scanner. One call, no arguments, 10 seconds. 22 AI frameworks detected.

已驗證Streamable HTTP可網頁執行開發者工具安全與監控

概覽

AI 產生的概覽

遠端 MCP 伺服器,掃描專案中的 AI 框架與個人資料,並列出 EU AI Act 與 GDPR 合規缺口與修正步驟。

可以做什麼
  • 掃描專案中的 AI/ML 框架與個人資料處理模式,回傳風險類別與被標記的檔案
  • 依條文檢查 EU AI Act 與 GDPR 要求,逐條給出通過/未通過結果與修正說明
  • 產生合規報告、預填文件範本、逐週改善路線圖以及 Annex IV 證據包
  • 依自然語言描述判斷 AI 系統所屬風險等級
  • 為報告產生證明編號與驗證連結,並管理免費 API 金鑰或查詢方案狀態
  • 查看各方案價格與功能
適用情境
適合在歐盟境內或面向歐盟推出 AI 功能、想快速自動初查 EU AI Act 與 GDPR 義務,或需要結構化報告與文件範本交給法務、資料保護長或稽核單位的情況。它只是靜態分析輔助工具,不構成法律意見。
執行需求
遠端 streamable HTTP 端點;MCP 連線未宣告需要驗證。多數工具需要專案路徑或描述。路線圖、Annex IV 證據包與認證等工具需要付費的 Pro 或 Certified 方案及 API 金鑰,認證另需 Trust Layer 金鑰。可用電子郵件註冊免費金鑰。
安裝前請注意
多項工具需付費方案(Pro 每月 29 歐元,Certified 每月 99 歐元),認證另需 Trust Layer 金鑰。註冊免費金鑰會上傳使用者電子郵件。掃描會讀取專案檔案並把結果傳送給第三方服務。結果僅為靜態分析,不應視為法律意見或合規保證。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Eu Ai Act,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.ark-forge%2Fmcp-eu-ai-act/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "eu-ai-act": {
      "type": "http",
      "url": "https://mcp.arkforge.tech/mcp"
    }
  }
}

README

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.

bash
pip install eu-ai-act-scannereu-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)

bash
pip install eu-ai-act-scanner   # or: pip install mcp-eu-ai-actcd 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 [email protected]

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 2027 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)

bash
git clone https://github.com/ark-forge/mcp-eu-ai-act.gitcd mcp-eu-ai-actpython3 -m venv .venv && source .venv/bin/activatepip install -r requirements.txtpython3 server.py

Run tests

bash
pip install pytestpytest tests/ -v

MCP Integration

Install from PyPI (recommended)

bash
pip install eu-ai-act-scanner

Claude Code

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

Claude Desktop

Add to claude_desktop_config.json:

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

Cursor

Add to .cursor/mcp.json:

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

HTTP mode (for CI/CD or remote clients)

bash
pip install uvicornpython3 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:

json
{  "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):

json
{  "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: 2027-08-02)

Example output:

json
{  "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:

json
{  "executive_summary": {    "compliance_percentage": 67,    "deadline": "2027-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:

json
{  "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:

json
{  "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:

json
{  "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:

json
{  "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.

python
# Step 1: Generate Annex IV package and certify itgenerate_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 directlycertify_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.

bash
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 public HTTPS Git repo by URL (port 443, public hosts only)
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

bash
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:

env
STRIPE_LIVE_SECRET_KEY=sk_live_...STRIPE_WEBHOOK_SECRET=whsec_...TRUST_LAYER_INTERNAL_SECRET=<random-64-char-hex>SMTP_HOST=ssl0.ovh.net[email protected]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

來源:README.md,提交 933e56d

工具

16

scan_project

Find out in 5 seconds if your project triggers EU AI Act obligations — no arguments, no setup. Scans for 22 AI/ML frameworks (OpenAI, Anthropic, LangChain, HuggingFace, PyTorch, TensorFlow, scikit-learn…), returns your risk category and the legal actions required before you ship. Enforcement live since Feb 2025 — fines up to 35M EUR. For EU AI Act + GDPR together, call combined_compliance_report() instead.

輸入參數project_pathfollow_imports

check_compliance

Check whether your project passes or fails each EU AI Act requirement — no arguments, 5 seconds. See exactly which articles you violate (Art. 52 transparency, Art. 11 documentation, Art. 14 human oversight, Art. 15 robustness) and get step-by-step fix instructions for every gap. Call combined_compliance_report() for EU AI Act + GDPR together.

輸入參數project_pathrisk_category

generate_report

Generate the compliance report your legal team is asking for — no arguments. One call auto-detects AI frameworks, runs gap analysis, and produces a structured remediation plan ready for legal review or DPIA attachment. No API key needed.

輸入參數project_pathrisk_category

suggest_risk_category

Describe what your AI system does in plain language — get back your EU AI Act risk tier, the articles that apply, and your first compliance step. Returns matched category (minimal/limited/high/unacceptable) with confidence level and triggering risk indicators. No project scan needed, no API key.

輸入參數system_description必填

generate_compliance_templates

Stop writing compliance docs from scratch — get pre-filled templates for risk management, technical documentation, transparency notice, and human oversight policy tailored to your risk category. High-risk systems get all 6 mandatory documents. Save to docs/, fill in [bracketed] sections. Run check_compliance() first to see which documents you're missing.

輸入參數risk_category

generate_compliance_roadmap

Get a prioritized, week-by-week plan to close every compliance gap before Aug 2027 — no arguments. Auto-scans your project, ranks fixes by impact, sequences quick wins first, tells you whether your deadline is achievable. Pro plan required — run check_compliance() for a free gap summary.

輸入參數deadlineproject_pathrisk_category

generate_annex4_package

Build the Annex IV evidence package your auditor needs for high-risk AI — no arguments. All 8 mandatory sections auto-populated from your project scan, SHA-256 integrity hash included. High-risk rules apply Aug 2026. Pro plan required.

輸入參數project_pathtrust_layer_keysign_with_trust_layer

certify_compliance_report

Make your compliance report tamper-proof for Art. 12 audit trail — pass the report JSON, get back a proof_id and a public verification URL you can hand to auditors. Certified plan required. Run generate_report() first to produce the report.

輸入參數report_data必填trust_layer_key必填

validate_api_key

Check your API key status — returns plan tier (free/pro/certified), email, and usage stats (total scans, last scan date).

輸入參數api_key必填

register_free_key

Activate a free API key — unlocks scan history and CI/CD integration. Pass the user's email, no password or credit card. IMPORTANT: ask the user to type their email first, wait for their reply, then call this with the exact email they typed. Do NOT pass a placeholder or fabricated email.

輸入參數email必填

gdpr_scan_project

Find every file in your project that touches personal data — no arguments, 5 seconds, free. Detects PII fields, cookies, tracking pixels, analytics SDKs, and consent flows. Returns flagged files with data categories and applicable GDPR articles. GDPR fines reach 20M EUR or 4% turnover. For EU AI Act + GDPR together, call combined_compliance_report().

輸入參數project_path

gdpr_check_compliance

Check whether your project passes or fails each GDPR requirement — no arguments. See pass/fail for lawful basis (Art. 6), consent (Art. 7), data subject rights (Art. 15–22), security (Art. 32), and breach notification (Art. 33–34) with fix instructions for every gap. GDPR fines reach 20M EUR or 4% turnover. For EU AI Act + GDPR together, call combined_compliance_report().

輸入參數project_pathprocessing_role

gdpr_generate_report

Generate the GDPR report your DPO needs — no arguments. Combines personal data inventory, gap analysis, and remediation steps in one structured document for DPO review, audit prep, or regulatory response. For EU AI Act + GDPR together, call combined_compliance_report().

輸入參數project_pathprocessing_role

gdpr_generate_templates

Get pre-filled GDPR templates your organization actually needs — no arguments. Privacy Policy, DPIA, Records of Processing Activities (ROPA), and Data Breach Procedure tailored to your processing role. Fill in [bracketed] sections. Run gdpr_check_compliance() first to see which documents you're missing.

輸入參數processing_role

combined_compliance_report

Run this before your next deploy. One call reveals every EU AI Act + GDPR gap in your codebase — no arguments, no setup, under 10 seconds, free. Detects AI frameworks and personal data flows, flags where both laws overlap, returns pass/fail per article with a prioritized fix list. EU AI Act fines up to 35M EUR, GDPR up to 20M EUR. Replaces separate scan_project() and gdpr_scan_project() calls.

輸入參數project_pathrisk_categoryprocessing_role

get_pricing

See pricing and features for every plan — Free (10 scans/day, full reports), Pro (29 EUR/mo, unlimited + CI/CD), Certified (cryptographic audit trail). No arguments. Call register_free_key() to activate your free API key.

無需輸入參數。

版本歷史

1
  1. v2.0.31最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分