MCP.Market

Tr Eli MCP server

by matematicsolutions·io.github.matematicsolutions/tr-eli-mcp·v0.3.4·2 stars

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

A91/100grade A
What users say
No reviews yet
Be the first
Safety scan
A91/100

full report

Adoption
Growing

2 stars38 downloads/wk

Reviews

Write one

Nobody has reviewed Tr Eli yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Tr Eli tools (5)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • tr_coverage

    Declare what this connector covers, how it is sourced, and what it does NOT cover.

  • tr_get_legislation_content

    Fetch the full text of a Turkish legislative document by its mevzuat_id.

  • tr_get_legislation_toc

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

  • tr_list_legislation_types

    Enumerate all Turkish legislation types with live document counts.

  • tr_search_legislation

    Search Turkish legislation by title and/or full text.

Public scan report

scanner v0.1.10 · 2026-10-31 · same rubric, same numbers if you re-run it

no findings
  • Code scan14 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 23 days ago15/15
  • Maintainer identityregistry namespace matches repository owner7/10
Overall 91/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Tr Eli compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
91/100
higher than 85% of 48,243 servers
Tools
5
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
2
more than 75% of 28,706 servers
Downloads a week
38
more than 28% of 12,306 servers with a package

What its tools let an agent do: 5 read

Release history: 2 versions in the registry since 2026-08-24, latest 2026-09-24, typically one every 31 days.

Install Tr Eli in Claude Code, Cursor or VS Code

claude mcp add tr-eli-mcp -- uvx tr-eli-mcp
Add to Cursor

What the publisher says

From the Tr Eli repository's README, as published. We do not edit it. Read it on GitHub

tr-eli-mcp

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

An MCP server for Turkish legislation (Kanun/laws, KHK/decree-laws, Tuzuk/statutes, Yonetmelik/regulations, Cumhurbaskanligi Kararnamesi/presidential decrees, Teblig/communiques and more), served as a keyless JSON API by the Adalet Bakanligi (Ministry of Justice) at bedesten.adalet.gov.tr/mevzuat. It gives an AI agent legislation text and metadata with a verifiable citation: a resolvable identifier, a human-readable citation, and a link to the official source.

Part of the eu-legal-mcp line by MateMatic — one connector per country, the same citation contract everywhere. Turkey is included under this line's broader "Europe" framing (Council of Europe member, EU accession candidate), alongside connectors that map strictly to EU-27 membership.

On ELI. Turkey does not publish native ELI (/eli/) URIs. To keep the line's

contract honest, eli_uri carries the canonical, resolvable mevzuat.gov.tr URL instead —

e.g. https://www.mevzuat.gov.tr/mevzuat?MevzuatNo=5237&MevzuatTur=1&MevzuatTertip=5 — which

every Bedesten search record already supplies. The connector never fabricates an /eli/ URI

and says so in its tool instructions. See DISCOVERY.md.

On case law. This connector covers legislation only. Yargitay (Court of Cassation)

decision search was unreachable (TCP timeout) from the build network, and Anayasa Mahkemesi

(Constitutional Court) exposes only a client-rendered SPA with no discovered server API.

Neither is wired up here — see DISCOVERY.md for what was actually checked.

Tools

Every response carries the citation contract:

Gazette (Resmi Gazete) date/number, e.g. 5237 sayili Turk Ceza Kanunu (Resmi Gazete: 12/10/2004, Sayi: 25611).

  • eli_uri — the canonical, resolvable mevzuat.gov.tr identifier (see the ELI note above).
  • humanreadablecitation — the Turkish citation convention: law number + name + Official
  • source_url — the same canonical mevzuat.gov.tr page.

Install

pip install -e ".[dev]"

Register it with your MCP client (see .mcp.json.example):

{
  "mcpServers": {
    "tr-eli-mcp": {
      "command": "tr-eli-mcp",
      "env": {
        "TR_ELI_BASE_URL": "https://bedesten.adalet.gov.tr/mevzuat",
        "TR_ELI_CACHE_DIR": "~/.matematic/cache/tr-eli",
        "TR_ELI_AUDIT_DIR": "~/.matematic/audit"
      }
    }
  }
}

Windows 11 with Smart App Control

Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe and the tr-eli-mcp.exe launcher that pip writes at install time. The python.exe and py.exe from the python.org installer are signed by the Python Software Foundation, so running the module through the interpreter works:

python -m pip install tr-eli-mcp
python -m tr_eli_mcp

pip.exe is blocked for the same reason, so install with python -m pip, not pip install. If python is not on PATH, use the Windows launcher: py -3 -m trelimcp.

{ "mcpServers": { "tr-eli-mcp": { "command": "python", "args": ["-m", "tr_eli_mcp"] } } }

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Tr Eli: common questions

Is Tr Eli MCP server safe?
Yes, by our scan: it is graded A (91/100). Read the Tr Eli safety report
How do I install Tr Eli?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Tr Eli need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Tr Eli maintained?
The last commit was 28 days ago (2026-10-08). The latest release is v0.3.4.
How does Tr Eli compare with other MCP servers?
safety score 91/100 (higher than 85% of 48,243 servers); tools 5 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

More from matematicsolutions →