Skip to main content
Glama
labeveryday

nba-stats-mcp

by labeveryday

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NBA_MCP_RETRIESNoRetries for transient failures (429 / 5xx / network). Default is 2.2
NBA_MCP_LOG_LEVELNoControls logging verbosity. Default is WARNING.WARNING
NBA_MCP_TLS_VERIFYNoTLS verification enabled. Set to 0 to disable. Default is 1.1
NBA_MCP_MAX_CONCURRENCYNoMax concurrent outbound NBA API requests. Default is 8.8
NBA_MCP_CACHE_TTL_SECONDSNoCache TTL for stats endpoints in seconds. Default is 120.120
NBA_MCP_HTTP_TIMEOUT_SECONDSNoPer-request timeout in seconds. Default is 30.30
NBA_MCP_LIVE_CACHE_TTL_SECONDSNoCache TTL for live endpoints in seconds. Default is 5.5

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
resolve_team_idA

Resolve team name/city/nickname to team_id. Returns top matches.

resolve_player_idA

Resolve player name to player_id. Returns top matches with active/inactive status.

get_scoreboardB

Games for a date (YYYY-MM-DD or YYYYMMDD). Defaults to today.

find_gameB

Find game_id by team matchup and optional date. Accepts team names.

get_game_detailsC

Detailed game info. Accepts game_id.

get_box_scoreB

Full box score with player stats. Accepts game_id.

get_player_infoB

Player bio/profile. Accepts player name or ID.

get_player_statsC

Player stats. stat_type: season (default), career, game_log, hustle, defense, advanced. Accepts player name or ID.

get_player_awardsB

Player awards/accolades. Accepts player name or ID.

get_shooting_dataC

Shooting data. data_type: splits (default) or chart. Accepts player name or ID.

get_team_rosterB

Team roster. Accepts team name or ID.

get_standingsC

League standings by conference.

get_leadersC

League leaders. scope: current_season (default), all_time, hustle. category: points, assists, rebounds, etc.

get_scheduleC

Team upcoming schedule. Accepts team name or ID.

get_season_awardsC

Major award winners for a season (MVP, etc.).

get_team_advanced_statsB

Team advanced metrics (ORtg, DRtg, pace, net rating). Accepts team name or ID.

get_play_by_playC

Play-by-play data for a game.

get_game_rotationC

Player rotation/substitution data for a game.

compare_playersC

Compare two players side by side. Accepts names or IDs.

daily_summaryB

All games + scores for a date. Defaults to today.

team_overviewA

Team overview: roster + record + upcoming schedule. Accepts team name or ID.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/labeveryday/nba-stats-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server