Nba Data
Structured NBA data skill spanning ESPN, NBA CDN, and NBA Stats endpoints, with no API keys required.
- CCM score
- 57 of 100
- skills.sh installs
- 1.1K
- GitHub stars
- 274
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers scores, standings, rosters, schedules, box scores, play-by-play, injuries, futures, depth charts, and news across live and historical seasons
- Includes
get_nbastats_*commands for advanced ratings, per-shot court coordinates, career splits, and league history back to 1946 - Resolves team abbreviations and player ids across ESPN and NBA Stats, and trims long results with
sort_by,limit, andfields - Designed for NBA-only queries; WNBA and college basketball requests belong to other skills
Install
$ npx -y skills add machina-sports/sports-skills --skill nba-data -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
NBA Data
Before writing queries, consult references/api-reference.md for endpoints, ID conventions, and data shapes.
Setup
Before first use, check if the CLI is available:
which sports-skills || pip install sports-skills
If pip install fails with a Python version error, the package requires Python 3.10+. Find a compatible Python:
python3 --version # check version
# If < 3.10, try: python3.12 -m pip install sports-skills
# On macOS with Homebrew: /opt/homebrew/bin/python3.12 -m pip install sports-skills
No API keys required.
Quick Start
Prefer the CLI — it avoids Python import path issues:
sports-skills nba get_scoreboard
sports-skills nba get_standings --season=2025
sports-skills nba get_teams
CRITICAL: Before Any Query
CRITICAL: Before calling any data endpoint, verify:
- For the current season, omit
season/season_yearon ESPN commands — never hardcode one. - If only a team name is provided, call
get_teamsto resolve the team ID before using team-specific commands.
Choosing the Season
ESPN names an NBA season by the year it ends: 2026-27 is 2027, so in February 2026 the current season is 2026.
Details
- Repository
- github.com/machina-sports/sports-skills
- Categories
- Data Science & Analytics, Research & Academic
- First seen
- Jun 3, 2026
More from machina-sports/sports-skills
All 18Similar to Nba Data
More Data Science & Analyticswnba-dataSkillmachina-sports/sports-skills744 installsFree WNBA data from ESPN endpoints covering scores, standings, rosters, injuries, and player stats without API keys.
cbb-dataSkillmachina-sports/sports-skills752 installsUnified college basketball data across ESPN and NCAA endpoints, with no API keys and D2/D3 coverage.
pp-espnSkillmvanhorn/printing-press-library3.9K installsCommand-line sports lookup for live scores, standings, schedules, and box scores across 10 leagues.
Mlb StatsMCP serverpipeworx-ioOfficial MLB schedules, standings, rosters, player stats, and box scores with no authentication.
kbl-resultsSkillnomadamas/k-skill12.5K installsKBL 한국프로농구 game results and team standings lookup by date or team, via official JSON endpoints.