ailegal

Verified legal provisions with official citations for RU, IN, US, UK, CA, HK.

Should I use this

Quality & Safety

B
Description quality
83%
Schema completeness
80%
Naming quality
87%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (1)

  • LOWTool 'verify_citation' description lacks action verbin verify_citation

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~409Tokens (tool definitions)
~1.1 KBTypical response size
Minimal attention impact (0.32% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "ailegal": {
      "url": "https://ailegal.legal/api/mcp/"
    }
  }
}

Remote endpoints

https://ailegal.legal/api/mcp/streamable-http

What it can do

Tool inventory

Tools (3)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢legal_breakdown(text, jurisdiction, locale)

Describe a legal situation; get the verified provisions that apply with official-source links. jurisdiction: ru|in|us|uk|ca|hk. Returns a refusal when the corpus has no norm.

Input Schema

{
  "type": "object",
  "properties": {
    "text": {
      "title": "Text",
      "type": "string"
    },
    "jurisdiction": {
      "default": "ru",
      "title": "Jurisdiction",
      "type": "string"
    },
    "locale": {
      "default": "en",
      "title": "Locale",
      "type": "string"
    }
  },
  "required": [
    "text"
  ],
  "title": "legal_breakdownArguments"
}

Output Schema

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "legal_breakdownOutput"
}
🟢oracle_lookup(q, jurisdiction, limit)

Legal Oracle: which verified provisions relate to a query. Optional jurisdiction filter. An empty list means the corpus has no norm for this query.

Input Schema

{
  "type": "object",
  "properties": {
    "q": {
      "title": "Q",
      "type": "string"
    },
    "jurisdiction": {
      "default": "",
      "title": "Jurisdiction",
      "type": "string"
    },
    "limit": {
      "default": 5,
      "title": "Limit",
      "type": "integer"
    }
  },
  "required": [
    "q"
  ],
  "title": "oracle_lookupArguments"
}

Output Schema

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "oracle_lookupOutput"
}
⚪verify_citation(code, article, jurisdiction)

Legal Oracle: does this citation exist in the verified corpus? Use before relying on any code/article pair. found=false means do not rely on it.

Input Schema

{
  "type": "object",
  "properties": {
    "code": {
      "title": "Code",
      "type": "string"
    },
    "article": {
      "default": "",
      "title": "Article",
      "type": "string"
    },
    "jurisdiction": {
      "default": "",
      "title": "Jurisdiction",
      "type": "string"
    }
  },
  "required": [
    "code"
  ],
  "title": "verify_citationArguments"
}

Output Schema

{
  "type": "object",
  "properties": {
    "result": {
      "title": "Result",
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "title": "verify_citationOutput"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded3 tools