tr-eli-mcp

v0.3.4
io.github.matematicsolutions/tr-eli-mcp Checked 3 days ago Published 2 months ago

MCP 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.

ParameterTypeDescription
query *stringSearch phrase, e.g. ``"vergi"``.
baslikta_arabooleanSearch in title only (default True). Set False to search full text too.
mevzuat_noOptional legislation number filter.
mevzuat_turuOptional 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.

ParameterTypeDescription
mevzuat_id *stringDocument id, from a ``tr_search_legislation`` result.

tr_get_legislation_toc

Fetch the article tree (madde agaci / table of contents) of a document.

ParameterTypeDescription
mevzuat_id *stringDocument 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.