Skip to main content

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

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

Windows 11 ze Smart App Control

Smart App Control blokuje niepodpisane pliki wykonywalne, a uvx.exe, pip.exe i generowany przy instalacji il-eli-mcp.exe podpisane nie sa. python.exe z python.org jest podpisany przez Python Software Foundation, wiec uruchomienie przez modul omija blokade:

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

Nie wylaczaj Smart App Control, zeby to obejsc - wylaczenia nie da sie cofnac bez ponownej instalacji systemu.

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

il_eli_mcp-0.4.1.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

il_eli_mcp-0.4.1-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file il_eli_mcp-0.4.1.tar.gz.

File metadata

  • Download URL: il_eli_mcp-0.4.1.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for il_eli_mcp-0.4.1.tar.gz
Algorithm Hash digest
SHA256 f7844cd4862b17d0c42183e83dd335fd1a1e8234732a249fc9723724892b0483
MD5 6731d6568113499a893a35764bd53755
BLAKE2b-256 6a97bd6d29b0648fc79c3e9e8228ac2151f787d5ea7582fe661daec9a3f7d9ed

See more details on using hashes here.

File details

Details for the file il_eli_mcp-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: il_eli_mcp-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for il_eli_mcp-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 407679eba269f9fd8440579f57e7a65deb5107f22145d18aae6d526668a76b56
MD5 8cef42de3e83e7d9dadd6e9599b55993
BLAKE2b-256 5ed8771425cd53a03d70421a65ad96103cd40143a372ece02ecb6069007c9a09

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.2

2 files

This release

0.4.1 This release

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page