check_government_servers_health
Use this when checking if Turkish legal database servers are online and responding.
Search Turkish case law, regulatory decisions and tax rulings across the official databases that hold them, and pull any decision back as full Markdown.
LABSCO SUMMARY
What it takes off you is knowing which portal holds the answer: a competition question, a tax ruling and a Constitutional Court judgment come from three different institutions, and here they are three calls with the same shape. Every search has a matching fetch that returns the full text as Markdown, so the citation and the passage behind it arrive together rather than as a link you go and open.
A research layer over Türkiye's official legal databases. Every source has a search call and a matching call that returns the full decision text as Markdown. Run it locally.
You need uv to run uvx yargi-mcp on your own machine. Network access to the government databases is required: every answer is a live query against them. Bedesten is rate-limited upstream, and searches and document fetches count against the same limit, and a throttled request comes back telling you how long to wait.
One command — uvx yargi-mcp
USE CASES
Search the higher courts through Bedesten by chamber and date, then pull the decisions worth reading as full Markdown.
Search norm control decisions and individual applications together, then read the judgment itself rather than a summary.
Search the Revenue Administration's özelge collection on the tax at issue and retrieve the ruling in full.
Competition, data protection, banking and telecoms decisions each have their own search and fetch pair, so one question spans all four without changing tools.
Search across the journal issues, then search inside the one issue that matters — it is split into individual decisions for you.
Check whether the government servers are answering before concluding that nothing matched.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
check_government_servers_healthUse this when checking if Turkish legal database servers are online and responding.
fetchOnly for ChatGPT Deep Research. Retrieves one Turkish legal document by numeric Bedesten ID. For regular MCP use, prefer get_bedesten_document_markdown. This performs one Bedesten document request and avoids an extra metadata lookup to respect upstream rate limits.
get_anayasa_document_unifiedUse this when retrieving full text of a Constitutional Court decision. Auto-detects decision type from URL.
get_bddk_document_markdownUse this when retrieving full text of a BDDK banking regulation decision. Returns paginated Markdown format.
get_bedesten_document_markdownUse this when retrieving full text of a Bedesten search result by documentId. Counts against the same Bedesten upstream rate limit as search; after 429, wait retry_after seconds before retrying.
get_btk_document_markdownUse this when retrieving full text of a BTK Board decision PDF. Returns paginated Markdown.
get_emsal_document_markdownUse this when retrieving full text of an Emsal precedent decision. Returns clean Markdown format.
get_gib_ozelge_document_markdownRetrieve full text of a GİB özelge (tax ruling) by numeric ID. Returns paginated Markdown (5000-char chunks) with title, reference number, date and law metadata.
get_kik_v2_document_markdownUse this when retrieving full text of a KİK procurement decision. Returns document in Markdown format.
get_kvkk_document_markdownUse this when retrieving full text of a KVKK data protection decision. Returns paginated Markdown with metadata.
get_rekabet_kurumu_documentUse this when retrieving full text of a Competition Authority decision. Returns paginated Markdown format.
get_sayistay_document_unifiedUse this when retrieving full text of a Sayıştay audit decision. Returns clean Markdown format.
get_sigorta_tahkim_document_markdownRetrieve full PDF content of a Sigorta Tahkim Komisyonu Hakem Karar Dergisi issue by number. Returns paginated Markdown. Issues 1-64 available (2010-2025).
get_uyusmazlik_document_markdown_from_urlUse this when retrieving full text of an Uyuşmazlık Mahkemesi decision. Returns clean Markdown format.
searchOnly for ChatGPT Deep Research. Searches Bedesten-supported Turkish court databases and returns OpenAI Deep Research compatible results (id, title, text, url). For regular MCP use, prefer search_bedesten_unified. This tool does not fetch document bodies during search so one query stays within Bedesten upstream rate limits; call fetch only for selected result IDs.
search_anayasa_unifiedUse this when searching Turkish Constitutional Court decision records. Supports norm control decisions and individual application decisions. Norm control filters include reviewed norm metadata; results are court decisions.
search_bddk_decisionsUse this when searching Turkish banking regulation (BDDK) decisions. For banking licenses, fintech, and payment services.
search_bedesten_unifiedUse this for Turkish court decision records from Yargıtay, Danıştay, Local Courts, Appeals Courts, and KYB via Bedesten. Prefer narrow court_types over all courts. pageSize is intentionally fixed to 10 results per page. Bedesten is upstream rate-limited; avoid parallel repeated calls and wait retry_after seconds after 429 responses.
search_btk_decisionsUse this when searching BTK Board decisions (Bilgi Teknolojileri ve Iletisim Kurumu Kurul Kararlari). Supports decision title keywords, decision number, decision date, publication date, and related department filters.
search_emsal_detailed_decisionsUse this when searching UYAP precedent decisions (Emsal). For lower court decisions and case law.
search_gib_ozelgeSearch Turkish GİB özelge records (Revenue Administration tax rulings) - 18k+ rulings on VAT, income tax, corporate tax, stamp duty interpretations. kanunNo filters the related law number; returned documents are özelge/tax ruling records.
search_kik_v2_decisionsUse this when searching Turkish public procurement disputes (KİK). Supports dispute, regulatory, and court decision types.
search_kvkk_decisionsUse this when searching Turkish data protection (KVKK/GDPR equivalent) decisions. For privacy, consent, and data breach cases.
search_rekabet_kurumu_decisionsUse this when searching Turkish competition law and antitrust decisions (Rekabet Kurumu).
search_sayistay_unifiedUse this when searching Turkish Court of Accounts (Sayıştay) audit decisions. Supports Genel Kurul, Temyiz Kurulu, and Daire decisions.
search_sigorta_tahkim_decisionsSearch Sigorta Tahkim Komisyonu (Insurance Arbitration Commission) decisions from Hakem Karar Dergisi journals (64 issues, 2010-2025). Covers insurance disputes: traffic, health, fire, DASK, life insurance.
search_uyusmazlik_decisionsUse this when searching jurisdictional dispute court (Uyuşmazlık Mahkemesi) decisions. Resolves conflicts between civil and administrative courts.
search_within_sigorta_tahkim_issueSearch within a specific Sigorta Tahkim Komisyonu journal issue for keywords. Downloads the PDF, splits into individual decisions, and returns matching decisions with excerpts sorted by relevance.
BEFORE YOU INSTALL
28 tools when we connected. A 29th tool, semantic search, appears only with an embedding provider set: EMBEDDING_PROVIDER=local with a local OpenAI-compatible server, or OPENROUTER_API_KEY or ORCAROUTER_API_KEY. The documentation prints both 26 and 28; 28 is right.
CONTEXT COST
Rated by the size of the 28 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
uvx yargi-mcp{
"mcpServers": {
"yargi-mcp": {
"command": "uvx",
"args": [
"yargi-mcp"
]
}
}
}{
"mcpServers": {
"yargi_mcp": {
"command": "uvx",
"args": [
"yargi-mcp"
]
}
}
}