ai-act-mcp

ai-act-mcp

Enables EU AI Act compliance assessment by classifying AI systems, listing obligations, computing deadlines, and scanning repos for required documentation, all running locally.

Category
Visit Server

README

<div align="center">

ai-act-mcp

Lint your AI system for EU AI Act compliance — before the regulators do.

CI npm License: MIT Node ≥18 Ruleset

A local Model Context Protocol server that classifies any AI system under the EU AI Act, lists the obligations that apply to you with article citations, tells you your actual deadline, and scans your repo for missing compliance artifacts.

Runs entirely on your machine. Supports fully offline classification via a local small model — your system description never leaves your laptop.

Quick start · Offline with Ollama · All four tools · Contributing

</div>


ai-act-mcp demo


Why this exists

The EU AI Act is live and has teeth:

  • Feb 2025 — prohibited practices enforceable. €35M or 7% of global turnover.
  • Aug 2025 — GPAI model obligations active.
  • Aug 2026 — transparency requirements apply.
  • Dec 2027 — high-risk (Annex III) obligations due.

Most teams have no idea which tier they're in. This gives you a grounded first pass in seconds, inside the agent you already use — with a citation for every claim so you can verify it.

⚠️ Informational triage, not legal advice. Confirm classifications with qualified counsel.


Tools

Four tools exposed to any MCP-compatible agent (Claude Code, Cursor, Claude Desktop, Windsurf, Cline, …):

Tool What it answers
classify_risk "Is my system prohibited / high-risk / limited / minimal?" — with Annex III category + article citations
check_obligations "Given my tier and role (provider or deployer), what must I do?" — obligation by obligation, with the specific deadline
next_deadlines "When does this apply to me?" — the staggered 2025–2028 enforcement timeline
scan_repo "Which compliance artifacts am I missing?" — pass / warn / fail checklist against your actual repo

The rules live in a single versioned, citation-backed file: rules/ruleset.json. It reflects Regulation (EU) 2024/1689 as amended by the May 2026 Digital Omnibus agreement, and is date-stamped so you always know how current it is.


Install

Option A — npx (zero install, once published to npm)

{
  "mcpServers": {
    "ai-act": {
      "command": "npx",
      "args": ["-y", "ai-act-mcp"]
    }
  }
}

Option B — clone and build

git clone https://github.com/a2welt/ai-act-mcp
cd ai-act-mcp
npm install && npm run build
{
  "mcpServers": {
    "ai-act": {
      "command": "node",
      "args": ["/absolute/path/to/ai-act-mcp/dist/index.js"]
    }
  }
}

Client config locations:

Client File
Claude Desktop ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) · %APPDATA%\Claude\claude_desktop_config.json (Windows)
Claude Code .mcp.json in project root, or claude mcp add ai-act node /path/to/dist/index.js
Cursor .cursor/mcp.json
Windsurf ~/.codeium/windsurf/mcp_config.json

Restart your agent and ask: "Classify my hiring tool under the EU AI Act."


Fully offline — Ollama

Your AI-system description is exactly the kind of proprietary text you should not send to a cloud service. Run classification on a small local model instead — nothing leaves your machine:

# 1. Pull a model (any small instruct model works)
ollama pull llama3.2

# 2. Test it from your terminal (builds a vivid picture of what the tool does)
node demo/test-local.mjs

# 3. Register with your agent using the local backend
{
  "mcpServers": {
    "ai-act": {
      "command": "node",
      "args": ["/absolute/path/to/ai-act-mcp/dist/index.js"],
      "env": {
        "AI_ACT_CLASSIFIER": "local",
        "AI_ACT_SLM_MODEL": "llama3.2"
      }
    }
  }
}

The model only ever picks among the ruleset's enumerated, cited categories — it never invents law. This is what makes a small model reliable: you've constrained its job to classification-against-known-rules, not open-ended legal reasoning. If the model is unreachable for any reason, the server falls back to the deterministic keyword screen automatically.

Backend options

AI_ACT_CLASSIFIER Where the description goes Quality Notes
keyword (default) Nowhere — pure local logic Good Instant, zero dependencies, deterministic
local Stays on your machine (Ollama) Better Privacy-first; requires Ollama running
host Your agent's model via MCP sampling Best Requires client sampling support

Extra env vars for local mode:

Variable Default Description
AI_ACT_SLM_MODEL llama3.2 Any model name Ollama has pulled
AI_ACT_OLLAMA_URL http://localhost:11434 Ollama server URL
AI_ACT_SLM_TIMEOUT_MS 30000 Timeout before falling back to keyword

Example

Prompt: I'm building a tool that screens job applicants' CVs and ranks them. Classify it under the EU AI Act.

# AI Act risk classification

**Likely tier: High-risk** (Art. 6 + Annex I / Annex III)

Permitted but subject to the heaviest obligations (risk management, data
governance, logging, human oversight, conformity assessment, registration).

## ⚠️ Possible high-risk categories (Annex III)
- **Employment**: recruitment, screening, filtering applications, evaluating
  candidates, or decisions on promotion/termination/task allocation — Annex III(4)

> Check the Art. 6(3) exemption: system does NOT pose a significant risk of harm
  to health, safety or fundamental rights…

## What to do next
Run `check_obligations` with tier "high" and your role (provider or deployer)
for the full obligation list, and `next_deadlines` for your timeline.

---
Ruleset 2026.06 (current as of 2026-06-09). Informational triage only.
Not legal advice. Verify against the official text and consult qualified counsel.

Run the tests

npm test

15 tests covering classification, obligations, deadlines, repo scanning, all three classifier backends, and the offline fallback path.


Roadmap

  • [x] Four core tools — classify, obligations, deadlines, repo scan
  • [x] Versioned, citation-backed ruleset (rules/ruleset.json)
  • [x] Pass / warn / fail repo artifact checklist
  • [x] Per-tier deadlines in obligation output
  • [x] Pluggable classifier backends — keyword (default), local SLM (fully offline via Ollama), host-model sampling
  • [ ] npm publish — zero-install npx setup
  • [ ] FRIA (fundamental rights impact assessment) scaffold generator
  • [ ] GPAI Code of Practice checklist
  • [ ] Ruleset auto-update workflow as Omnibus amendments are adopted

Contributing

Corrections to the ruleset — with article citations — are the most valuable contributions. See CONTRIBUTING.md for the full guide.

Quick ways to help:


License

MIT — see LICENSE

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured