Il Eli Mcp

io.github.matematicsolutions由 GitHub 账号 matematicsolutions 发布v0.5.4更新于 Oct 24, 2026

MCP server for Israeli law: Knesset legislation and case law, verifiable citations.

概览

AI 生成的概览

让助手检索以色列议会立法和本地希伯来语判例库,并返回可核验的引证。

可以做什么
通过以色列议会官方 OData API 查询立法登记表(现行或已废止状态、基本法标记)以及已公布的法律版本,包括合并文本。可返回某部法律的官方 PDF 文档链接,并在包含 10,558 份希伯来语法院判决的本地语料库中进行检索,按判决 ID 获取全文。每个响应都带有 lex_uri、source_url 和希伯来语可读引证,另有覆盖范围工具说明包含与不包含的内容。
适用场景
适合助手需要查询以色列成文法、了解某部法律的效力状态或版本,或查找并阅读家庭、地区、治安、劳工、军事和行政法院的希伯来语判决时使用。不适用于最高法院判例,也不适用于非希伯来语的法律研究。
运行要求
作为本地 Python 包运行(pip install il-eli-mcp,或使用 uvx)。需要访问以色列议会 OData 端点的网络连接。可选环境变量用于设置缓存目录、审计目录、基础 URL 以及是否启用判例工具。未声明需要账户或 API 密钥。
安装前请注意
法律文本以 fs.knesset.gov.il 上的 PDF 链接形式返回,需由客户端自行抓取和阅读。判例语料库的上游许可未明确,说明中称仅供分析使用、不得再分发;再分发的构建版本通过 IL_ELI_CASE_LAW=0 将其关闭。在启用 Smart App Control 的 Windows 11 上,未签名的启动程序会被阻止,应通过已签名的 Python 解释器运行该模块。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Il Eli Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

il-eli-mcp

MCP server for Israeli law via the Knesset's official OData API plus a local case-law corpus. Covers the legislation registry (KNS_IsraelLaw: in-force/repealed status, Basic Law flag), published law versions with their official PDF documents (KNS_Law + KNS_DocumentLaw, including consolidated texts), and 10,558 Hebrew court judgments.

What this is not

  • Law texts are PDF links, not inline text - il_get_law_documents returns official fs.knesset.gov.il PDF URLs; fetching and reading the PDF is the client's job.
  • Two disjoint legislation id spaces - israel_law_id (registry) and law_id (published versions). The Knesset exposes no reliable general join between them; search both by name (see DISCOVERY.md).
  • Hebrew only - law names, queries and judgments are in Hebrew.
  • No Supreme Court case law - the local corpus covers Family, District, Magistrate, Labor, Military and Administrative courts only, and its upstream license is undocumented (analysis use, not redistribution).

Tools

ToolPurpose
il_search_lawsFull-text search over law names (registry: status, Basic Law flag)
il_get_lawFull detail for one law by its IsraelLawID
il_search_law_textsSearch published law versions (KNS_Law), incl. consolidated texts
il_get_law_documentsOfficial PDF documents for a published law (fs.knesset.gov.il)
il_search_case_lawKeyword search over the local corpus of 10,558 judgments
il_get_caseOne judgment's full text by judgment_id
il_coverageDeclare what this connector covers, when each family was captured, and - explicitly - what it does NOT cover. Every gap carries a fallback.

Every response carries lex_uri, source_url and human_readable_citation (the Hebrew name) - Israel has no separate public citation identifier scheme for this data, so the URLs are dereferenceable Knesset OData entity URLs, never invented.

Install

bash
pip install il-eli-mcp

Windows 11 with Smart App Control

Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe and the il-eli-mcp.exe launcher that pip writes at install time. The python.exe and py.exe from the python.org installer are signed by the Python Software Foundation, so running the module through the interpreter works:

bash
python -m pip install il-eli-mcppython -m il_eli_mcp

pip.exe is blocked for the same reason, so install with python -m pip, not pip install. If python is not on PATH, use the Windows launcher: py -3 -m il_eli_mcp.

json
{ "mcpServers": { "il-eli-mcp": { "command": "python", "args": ["-m", "il_eli_mcp"] } } }

Do not turn Smart App Control off to work around this - it cannot be re-enabled without reinstalling Windows.

Configuration

Env varDefault
IL_ELI_CACHE_DIR~/.matematic/cache/il-eli
IL_ELI_AUDIT_DIR~/.matematic/audit
IL_ELI_BASE_URLhttps://knesset.gov.il/Odata/ParliamentInfo.svc
IL_ELI_CASE_LAW1; 0 removes il_search_case_law and il_get_case (the case-law corpus has an undocumented license, so redistributed builds such as the Claude plugin turn it off)

License

Apache-2.0 (code). Knesset OData content is official parliamentary publication material (see SOURCES.md).

来源:README.md,提交 8e9e242

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.5.4最新Oct 6, 2026
  2. v0.5.3Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分