← Back to search

io.github.matematicsolutions/tr-eli-mcp

matematicsolutions Scanned 23d ago

MCP server for Turkish legislation (Adalet Bakanligi Bedesten API): verifiable citations.

C
70.1 / 100

Versions

0.1.0latest
first seen Jul 8, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 5

tr_search_legislation
annotations: none low

Search Turkish legislation by title and/or full text. Args: query: Search phrase, e.g. ``"vergi"``. mevzuat_turu: Optional legislation type filter, e.g. ``"KANUN"``, ``"KHK"``, ``"YONETMELIK"``. See ``tr_list_legislation_types`` for the full list. mevzuat_no: Optional legislation number filter. baslikta_ara: Search in title only (default True). Set False to search full text too. Returns: ``SearchResult`` with ``items: list[Legislation]``, each carrying the citation contract.

query str mevzuat_no string baslikta_ara bool mevzuat_turu string
tr_get_legislation_content
annotations: none low

Fetch the full text of a Turkish legislative document by its mevzuat_id. Args: mevzuat_id: Document id, from a ``tr_search_legislation`` result. Returns: ``LegislationContent`` with the citation contract and ``content`` (plain text).

mevzuat_id str
tr_get_legislation_toc
annotations: none low

Fetch the article tree (madde agaci / table of contents) of a document. Args: mevzuat_id: Document id, from a ``tr_search_legislation`` result. Returns: ``ArticleTree`` with a nested list of article nodes (madde_no, madde_baslik, children).

mevzuat_id str
tr_coverage
annotations: none low

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
annotations: none low

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.

Permissions 3

network medium
Server uses network capabilities via: httpx, urllib
filesystem low
Server uses filesystem capabilities via: open(), os, pathlib
env_vars low
Server uses env_vars capabilities via: os.environ

Scan Findings 40

low
Tool 'tr_search_legislation' has no annotations annotation_checker · 100%
low
Tool 'tr_get_legislation_content' has no annotations annotation_checker · 100%
low
Tool 'tr_get_legislation_toc' has no annotations annotation_checker · 100%
low
Tool 'tr_coverage' has no annotations annotation_checker · 100%
low
Tool 'tr_list_legislation_types' has no annotations annotation_checker · 100%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-5h2m-4q8j-pqpj) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-c2jp-c369-7pvx) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-m8x7-r2rg-vh5g) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-mxxr-jv3v-6pgc) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-rcfx-77hg-w2wv) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-rj5c-58rq-j5g5) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-rww4-4w9c-7733) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (GHSA-vv7q-7jx5-f767) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-1364) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-1365) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-2474) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-2475) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-2476) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.4,<4 (PYSEC-2026-338) dependency_analyzer · 95%
medium
Vulnerable dependency: httpx@0.27,<1 (GHSA-h8pj-cxx2-jfg2) dependency_analyzer · 95%
medium
Vulnerable dependency: httpx@0.27,<1 (PYSEC-2022-183) dependency_analyzer · 95%
medium
Vulnerable dependency: diskcache@5.6 (GHSA-w8v5-vhqr-4h9v) dependency_analyzer · 95%
medium
Vulnerable dependency: diskcache@5.6 (PYSEC-2026-2447) dependency_analyzer · 95%
medium
Vulnerable dependency: anyio@4.3 (GHSA-5p39-cfhj-2xmp) dependency_analyzer · 95%
medium
Vulnerable dependency: anyio@4.3 (GHSA-82r6-8w77-94w6) dependency_analyzer · 95%
info
pyproject.toml metadata manifest_parser · 100%
info
Tool: tr_search_legislation manifest_parser · 90%
info
Tool: tr_get_legislation_content manifest_parser · 90%
info
Tool: tr_get_legislation_toc manifest_parser · 90%
info
Tool: tr_coverage manifest_parser · 90%
info
Tool: tr_list_legislation_types manifest_parser · 90%
info
Required env vars (4) manifest_parser · 80%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
medium
Permission: network access detected permission_analyzer · 90%
low
Permission: filesystem access detected permission_analyzer · 80%
low
Permission: env_vars access detected permission_analyzer · 90%
critical
Tool poisoning in 'tr_coverage': Cross-tool sequencing directive poisoning · 85%
info
No dependency files found for SBOM generation sbom_generator · 100%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%