PluginWorld
Ai

ailegal-mcp

MCP

Submits a described legal situation to a verified public API and returns the provisions that apply, each linked to its official source text, covering Russia, India, the US, the UK, Canada and Hong Kong. When no verified provision matches the question, it returns an honest refusal instead of inventing a citation.

@mrpkk · MIT License · updated today

SECURITY

B

SCORE

58

STARS

▲ 0

PLUG IN

git clone https://github.com/mrpkk/ailegal-mcp.git

See the README to configure this MCP server

README

AILegal MCP server

MCP tool for agents that need an answer grounded in law, not in a model's memory.

legal_breakdown sends a situation to the public AILegal API and returns the provisions that apply, each with a link to the official text. When the verified corpus has no provision for the question, the tool returns an honest refusal (no_norms) instead of inventing an article number.

Jurisdictions: Russia (ru), India (in), the US (us), the UK (uk), Canada (ca), Hong Kong (hk). 20 India situation pages are available in Hindi in the web product.

Install

pip install "mcp>=2"

Claude Desktop / Cursor / Continue

{
  "mcpServers": {
    "ailegal": {
      "command": "python",
      "args": ["/absolute/path/ailegal_server.py"]
    }
  }
}

Tool

{"text": "My employer has not paid my salary in India", "jurisdiction": "in", "locale": "en"}

Response: {answer, norms: [{code, article, title, source_url, verified}], jurisdiction, refused, coverage}.

Why it refuses

A citation that does not exist is worse than no answer: the reader stops looking for the right provision. The server is deliberately limited to the verified corpus.

Links

SIMILAR PLUGINS