🧑🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

Yargitay MCP Server
A FastMCP server that provides tools to search and retrieve court decisions from the Yargitay Karar Arama website (https://karararama.yargitay.gov.tr/).
Features
- Search court decisions using keywords and various parameters
- Retrieve full text of court decisions by ID
- Quick search functionality for simple keyword-based searches
Installation
Using uv (recommended)
- Clone this repository
- Install dependencies using uv:
uv sync
Alternatively, you can create a virtual environment:
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv sync
Using pip
- Clone this repository
- Install dependencies:
pip install -r requirements.txt
Project Structure
yargitay-mcp/
├── yargitay/ # Main package
│ ├── __init__.py # Package initialization
│ ├── models.py # Data models
│ ├── client.py # API client for Yargitay
│ └── server.py # FastMCP server implementation
├── tests/ # Test suite
│ └── test_yargitay.py # Tests for the Yargitay server
├── examples/ # Example scripts
│ └── client_example.py # Example client usage
├── server.py # Main entry point
├── pyproject.toml # Project configuration
└── requirements.txt # Dependencies (for pip)
Usage
Running the server with FastMCP
There are several ways to run the server:
Development mode (recommended for testing)
fastmcp dev server.py
This launches the interactive MCP Inspector for testing.
Install for Claude Desktop integration
fastmcp install server.py --name "Yargitay Karar Arama"
Direct execution
python server.py
This will start the server with SSE transport on http://localhost:8888
.
Running the tests
To run the test suite with pytest:
pytest
Or with the unittest module:
python -m unittest discover tests
Example Client
You can find a simple example client in the examples/client_example.py
file:
python examples/client_example.py
Available Tools
The MCP server provides the following tools:
-
quick_search(keyword, page, page_size)
- Simplified search with just a keyword -
search_court_decisions(search_params)
- Advanced search with multiple parameters -
get_decision_by_id(decision_id)
- Retrieve the full text of a court decision
Example Usage
-
Search for decisions containing the word "test":
quick_search(keyword="test")
-
Get the full text of a decision by its ID:
get_decision_by_id(decision_id="1126134100")
-
Advanced search with multiple parameters:
search_court_decisions( search_params={ "keyword": "test", "department": "10. Hukuk Dairesi", "karar_yil": "2025" } )
Development
Setting up the development environment
# Install development dependencies
uv sync --dev
# Run tests
pytest
Implementation Notes
This server follows the FastMCP pattern of directly exporting a mcp
variable, which is the FastMCP instance, as recommended in the FastMCP documentation. This allows for direct access to the MCP instance by the FastMCP CLI and other tools.
相关推荐
Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
an easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.
🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.
⛓️RuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.
AI's query engine - Platform for building AI that can answer questions over large scale federated data. - The only MCP Server you'll ever need
🧑🚀 全世界最好的LLM资料总结(视频生成、Agent、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.
FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.
Reviews

user_CgFCTZw3
I've been using yargitay-mcp for a while now, and it has truly streamlined my workflow. The interface is user-friendly and the functionalities are comprehensive, making it an outstanding choice for anyone in need of a reliable MCP application. MAkcanca has done an excellent job with this tool. Highly recommend!

user_mqrAgmoe
As a devoted user of the yargitay-mcp, I must say this application developed by MAkcanca has exceeded my expectations. Its intuitive interface and robust features in managing cases are unmatched. The seamless navigation and user-friendly design make it an essential tool. Highly recommended for anyone in need of an efficient case management solution!