NB

NBA

Created 6 months ago

An MCP server for Anthropic's Claude LLM to fetch recent NBA games and stats.

development documentation public

What is NBA?

This MCP server provides tools to fetch recent and historical NBA games including basic and advanced statistics.

Documentation

NBA MCP Server

Description

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

Installation

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.

Features

  • Fetch the final score for all game(s) that happened yesterday / in the past
  • Fetch the basic P/R/A breakdown for all players that played in game(s) that happened yesterday / in the past
  • Fetch the full PTS/REB/AST/STL/BLK/TO/PLUS_MINUS/MIN that happened yesterday / in the past
  • Fetch the four factors for all the game(s) that happened yesterday / in the past

Server Config

{
  "mcpServers": {
    "nba-server": {
      "command": "npx",
      "args": [
        "nba"
      ]
    }
  }
}

Links & Status

Repository: github.com
Hosted: No
Global: No
Official: No

Project Info

Hosted Featured
Created At: May 23, 2025
Updated At: Aug 07, 2025
Author: Taidgh Robinson
Category: community
Tags:
development documentation public