yargi-mcp  by saidsurucu

Turkish legal document retrieval server

Created 10 months ago
758 stars

Top 45.7% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a Model Context Protocol (MCP) server for accessing a comprehensive range of Turkish legal databases. It enables LLM applications and other clients to query and retrieve legal documents as tools, significantly streamlining legal research for developers and legal tech professionals.

How It Works

The server acts as a unified interface to multiple Turkish legal data sources, including various courts and regulatory bodies. It leverages different APIs (Dual/Triple API support) and implements advanced filtering for court divisions, dates (ISO 8601), and exact phrase matching. Documents are converted to Markdown for easier processing by LLMs.

Quick Start & Requirements

  • Install via pip: pip install yargi-mcp
  • For ASGI/web service deployment: pip install yargi-mcp[asgi]
  • Prerequisites: Python 3.11+, Git (Windows), Microsoft Visual C++ Redistributable (Windows).
  • See README for detailed setup instructions for Claude Desktop, 5ire, and Gemini CLI.

Highlighted Details

  • Supports 12 legal institutions and 36+ MCP tools.
  • Offers extensive filtering: 87 court/division options (Yargıtay, Danıştay, Sayıştay) and date range filtering.
  • Features exact phrase search using double quotes.
  • Provides programmatic access from local courts up to the Constitutional Court.
  • Can be deployed as a web service using ASGI/FastAPI.

Maintenance & Community

  • The project is maintained by saidsurucu.
  • Further community and deployment details can be found in the docs/DEPLOYMENT.md file.

Licensing & Compatibility

  • Licensed under the MIT License.
  • Permissive for commercial use and integration with closed-source applications.

Limitations & Caveats

The project relies on external APIs, which may change or have rate limits. Document retrieval is limited to 5,000 characters per page for certain sources.

Health Check
Last Commit

1 week ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
2
Star History
95 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.