Cricket Prediction
Demonstrates building a Model Context Protocol (MCP) server in Python to expose custom tools and resources to large language models (LLMs) and MCP clients.
소개
This is a sample Model Context Protocol (MCP) server crafted with Python, showcasing how applications can provide contextual data and operational tools to large language models (LLMs) and other MCP-compliant clients. It offers practical examples of defining and exposing custom functionalities, such as predicting cricket match winners, retrieving player statistics, and providing structured match data as a CSV resource with sampling capabilities. This project serves as an educational blueprint for developers looking to integrate their services within the MCP ecosystem.
주요 기능
- Predict Winner Tool: Predicts the winner between two cricket teams (mock logic).
- Get Player Stats Tool: Returns mock stats for a cricket player.
- Match Data CSV Resource: Exposes mock cricket match data as a CSV resource, with support for sampling rows.
- 0 GitHub stars
사용 사례
- Demonstrating Model Context Protocol (MCP) server implementation.
- Exposing custom application logic and data to LLMs.
- Learning how to build tools and resources for MCP clients.