AILegal — verified legal provisions for agents

io.github.mrpkk由 GitHub 账号 mrpkk 发布v0.1.0更新于 Nov 5, 2026

来自官方来源的法律解答;在未核实规范时拒绝作答。

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

Legal answers from official sources; refuses when no norm is verified.

发布方自己的服务:verified.fyi

已验证Streamable HTTP可网页运行

概览

AILegal — verified legal provisions for agents 的托管 MCP 服务(ailegal.legal);无需登录;Streamable HTTP;3 个工具。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

端点
ailegal.legal
最近检查

安装

在 SourceWeft 中

  1. 打开 控制台中的 AILegal — verified legal provisions for agents,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.mrpkk%2Failegal-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "ailegal-verified-legal-provisions-for-ag": {
      "type": "http",
      "url": "https://ailegal.legal/api/mcp/"
    }
  }
}

README

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

bash
pip install "mcp>=2"

Claude Desktop / Cursor / Continue

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

Tool

json
{"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

Related evidence products (same team)

来源:README.md,提交 41bd4eb

工具

3

oracle_lookup

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

输入参数q必填limitjurisdiction

verify_citation

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.

输入参数code必填articlejurisdiction

版本历史

1
  1. v0.1.0最新Nov 5, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Verified 集成