Yargı

v1.0.0Search & Data Extractionstable

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.

yarg-mcpmcpai-integration
Share:
919
Stars
0
Downloads
0
Weekly
0/5

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

A FastMCP server providing access to various Turkish legal databases including S
saidsurucu

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx yarg-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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 | sh
2

Test 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-mcp
3

Configure 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"]
    }
  }
}
4

(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-..."
      }
    }
  }
}
5

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/mcp

Yargı 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.

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.

Quick Config Preview

{ "mcpServers": { "yarg-mcp": { "command": "npx", "args": ["-y", "yarg-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides