nba-mcp-server
2
The NBA MCP Server is a Python-based server that uses the Model Context Protocol to provide access to NBA data including live games and historical statistics. It acts as a bridge between applications and NBA data services, with tools for fetching player, team, and schedule information.
Overview
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.
Features
- Live game data (scoreboard, box scores, play-by-play)
- Player information and career statistics
- Team game logs and statistics
- League standings
- Game results and schedules
Tools
Live Game Data
- Fetch today's NBA scoreboard
- Provide detailed player and team statistics
- Retrieve live play-by-play actions
Player Information
- Retrieve basic player information
- Obtain player's career statistics
Team Data
- Fetch team statistics and game results
- Get league standings
Schedule Information
- Return scoreboard data for specific dates
Usage
The server is implemented using the MCP framework and can be run as a standalone service. The server runs with a 30-second timeout for reliability, and has signal handlers for graceful shutdown.