mcpField
I
il-eli-mcp

il-eli-mcp

Local
github.com/matematicsolutionsLegal & Government1Updated 3w ago

About il-eli-mcp

il-eli-mcp is an MCP server for searching Israeli legislation and a local corpus of Hebrew court judgments. It provides official Knesset document links and source-backed citations; law texts are linked as PDFs rather than returned inline.

Key features

  1. 01Search law names and registry status
  2. 02Retrieve law and published-version details
  3. 03Find official law PDF links
  4. 04Search 10,558 Hebrew judgments
  5. 05Retrieve judgment text and coverage

Use cases

  1. 01Check whether a law is in force or repealed
  2. 02Locate official PDFs for published laws
  3. 03Search judgments from covered Israeli courts

MCP support

It exposes Israeli law and case-law search and retrieval tools to MCP clients. Responses include source URLs and human-readable citations; case-law tools can be disabled by configuration.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"matematicsolutions-il-eli": {
"command": "uvx",
"args": [
"il-eli-mcp"
]
}
}
}
Run commanduvx il-eli-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypiil-eli-mcp0.5.4

Tools

7

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
limitintegerNomax results (default 20).
querystringYesfree text in Hebrew, e.g. a keyword from the law's title.

Details

From the project 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

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:

python -m pip install il-eli-mcp
python -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.

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.