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 分