Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
machina-sports avatar

Cbb Data

  • 519 installs
  • 201 repo stars
  • Updated August 5, 2026
  • machina-sports/sports-skills

cbb-data is a college basketball data skill that gathers and normalizes NCAA Division I schedules, box scores, and rankings for developers building sports analytics, content, or predictive modeling apps.

About

cbb-data is a machina-sports skill (version 0.1.0) for NCAA Division I men's college basketball data via ESPN public endpoints with zero API keys. The sports-skills CLI exposes 14 commands including get_scoreboard, get_standings, get_rankings, get_teams across 360+ D1 teams, get_team_roster, get_game_summary, get_play_by_play, get_win_probability, get_futures, and get_team_stats. Developers install with pip install sports-skills requiring Python 3.10+. The skill handles season-year derivation from currentDate, per-conference standings via group IDs, March Madness tournament context, and ranked-team fields on scoreboard competitors. Reach for cbb-data when building CBB dashboards, content products, or predictive modeling prototypes needing schedules, box scores, AP Top 25 rankings, or betting futures.

  • CBB dataset discovery
  • Schema normalization
  • Schedule and box score joins
  • Source freshness checks
  • Analytics-ready tables

Cbb Data by the numbers

  • 519 all-time installs (skills.sh)
  • +7 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #442 of 2,064 Data Science & ML skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/machina-sports/sports-skills --skill cbb-data

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs519
repo stars201
Last updatedAugust 5, 2026
Repositorymachina-sports/sports-skills

How do you fetch college basketball data programmatically?

Gather and normalize college basketball (CBB) datasets—schedules, box scores, rankings—for analysis, content products, or predictive modeling prototypes.

Who is it for?

Developers building college basketball dashboards, content tools, or predictive models who need keyless ESPN data via the sports-skills CLI.

Skip if: Developers needing NBA, WNBA, college football data, or live exchange-grade betting odds APIs outside ESPN public endpoints.

When should I use this skill?

A developer asks about college basketball scores, March Madness, NCAA standings, rankings, rosters, schedules, or CBB team and player statistics.

What you get

Normalized CBB datasets with scores, conference standings, AP Top 25 rankings, rosters, play-by-play, and futures odds from ESPN endpoints.

  • CBB scoreboard data
  • Conference standings
  • Rankings and roster datasets

By the numbers

  • Exposes 14 CLI commands for NCAA men's basketball data
  • Covers 360+ NCAA Division I men's basketball teams
  • Package version 0.1.0 requires Python 3.10+

Files

SKILL.mdMarkdownGitHub ↗

College Basketball Data (CBB)

Before writing queries, consult references/api-reference.md for endpoints, conference IDs, team IDs, 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 cbb get_scoreboard
sports-skills cbb get_rankings
sports-skills cbb get_standings --group=23

CRITICAL: Before Any Query

CRITICAL: Before calling any data endpoint, verify:

  • Season year is derived from the system prompt's currentDate — never hardcoded.
  • For standings, the group parameter is set to the correct conference ID (see references/api-reference.md).
  • If only a team name is provided, use get_teams to resolve the team ID.

Choosing the Season

Derive the current year from the system prompt's date (e.g., currentDate: 2026-02-28 → current year is 2026).

  • If the user specifies a season, use it as-is.
  • If the user says "current", "this season", or doesn't specify: The CBB season runs November–April. If the current month is November or December, use season = current_year + 1. If January–April, use season = current_year. If May–October (offseason), use season = current_year (most recently completed season).

Important: College vs. Pro Differences

  • Standings are per-conference — use the group parameter to filter
  • Rankings replace leaders — college uses AP Top 25 and Coaches Poll
  • Ranked teams have a rank field (null = unranked) on scoreboard competitors
  • 360+ D1 teams — many games per day during the season (50+ during conference play)
  • March Madness — NCAA Tournament runs in March/April with 68 teams

Commands

