Cricket Analytics MCP
🏏 Cricket-Analytics-MCP
Ein KI-gestützter Cricket-Analytics-Agent, entwickelt mit Model Context Protocol (MCP), OpenAI, Python und Streamlit.
Das Projekt ermöglicht es Nutzern, Cricket-Statistiken zu erkunden und über eine KI-gestützte Oberfläche Fragen in natürlicher Sprache zu Spielern, Teams, Spielen und Spielervergleichen zu stellen.
✨ Funktionen
🏏 Cricket-Spielerstatistiken
📊 Analyse der Spielerleistung
⚔️ Zwei Cricket-Spieler vergleichen
🏆 Teamstatistiken und -analysen
📅 Spielergebnisse und aktuelle Spiele
📰 Cricket-News-Suche
🤖 OpenAI-gestützter Cricket-Analyst
🔌 MCP-Server zur Bereitstellung von Cricket-Tools
🎨 Interaktive Streamlit-Weboberfläche
🔐 Umgebungsbasierte API-Schlüssel-Konfiguration
Related MCP server: cricket-mcp
🏗️ Architektur
┌─────────────────────┐
│ Streamlit UI │
│ streamlit_app.py │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ OpenAI Agent │
│ agent_openai.py │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ MCP Server │
│ server.py │
└──────────┬──────────┘
│
▼
┌─────────────────────┐
│ Data Provider │
│ data_provider.py │
└─────────────────────┘📁 Projektstruktur
cricket-analytics-mcp/
│
├── agent_openai.py # OpenAI-powered cricket agent
├── data_provider.py # Cricket data and statistics provider
├── server.py # MCP server and cricket tools
├── streamlit_app.py # Streamlit frontend
│
├── screenshots/ # Application screenshots
│ ├── player-stats.png
│ ├── player-comparison.png
│ └── dashboard.png
│
├── .env # API keys and configuration (not committed)
├── .gitignore # Git ignored files
├── requirements.txt # Python dependencies
└── README.md # Project documentation🛠️ Technologie-Stack
Python
OpenAI API
Model Context Protocol (MCP)
Streamlit
python-dotenv
Cricket-Statistik-/Datenquellen
🔧 MCP-Tools
Der MCP-Server kann cricket-fokussierte Tools wie folgt bereitstellen:
get_player_stats()
get_team_stats()
get_match_results()
get_player_comparison()
get_recent_matches()
search_cricket_news()Diese Tools ermöglichen es dem KI-Agenten, strukturierte Cricket-Informationen abzurufen und diese zur Beantwortung von Nutzerfragen zu verwenden.
💬 Beispielabfragen
Show me Virat Kohli's ODI statistics.
Compare Virat Kohli and Rohit Sharma in ODI cricket.
Show me the recent matches of India.
Give me the Test statistics of Virat Kohli.
Compare the performance of two cricket players.
Show recent cricket news.⚙️ Installation
1. Repository klonen
git clone https://github.com/YOUR_USERNAME/cricket-analytics-mcp.git
cd cricket-analytics-mcp2. Virtuelle Umgebung erstellen
Windows:
python -m venv .venv
.venv\Scripts\activate3. Abhängigkeiten installieren
pip install -r requirements.txt4. Umgebungsvariablen konfigurieren
Erstellen Sie eine .env-Datei im Projektverzeichnis:
OPENAI_API_KEY=your_openai_api_key
OPENAI_MODEL=gpt-5.6
CRICAPI_KEY= xxxxxxxÜbertragen Sie Ihre .env-Datei niemals auf GitHub.
▶️ Ausführen der Anwendung
Starten der Streamlit-Anwendung
streamlit run streamlit_app.pyÖffnen Sie anschließend die lokale Streamlit-URL, die in Ihrem Terminal angezeigt wird.
Starten des MCP-Servers
Wenn Ihr Projekt so konfiguriert ist, dass der MCP-Server separat ausgeführt wird:
python server.pyBefolgen Sie die MCP-Konfiguration, die von Ihrem Client-/Agenten-Setup verwendet wird.
🧪 Projekt-Workflow
User Question
↓
Streamlit Interface
↓
OpenAI Agent
↓
MCP Tool Selection
↓
MCP Server
↓
Cricket Data Provider
↓
Structured Cricket Data
↓
OpenAI Analysis
↓
Streamlit Response🔐 Umgebungsvariablen
Variable Beschreibung
OPENAI_API_KEY OpenAI-API-Schlüssel
OPENAI_MODEL OpenAI-Modell, das vom Agenten verwendet wird
CRICAPI_KEY Cric-API-Schlüssel
Beispiel:
OPENAI_API_KEY=sk-xxxxxxxx
OPENAI_MODEL=gpt-5.6
CRICAPI_KEY= xxxxxxx📸 Screenshots
Fügen Sie Screenshots der Anwendung im Verzeichnis screenshots/ hinzu.
Empfohlene Screenshots:
Spielerstatistiken
Spielervergleich
Cricket-Analytics-Dashboard
Verweisen Sie anschließend in dieser README darauf:

🚀 Zukünftige Verbesserungen
Live-Cricket-Ergebnisse
Live-Spielkommentare
Spielerranglisten
Erweiterte Spielervergleichsdiagramme
Teamleistungsanalysen
Analyse historischer Spiele
Cricket-News-Aggregation
Weitere MCP-Tools
Verbesserte Dashboard-Visualisierungen
Bereitstellung auf Streamlit Community Cloud
🎯 Anwendungsfälle
Dieses Projekt kann verwendet werden für:
Erkundung von Cricket-Statistiken
Analyse der Spielerleistung
KI-gestützte Cricket-Recherche
Cricket-Datenvisualisierung
MCP-Lernen und -Experimentieren
Entwicklung eines agentischen KI-Portfolios
👨💻 Autor
Manas Ranjan Meher
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityCmaintenanceProvides natural language access to IPL cricket match data, allowing users to query player statistics, team performances, and match results. It utilizes a SQLite backend and Cricsheet data to deliver detailed cricket analytics through the Model Context Protocol.1
- FlicenseNot gradedqualityBmaintenanceAn MCP server that enables natural language querying of over 10 million ball-by-ball cricket deliveries stored in a local DuckDB database. It provides 26 tools for analyzing player matchups, situational stats, and historical records across all major cricket formats and tournaments.2
- AlicenseAqualityDmaintenanceEnables users to query MLB Statcast, FanGraphs, and Baseball Reference data using natural language through an AI assistant. It provides comprehensive tools for analyzing player performance, pitch-level data, season leaderboards, and team standings.2434MIT
- AlicenseNot gradedqualityCmaintenanceWraps CricAPI to provide live cricket data, enabling AI agents to query cricket information through natural language or direct tool calls.10MIT
Related MCP Connectors
Official Microsoft MCP Server to query Microsoft Entra data using natural language
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
AI access to Hitsteps analytics, live visitors, uptime, goals, alerts, and chats.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/manasranjanmeher99/Cricket_Analyst_MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server