A Python server implementing Model Context Protocol (MCP) for NBA statistics and live game data.
This server provides a set of tools for accessing NBA data through the NBA API. It serves as a bridge between applications and the NBA's data services, offering both live game information and historical statistics.
nba_live_scoreboard
nba_live_boxscore
nba_live_play_by_play
nba_common_player_info
nba_player_career_stats
nba_list_active_players
nba_player_game_logs
nba_team_game_logs_by_name
nba_fetch_game_results
nba_team_standings
nba_team_stats_by_name
nba_all_teams_stats
The server is implemented using the MCP framework and can be run as a standalone service.
# Start the server
python nba_server.py
# or
mcp run nba_server.py
git clone https://github.com/obinopaul/nba-mcp-server.git
cd nba-mcp-server
pip install -r requirements.txt
docker build -t nba_mcp_server .
docker run -d -p 5000:5000 --name nba_mcp_server nba_mcp_server
claude_desktop_config.json
:{
"mcpServers": {
"nba_mcp_server": {
"command": "docker",
"args": [
"exec",
"-i",
"nba_mcp_server",
"python",
"nba_server.py"
]
}
}
}
git clone https://github.com/obinopaul/nba-mcp-server.git
cd nba-mcp-server
conda create --name your_env_name python=3.13
conda activate your_env_name
pip install -r requirements.txt
mcp run nba_server.py
claude_desktop_config.json
, adjusting the Python path as needed:{
"mcpServers": {
"nba_mcp_server": {
"command": "/path/to/your/python",
"args": [
"/path/to/nba_server.py"
]
}
}
}
After adding your chosen configuration, restart Claude Desktop to load the NBA server. You'll then be able to use all the NBA data tools in your conversations with Claude.
The server is built on:
This MCP server is available under the MIT License.
{
"mcpServers": {
"nba_mcp_server": {
"env": {},
"args": [
"exec",
"-i",
"nba_mcp_server",
"python",
"nba_server.py"
],
"command": "docker"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.