Skip to main content
Glama
AILegal MCP server

AILegal MCP server

AILegal MCP server

AILegal MCP server

Web product: https://ailegal.legal — same corpus, same refusal when no provision is verified.

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"

Related MCP server: LexAPI MCP

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.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables AI assistants to search and analyze legal documents from multiple jurisdictions including US federal and state law, case law, EU regulations, UK legislation, Canadian law, Congress bills, SEC filings, and FDA data through free government APIs.
      6
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables querying EU legal documents, case law, and citation graphs through natural language using the LexAPI.
      10
      556 npm
      3
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to search and read consolidated legislation from multiple countries, retrieve exact law texts as of any historical date with citations and git commit SHAs, and create webhook or email subscriptions to track legal changes.
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables physicians to generate source-based legal information packages by matching questions to official legislation and reasoned high court decisions, with citation-verified and conditional assessments rather than categorical legal opinions.
      8
      51 npm
      AGPL 3.0