tr-eli-mcp
v0.3.4MCP server for Turkish legislation (Adalet Bakanligi Bedesten API): verifiable citations.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
tr_search_legislation
Search Turkish legislation by title and/or full text.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search phrase, e.g. ``"vergi"``. |
baslikta_ara | boolean | Search in title only (default True). Set False to search full text too. |
mevzuat_no | Optional legislation number filter. | |
mevzuat_turu | Optional legislation type filter, e.g. ``"KANUN"``, ``"KHK"``, ``"YONETMELIK"``. See ``tr_list_legislation_types`` for the full list. |
tr_get_legislation_content
Fetch the full text of a Turkish legislative document by its mevzuat_id.
| Parameter | Type | Description |
|---|---|---|
mevzuat_id * | string | Document id, from a ``tr_search_legislation`` result. |
tr_get_legislation_toc
Fetch the article tree (madde agaci / table of contents) of a document.
| Parameter | Type | Description |
|---|---|---|
mevzuat_id * | string | Document id, from a ``tr_search_legislation`` result. |
tr_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.
tr_list_legislation_types
Enumerate all Turkish legislation types with live document counts. Returns: ``LegislationTypeList`` with items like KANUN (laws), KHK (decree-laws), YONETMELIK (regulations), CB_KARARNAME (presidential decrees), etc.