Il Eli Mcp

io.github.matematicsolutionsPublished by GitHub account matematicsolutionsv0.5.4Updated Oct 24, 2026

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

Overview

AI-generated overview

Lets an assistant search Israeli Knesset legislation and a local Hebrew case-law corpus, returning verifiable citations.

What you can do
Queries the Knesset's official OData API for the legislation registry (in-force or repealed status, Basic Law flag) and for published law versions, including consolidated texts. Returns official PDF document links for a law, and searches a local corpus of 10,558 Hebrew court judgments with full-text retrieval by judgment ID. Every response carries a lex_uri, source_url and Hebrew human-readable citation, and a coverage tool states what is and is not included.
When to use it
Useful when an assistant needs to look up Israeli statutes, track a law's status or versions, or find and read Hebrew court judgments from Family, District, Magistrate, Labor, Military and Administrative courts. Not suitable for Supreme Court case law or for non-Hebrew legal research.
Requirements
Runs locally as a Python package (pip install il-eli-mcp, or uvx). Needs network access to the Knesset OData endpoint. Optional environment variables set the cache directory, audit directory, base URL, and whether the case-law tools are enabled. No accounts or API keys are declared.
Before you install
Law texts are returned as PDF links on fs.knesset.gov.il, so the client must fetch and read them. The case-law corpus has an undocumented upstream license and is described as for analysis use, not redistribution; redistributed builds disable it via IL_ELI_CASE_LAW=0. On Windows 11 with Smart App Control, unsigned launchers are blocked and the module should be run through the signed Python interpreter.

Installation

In SourceWeft

  1. Open Il Eli Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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).

Source: README.md at commit 8e9e242

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

2
  1. v0.5.4LatestOct 6, 2026
  2. v0.5.3Sep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts