
Model Context Protocol (MCP) Server
The Model Context Protocol (MCP) Server bridges AI assistants with external data sources, APIs, and services, enabling streamlined integration of complex workfl...
Bring live NBA game stats, scores, and advanced analytics directly into your AI agents and chatbots with the NBA MCP Server, seamlessly integrated with FlowHunt.
The NBA MCP Server is a Model Context Protocol (MCP) server designed to enhance AI assistants, such as Anthropic’s Claude, by enabling them to access and retrieve up-to-date NBA basketball game data and statistics. By interfacing with the open-source nba_api
, the server allows LLMs to fetch recent NBA game scores, player statistics, and advanced analytics that would otherwise be inaccessible due to model knowledge limitations. This connection empowers AI-driven development workflows, allowing for dynamic database queries and live data retrieval regarding NBA games, player performance, and more, thus significantly augmenting the assistant’s ability to interact with and analyze real-world sports data.
No prompt templates were specified in the repository.
No explicit resources were detailed in the repository.
Fetch final scores
Retrieves the final scores for all NBA games that occurred yesterday or in the recent past.
Fetch basic player stats
Obtains points, rebounds, and assists (P/R/A) breakdowns for all players who participated in games from yesterday or earlier dates.
Fetch full player stats
Collects comprehensive player stats including PTS, REB, AST, STL, BLK, TO, PLUS_MINUS, and MIN for games played yesterday or in the past.
Fetch four factors
Retrieves the “four factors” advanced analytics for all NBA games that happened yesterday or in the recent past.
Real-time NBA game summaries
Developers can enable AI assistants to answer questions about the latest NBA games, providing up-to-date scores and outcomes.
Detailed player performance analysis
The server allows retrieval of per-player statistics, supporting use cases like generating post-game reports, fantasy basketball insights, or historical analysis.
Advanced analytics for sports journalism
By accessing the four factors and other metrics, journalists and analysts can quickly surface advanced stats for articles or commentary.
Automated sports dashboards
Integration with dashboard tools allows live updates on NBA games and player performances for fans or analysts.
AI-driven sports applications
Developers can use the server to power chatbots or virtual assistants capable of answering NBA-related queries with recent data.
uv venv
.venv\Scripts\activate
uv pip install -e .
mcpServers
object with the appropriate command and arguments.JSON example:
{
"mcpServers": {
"nba-mcp": {
"command": "python",
"args": ["nba.py"]
}
}
}
uv venv
.venv\Scripts\activate
uv pip install -e .
mcpServers
section.JSON example:
{
"mcpServers": {
"nba-mcp": {
"command": "python",
"args": ["nba.py"]
}
}
}
JSON example:
{
"mcpServers": {
"nba-mcp": {
"command": "python",
"args": ["nba.py"]
}
}
}
mcpServers
.JSON example:
{
"mcpServers": {
"nba-mcp": {
"command": "python",
"args": ["nba.py"]
}
}
}
Securing API Keys
No API keys are required for the NBA MCP Server as it uses the open-source nba_api
. If future versions require keys, you can secure them using environment variables:
JSON example:
{
"mcpServers": {
"nba-mcp": {
"command": "python",
"args": ["nba.py"],
"env": {
"NBA_API_KEY": "${NBA_API_KEY}"
},
"inputs": {
"NBA_API_KEY": "your_api_key_here"
}
}
}
}
Using MCP in FlowHunt
To integrate MCP servers into your FlowHunt workflow, start by adding the MCP component to your flow and connecting it to your AI agent:
Click on the MCP component to open the configuration panel. In the system MCP configuration section, insert your MCP server details using this JSON format:
{
"nba-mcp": {
"transport": "streamable_http",
"url": "https://yourmcpserver.example/pathtothemcp/url"
}
}
Once configured, the AI agent is now able to use this MCP as a tool with access to all its functions and capabilities. Remember to change “nba-mcp” to whatever the actual name of your MCP server is and replace the URL with your own MCP server URL.
Section | Availability | Details/Notes |
---|---|---|
Overview | ✅ | Overview and features present in README |
List of Prompts | ⛔ | No prompt templates found |
List of Resources | ⛔ | No explicit resources listed |
List of Tools | ✅ | Listed in README (features section) |
Securing API Keys | ⛔ | No API keys required for nba_api |
Sampling Support (less important in evaluation) | ⛔ | Not mentioned |
Supports Roots | Supports Sampling |
---|---|
⛔ | ⛔ |
Based on the available information, the NBA MCP Server offers valuable real-time sports data integration for LLMs but is missing documentation on prompt templates, explicit resource definitions, and advanced MCP features like roots or sampling. It is a functional but basic implementation.
Has a LICENSE | ⛔ |
---|---|
Has at least one tool | ✅ |
Number of Forks | 2 |
Number of Stars | 6 |
Rating:
I would rate this MCP server a 4 out of 10. It delivers its core functionality (NBA stats tools) and basic setup but lacks thorough documentation, resource definition, prompt templates, and advanced MCP features (roots, sampling). The absence of a license is also a significant limitation for open source use.
The NBA MCP Server is an open-source Model Context Protocol server that enables AI agents and chatbots to access live NBA basketball data. It uses nba_api to fetch game scores, player stats, and advanced analytics, providing real-time integration for AI-powered applications.
It provides tools for fetching final NBA game scores, basic and full player statistics (including points, rebounds, assists, steals, blocks, turnovers, +/-, and minutes), and advanced 'four factors' analytics for recent games.
No API keys are required for the NBA MCP Server, as it leverages the public nba_api library. If a future version requires API keys, you can secure them using environment variables in your configuration.
Common use cases include powering chatbots with live NBA data, generating real-time game summaries, providing player performance analytics for fantasy sports, creating automated dashboards, and supporting sports journalism with advanced statistics.
Add the MCP component to your FlowHunt workflow, and configure the NBA MCP Server using the provided JSON format in the system MCP configuration. This enables your AI agent to access all NBA stats tools offered by the server.
Supercharge your AI assistants and chatbots with real-time, in-depth NBA statistics and game updates using FlowHunt's NBA MCP Server integration.
The Model Context Protocol (MCP) Server bridges AI assistants with external data sources, APIs, and services, enabling streamlined integration of complex workfl...
The MCP Database Server enables secure, programmatic access to popular databases like SQLite, SQL Server, PostgreSQL, and MySQL for AI assistants and automation...
MCP-Soccerdata is an open-source MCP server that connects to the SoccerDataAPI, enabling real-time football (soccer) match insights for AI workflows. It provide...