CommandDescription
get_scoreboardLive/recent college basketball scores
get_standingsStandings by conference (use group parameter)
get_teamsAll 360+ D1 men's basketball teams
get_team_rosterFull roster for a team
get_team_scheduleSchedule for a specific team
get_game_summaryDetailed box score and player stats
get_rankingsAP Top 25 and Coaches Poll rankings
get_newsCollege basketball news
get_play_by_playFull play-by-play for a game
get_win_probabilityWin probability chart data
get_scheduleSchedule for a date or season
get_futuresFutures/odds markets (National Championship, etc.)
get_team_statsTeam statistical profile
get_player_statsPlayer statistical profile

See references/api-reference.md for full parameter lists and return shapes.

Examples

Example 1: Current rankings User says: "What are the college basketball rankings?" Actions: 1. Call get_rankings() Result: AP Top 25 and Coaches Poll with rank, previous rank, record, and points

Example 2: Conference standings User says: "Show me SEC basketball standings" Actions: 1. Derive season year from currentDate 2. Call get_standings(group=23, season=<derived_year>) (group 23 = SEC) Result: SEC standings with W-L records per team

Example 3: Today's scores User says: "What are today's college basketball scores?" Actions: 1. Call get_scoreboard() Result: All live and recent CBB games with scores and ranked status

Example 4: Team roster User says: "Show me Duke's roster" Actions: 1. Call get_team_roster(team_id="150") Result: Full Duke roster with name, position, jersey number

Example 5: March Madness futures User says: "Who's favored to win March Madness?" Actions: 1. Call get_futures(limit=10) Result: Top National Championship contenders with odds values

Example 6: Team statistics User says: "Show me Duke's team stats" Actions: 1. Derive season year from currentDate 2. Call get_team_stats(team_id="150", season_year=<derived_year>) Result: Duke's season stats by category with value, rank, and per-game averages

Commands that DO NOT exist — never call these

  • ~~get_odds~~ / ~~get_betting_odds~~ — not available. For prediction market odds, use the polymarket or kalshi skill.
  • ~~search_teams~~ — does not exist. Use get_teams instead.
  • ~~get_box_score~~ — does not exist. Use get_game_summary instead.
  • ~~get_player_ratings~~ — does not exist. Use get_player_stats instead.
  • ~~get_ap_poll~~ — does not exist. Use get_rankings instead.

If a command is not listed in the Commands table above, it does not exist.

Error Handling

When a command fails, do not surface raw errors to the user. Instead: 1. If no events found, check if it's the off-season (CBB runs November–April) 2. If standings are empty without a group filter, try a specific conference 3. During March Madness, the scoreboard will have tournament games 4. Only report failure with a clean message after exhausting alternatives

Troubleshooting

Error: sports-skills command not found Cause: Package not installed Solution: Run pip install sports-skills

Error: No games found on scoreboard Cause: CBB is seasonal (November–April); off-season scoreboard will be empty Solution: Use get_rankings or get_news year-round; check get_schedule for when the season resumes

Error: Too many games returned — hard to filter Cause: During the season, 50+ games per day are scheduled Solution: Use --group to filter by conference, or --limit to cap results

Error: Rankings empty Cause: Rankings are published weekly during the season (November–March) only Solution: Use get_news in the offseason; rankings resume in November

Related skills

How it compares

Pick cbb-data over nba-data or cfb-data skills when the dataset target is NCAA Division I men's college basketball specifically.

FAQ

How do you install cbb-data?

cbb-data uses the sports-skills CLI installed via pip install sports-skills, which requires Python 3.10 or newer. No API keys are needed; commands like sports-skills cbb get_scoreboard query ESPN public endpoints directly.

What data does cbb-data provide?

cbb-data provides live and recent scores, per-conference standings, AP Top 25 and Coaches Poll rankings, team rosters, schedules, box scores, play-by-play, win probability, futures odds, and team or player stats across 360+ D1 men's teams.

Data Science & MLanalyticspipelines

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.