Metadata-Version: 2.4
Name: il-eli-mcp
Version: 0.2.0
Summary: MCP server for Israeli legislation (Knesset OData) with verifiable citations.
Project-URL: Repository, https://github.com/matematicsolutions/il-eli-mcp
Project-URL: Issues, https://github.com/matematicsolutions/il-eli-mcp/issues
Project-URL: Homepage, https://matematic.co
Author-email: Matematic Solutions <kontakt@matematic.co>, Wieslaw Mazur <mazur.wieslaw2022@gmail.com>
License: Apache-2.0
License-File: LICENSE
Keywords: israel,knesset,law,legaltech,mcp,odata
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Legal Industry
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Office/Business
Requires-Python: >=3.11
Requires-Dist: anyio>=4.3
Requires-Dist: diskcache>=5.6
Requires-Dist: fastmcp>=0.2.0
Requires-Dist: httpx>=0.27
Requires-Dist: huggingface-hub>=0.24
Requires-Dist: pandas>=2.0
Requires-Dist: pyarrow>=15.0
Provides-Extra: dev
Requires-Dist: mypy>=1.10; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.5; extra == 'dev'
Description-Content-Type: text/markdown

# il-eli-mcp

<!-- mcp-name: io.github.matematicsolutions/il-eli-mcp -->

MCP server for Israeli primary legislation via the Knesset's official
OData API (`KNS_IsraelLaw` entity set). Tracks each law's name, Knesset
session, in-force/repealed status, and whether it is a Basic Law (Israel's
quasi-constitutional laws).

## What this is not

- **No full-text law content** - this connector returns metadata, not the
  operative articles. The Knesset also exposes a `KNS_DocumentLaw` entity
  with PDF links, but its identifier does not map directly to
  `IsraelLawID` - not resolved here, see [DISCOVERY.md](DISCOVERY.md).
- **Hebrew only** - law names and search queries are in Hebrew; there is no
  English-language law database in this API.
- **No case law** - not surveyed in this pass.

## Tools

| Tool | Purpose |
|---|---|
| `il_search_laws` | Full-text search over law names |
| `il_get_law` | Full detail for one law by its `IsraelLawID` |

Every response carries `lex_uri` and `source_url` (both the same
dereferenceable Knesset OData entity URL - Israel has no separate public
citation identifier scheme for this data) and `human_readable_citation`
(the law's Hebrew name).

## Install

```bash
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](SOURCES.md)).
