🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

legalithm-mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

legalithm-mcp-server

EU AI Act compliance MCP server for Claude Code / Cursor — classify, explain obligations, generate Article 50 disclosures. Offline by default.

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

legalithm-mcp-server

Add to Cursor npm

EU AI Act compliance tools for Claude Code and Cursor, over MCP (stdio). classify, explain_obligation, and generate_disclosure run fully offline (the rule engine is bundled — no network, no API key); check_record reads the public Trust Center.

Install

One-liner (wires both editors + the CLI): npx legalithm setup

Cursor — click the Add to Cursor badge above, or add to .cursor/mcp.json.

Claude Code (.mcp.json in your repo, or claude_desktop_config.json):

{
  "mcpServers": {
    "legalithm": { "command": "npx", "args": ["-y", "legalithm-mcp-server"] }
  }
}

Cursor (.cursor/mcp.json): same block as above.

Then drop the editor rules into your repo so the agent knows to use the tools:

  • Cursor: copy templates/legalithm-eu-ai-act.mdc.cursor/rules/
  • Claude Code: append templates/CLAUDE.md to your CLAUDE.md

Tools

ToolModePurpose
classifyofflineRisk tier (unacceptable/high/limited/minimal) + cited rationale for an AI use case
explain_obligationofflineThe obligations for a role + risk tier, each with its Article citation
generate_disclosureofflineArticle 50 transparency snippet (chatbot / genai-content / deepfake / emotion), EN or DE
check_recordonlineFetch a published Trust Center compliance record by org slug

Set LEGALITHM_API_URL to point check_record at a non-default host.

Output is checked against Regulation (EU) 2024/1689 — not legal advice.

Keywords

eu-ai-act

FAQs

Package last updated on 03 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts