Yargı
A FastMCP server providing access to various Turkish legal databases including Supreme Court, Council of State, Constitutional Court, and Public Procurement Authority decisions through a standardized MCP interface for LLM applications.
What is Yargı?
Yargı is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to fastmcp server providing access to various turkish legal databases including supreme court, council of state, constitutional court, and public procurement authority decisions through a standardized mc...
A FastMCP server providing access to various Turkish legal databases including Supreme Court, Council of State, Constitutional Court, and Public Procurement Authority decisions through a standardized MCP interface for LLM applications.
This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A FastMCP server providing access to various Turkish legal d
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx yarg-mcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Yargı
Yargı MCP is a FastMCP server that gives AI models structured access to 15 Turkish legal institutions through 24 specialized tools, covering courts ranging from the Supreme Court (Yargıtay) and Council of State (Danıştay) to the Constitutional Court, Court of Accounts, competition authority, and data protection authority (KVKK). It enables semantic and keyword search across case law, tax directives, insurance arbitration decisions, and more, with full document retrieval in paginated Markdown. Legal researchers, law students, and Turkish legal professionals use it to have Claude search and summarize authoritative court decisions in natural language.
Prerequisites
- Python 3.10+ and uv package manager (or pip) installed
- An MCP-compatible client such as Claude Desktop, 5ire, or Gemini CLI
- Optional: an OpenRouter API key (OPENROUTER_API_KEY) for hosted semantic embeddings, or a local embedding model endpoint
Install uvx (if not already installed)
Yargı MCP is published to PyPI and can be run directly with uvx, which handles the virtual environment automatically. Install uv first if you do not have it.
curl -LsSf https://astral.sh/uv/install.sh | shTest the server locally
Run yargi-mcp directly with uvx to verify it starts without errors. You should see the FastMCP server start message.
uvx yargi-mcpConfigure your MCP client
Add yargi-mcp to your MCP client configuration file. The basic setup requires no environment variables — semantic search is optional and uses public court APIs by default.
{
"mcpServers": {
"Yargı MCP": {
"command": "uvx",
"args": ["yargi-mcp"]
}
}
}(Optional) Enable semantic search with embeddings
For richer semantic similarity search, add an OpenRouter API key or configure a local embedding endpoint via environment variables in your client config.
{
"mcpServers": {
"Yargı MCP": {
"command": "uvx",
"args": ["yargi-mcp"],
"env": {
"OPENROUTER_API_KEY": "sk-or-..."
}
}
}
}Alternatively, use the hosted remote MCP endpoint
No installation needed — connect directly to the hosted endpoint for zero-setup access to all Turkish legal databases.
https://yargimcp.surucu.dev/mcpYargı Examples
Client configuration (Claude Desktop, local uvx)
Minimal configuration for Claude Desktop using uvx to run yargi-mcp with no extra dependencies:
{
"mcpServers": {
"Yargı MCP": {
"command": "uvx",
"args": ["yargi-mcp"]
}
}
}Prompts to try
Use natural language to search Turkish legal databases:
- "Search Supreme Court decisions about wrongful termination from 2023 in the labor law chamber"
- "Find Constitutional Court individual petition decisions related to freedom of expression"
- "Look up KVKK (data protection authority) decisions about cookie consent violations"
- "Search tax directives (özelge) about VAT exemptions for software exports"
- "Find competition authority decisions involving abuse of dominant position in the telecom sector"Troubleshooting Yargı
uvx command not found
Install the uv package manager using: curl -LsSf https://astral.sh/uv/install.sh | sh, then restart your terminal. Alternatively, install with pip: pip install uv.
Semantic search returns no results even with OPENROUTER_API_KEY set
Verify the API key is valid and has credits. You can also switch to keyword-only search by omitting the embedding config — most tools support phrase and date-range filtering without embeddings.
Document retrieval returns truncated content
The get_*_document_markdown tools paginate output in 5,000-character pages. Ask the AI to fetch the next page (e.g., 'get page 2 of that decision') to retrieve the full document.
Frequently Asked Questions about Yargı
What is Yargı?
Yargı is a Model Context Protocol (MCP) server that fastmcp server providing access to various turkish legal databases including supreme court, council of state, constitutional court, and public procurement authority decisions through a standardized mcp interface for llm applications. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Yargı?
Follow the installation instructions on the Yargı GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Yargı?
Yargı works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Yargı free to use?
Yes, Yargı is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Yargı Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to Yargı? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
Browse More Search & Data Extraction MCP Servers
Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Yargı in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Yargı?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.