il-eli-mcp

v0.5.4
io.github.matematicsolutions/il-eli-mcp Checked 1 day ago Published 1 month ago

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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

il_search_laws

Full-text search over Israeli law names (Hebrew).

ParameterTypeDescription
query *stringfree text in Hebrew, e.g. a keyword from the law's title.
limitintegermax results (default 20).

il_get_law

Fetch full detail for one Israeli law by its IsraelLawID.

ParameterTypeDescription
israel_law_id *integerthe Knesset OData IsraelLawID (from `il_search_laws`).

il_search_law_texts

Search published Israeli law versions (KNS_Law), including consolidated texts. Complements `il_search_laws`: that tool covers the KNS_IsraelLaw registry (validity status, Basic Law flag), this one covers KNS_Law - the published versions whose official PDF documents are reachable via `il_get_law_documents`. The two id spaces are disjoint.

ParameterTypeDescription
query *stringfree text in Hebrew, matched against the published version's name.
limitintegermax results (default 20).

il_get_law_documents

Official document files (PDFs) for one published law version.

ParameterTypeDescription
law_id *integerthe KNS_Law id from `il_search_law_texts` (NOT `israel_law_id`).

il_search_case_law

Keyword search over a local, pre-downloaded corpus of Israeli court judgments. NOT a live API call. The corpus (10,558 Hebrew judgments from Family, District, Magistrate, Labor, Military and Administrative courts) is a static HuggingFace dataset (`guychuk/case-law-israel`) downloaded once and cached locally on first use of this tool - later calls only touch the local cache. Its license is undocumented; treat results as for analysis, not for redistribution.

ParameterTypeDescription
query *stringfree text in Hebrew, matched against title/full text/judges/case number.
courtoptional substring filter on the court type label (Hebrew), e.g. a fragment of "בית משפט השלום" (Magistrate) or "בית דין לעבודה" (Labor).
limitintegermax results (default 20).

il_coverage

Declare what this connector covers, how it is sourced, and what it does NOT cover. Call this before telling a user that the law "does not contain" something, and whenever a search comes back empty: the absence may be a gap in this connector rather than in the law. Every gap carries a fallback saying where to look instead. Returns: ``Coverage`` with families, an as-of note, and a non-empty list of known gaps.

il_get_case

Fetch full detail (including full judgment text) for one case by its judgment_id. Reads from the same locally-cached dataset as `il_search_case_law` - see that tool's docstring for the download/caching/license notes.

ParameterTypeDescription
judgment_id *stringthe dataset's ``judgment_id`` (from `il_search_case_law` results).