NBA MCP Server logo

NBA MCP Server

by obinopaul

The NBA MCP Server is a Python server that implements the Model Context Protocol (MCP) for accessing NBA statistics and live game data. It acts as a bridge between applications and the NBA API, providing tools for retrieving real-time and historical NBA information.

View on GitHub

Last updated: N/A

What is NBA MCP Server?

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.

How to use NBA MCP Server?

The server can be run as a standalone service or integrated with Claude Desktop. Instructions are provided for both Docker and direct Python execution, involving cloning the repository, installing dependencies, and configuring the server within the Claude Desktop environment.

Key features of NBA MCP Server

  • 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

Use cases of NBA MCP Server

  • Real-time NBA game analysis

  • Player performance tracking and comparison

  • Team strategy development

  • Historical NBA data research

FAQ from NBA MCP Server

What is the NBA API?

The NBA API is a data source providing NBA statistics and live game data.

What is MCP?

MCP stands for Model Context Protocol, a framework for API interface.

What Python packages does this server use?

This server uses nba_api, MCP, Pydantic, and Pandas.

How do I run the server with Docker?

Build a Docker image and run the container, then configure Claude Desktop to use the Docker container.

How do I run the server with direct Python execution?

Create a Python environment, install dependencies, and run the nba_server.py script using the mcp run command, then configure Claude Desktop to use the Python executable.