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_documentsreturns 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) andlaw_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
| Tool | Purpose |
|---|---|
il_search_laws |
Full-text search over law names (registry: status, Basic Law flag) |
il_get_law |
Full detail for one law by its IsraelLawID |
il_search_law_texts |
Search published law versions (KNS_Law), incl. consolidated texts |
il_get_law_documents |
Official PDF documents for a published law (fs.knesset.gov.il) |
il_search_case_law |
Keyword search over the local corpus of 10,558 judgments |
il_get_case |
One judgment's full text by judgment_id |
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
Configuration
| Env var | Default |
|---|---|
IL_ELI_CACHE_DIR |
~/.matematic/cache/il-eli |
IL_ELI_AUDIT_DIR |
~/.matematic/audit |
IL_ELI_BASE_URL |
https://knesset.gov.il/Odata/ParliamentInfo.svc |
License
Apache-2.0 (code). Knesset OData content is official parliamentary publication material (see SOURCES.md).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file il_eli_mcp-0.4.0.tar.gz.
File metadata
- Download URL: il_eli_mcp-0.4.0.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f08e1242e640355545b004956ea9470229dc30590c05069458826c7f95aec496
|
|
| MD5 |
b1f3cb38eca7af5f14832d5de9fda946
|
|
| BLAKE2b-256 |
6bf84c90fd7b8892f1bd9ebbb66e92f406d7d4bad52d28af770db9003a6e542b
|
File details
Details for the file il_eli_mcp-0.4.0-py3-none-any.whl.
File metadata
- Download URL: il_eli_mcp-0.4.0-py3-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
010a76b123b7aa36d4fdeaceed15d455bc17b05d5e2a70600a2b3f2e0da14a4e
|
|
| MD5 |
ec131f270e1225db773762b83ddca197
|
|
| BLAKE2b-256 |
cef00e4680eb8173eef2ffc2209d889e4f8828e4a76e96fcd8a508c91a248029
|