by Taidgh-Robinson
An MCP server for Anthropic's Claude LLM that allows the model to fetch recent NBA games and stats.
NBA MCP Server is a tool designed to enhance Anthropic's Claude LLM by providing it with access to real-time and historical NBA game data and statistics. It leverages the open-source nba_api
to achieve this, addressing Claude's current limitations in fetching such information.
To use NBA MCP Server, follow these installation steps in the directory where you have cloned the repository:
Create a virtual environment:
uv venv
Activate the virtual environment:
.venv\Scripts\activate
Install the project in editable mode:
uv pip install -e .
After installation, you need to add the configuration to your Claude config, similar to how you would configure any other MCP Server.
NBA MCP Server offers the following functionalities:
Q: What is the primary purpose of NBA MCP Server? A: Its primary purpose is to extend the capabilities of Anthropic's Claude LLM by allowing it to fetch and process NBA game and player statistics.
Q: What data sources does NBA MCP Server use?
A: It utilizes the open-source nba_api
to access NBA data.
Q: Can it fetch live game data? A: The description mentions fetching data for games that "happened yesterday / in the past," suggesting it focuses on completed games rather than live updates.
Q: Is this project officially affiliated with the NBA? A: No, it is a community-driven project and not officially affiliated with the NBA.
Q: What are the "four factors" mentioned in the features? A: The "four factors" are a set of advanced basketball statistics used to evaluate team efficiency: effective field goal percentage, turnover percentage, offensive rebounding percentage, and free throw rate.
An MCP server for Anthropic's Claude LLM that allows the model to fetch recent NBA games and stats that it struggles to currently. It does this using the opensource nba_api
Run these steps in the directory where you have cloned the repo
uv venv
.venv\Scripts\activate
uv pip install -e .
Then add the configuration to your Claude config as you would for any other MCP Server.
Please log in to share your review and rating for this MCP.