MCP server

College Basketball MCP Server for Claude and Cursor

The college basketball MCP server is a hosted, read-only connector at https://mcp.sportsdatahq.com/mcp/nba/ncaam. It gives Claude, ChatGPT and Cursor 26 tools for Division I men's basketball: scores, box scores, standings, Elo ratings, a projected tournament field and sportsbook lines since 2013-14. A free key brings 1,000 credits a month.

What your agent can do with it

College basketball has more than 300 teams, a schedule that runs from early November into March, and almost no way to hold it in your head. This server puts it behind one URL, with the league fixed to men's Division I (ncaam) so your agent never wanders into NBA tools by accident. Teams can be passed by id or by abbreviation, such as DUKE or KU, so a question like "how has Duke done on the road" needs no lookup first.

The reference tools do the heavy lifting. list_games returns scores for a date, a team, a date range or a season, newest first, with game ids for the detail calls. get_schedule shows the next days' games with our model's expected margin and total beside the posted lines. get_game returns one game in full: both box scores, every player's line, each book's opening and closing line and the win-probability range. get_standings is computed from every final game, with overall, conference, home, away, margin and last 10.

Team and player tools sit on top. get_team_stats returns pace, offensive and defensive rating per 100 possessions and the four factors, and takes a before date so you can see a team as it stood going into a game. get_leaders ranks a season's stat leaders per game, by percentage with a volume floor, or in total. get_player and get_player_games return per-season averages and every box-score line for a player. get_plays returns play-by-play, and get_rest_and_travel shows rest, back-to-backs and distance travelled game by game.

Our own models are here too. get_ratings returns Elo power ratings, ranked, for every Division I team. get_projected_field returns each team's chance of making the tournament field, by automatic bid or at large, and of each seed line, from our ratings and a daily simulation of the remaining games. It is not an official bracket and not the committee's view.

The market tools return lines as information: moneyline, spread and total by sportsbook, line movement, alternate lines, player props from 2023-24 and the average implied and fair probability across books. You can connect to either server. The SportsDataHQ route, https://mcp.sportsdatahq.com/mcp/nba/ncaam, takes the cross-sport key and gives 1,000 free credits a month. DunkAPI's own server, https://mcp.dunkapi.com/mcp/ncaam, takes a basketball-only key and serves the same tools.

Connect it to your client

You need one thing: a free SportsDataHQ key from app.sportsdatahq.com, with 1,000 credits a month across every sport. (DunkAPI's own server, https://mcp.dunkapi.com/mcp/ncaam, takes a DunkAPI key instead and uses the same config shapes.) Claude and ChatGPT connectors sign you in with OAuth the first time a tool runs, so no key ever sits in a chat. Command-line and editor clients send the key in an x-api-key header instead. Connecting and listing tools cost nothing; only a data call spends credits.

Claude Code

claude mcp add --transport http sportsdatahq-college-basketball https://mcp.sportsdatahq.com/mcp/nba/ncaam --header "x-api-key: YOUR_API_KEY"

Run /mcp inside Claude Code to confirm the server shows as connected. If you leave the header off, /mcp walks you through an OAuth sign-in instead.

Claude.ai and Claude Desktop

Open Customize, then Connectors (older versions: Settings, Connectors), choose Add custom connector, name it sportsdatahq-college-basketball and paste https://mcp.sportsdatahq.com/mcp/nba/ncaam. Sign in the first time a tool runs and press Allow. On Team and Enterprise plans an owner adds it under Organization settings, Connectors, and members then press Connect. The local Claude Desktop config file starts programs rather than URLs, so it goes through the mcp-remote bridge:

{
  "mcpServers": {
    "sportsdatahq-college-basketball": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.sportsdatahq.com/mcp/nba/ncaam", "--header", "x-api-key:YOUR_API_KEY"]
    }
  }
}

Cursor

Paste this into ~/.cursor/mcp.json:

{
  "mcpServers": {
    "sportsdatahq-college-basketball": {
      "url": "https://mcp.sportsdatahq.com/mcp/nba/ncaam",
      "headers": { "x-api-key": "YOUR_API_KEY" }
    }
  }
}

VS Code

Add this to .vscode/mcp.json:

{
  "servers": {
    "sportsdatahq-college-basketball": {
      "type": "http",
      "url": "https://mcp.sportsdatahq.com/mcp/nba/ncaam",
      "headers": { "x-api-key": "YOUR_API_KEY" }
    }
  }
}

ChatGPT

ChatGPT adds outside MCP servers through developer mode, which OpenAI currently offers on workspace plans (Business, Enterprise and Edu) and which may need an admin to switch on. Create a custom MCP app or connector, paste https://mcp.sportsdatahq.com/mcp/nba/ncaam and choose OAuth as the authentication. A sign-in page opens, you press Allow, and there is no key to copy. ChatGPT Plus does not have developer mode: call the REST API from your own machine with your key and paste the response in, as in the curl examples below.

Example questions and the tools they call

QuestionTools calledCredits
Which teams are rated highest by Elo right now?get_ratings2
Which teams are most likely to make the tournament field, and what are their seed-line chances?get_projected_field5
What were the scores on December 5?list_games (with date)2
What games are coming up in the next two days, with our expected margin and total?get_schedule2
Show the full standings for last season, with conference and home and away splits.get_standings2
Who leads the country in points per game this season?get_leaders (stat pts)5
Show the box score for one game, with every player's line.get_game5
Find a player's id from part of his name.search_players1

A tip for agents: seasons are named by the year they end, so 2027 is 2026-27 and 2026 is last season. If "this season" returns nothing, check which year you passed. get_ratings and get_leaders default to the current season.

Tool count and highlights

The route lists 26 tools. The highlights:

  • `get_projected_field`. Each team's chance of making the field, by automatic bid or at large, with an expected seed and a seed-line spread. Refreshed daily from December to selection day. No betting-market input.
  • `get_ratings`. Elo from every final game, with home advantage and a margin-of-victory multiplier. Ratings carry part of a team's distance from average from one season to the next.
  • `get_game` and `get_plays`. Box scores with each book's line, and play-by-play with shot locations in feet and the home win probability after each play.
  • `get_team_stats`. Pace and efficiency per 100 possessions, plus the four factors and three-point rate.
  • `get_rest_and_travel`. Days of rest, back-to-backs, home and away stretches, and miles and time zones crossed, from the schedule alone.
  • Market tools. get_odds, get_line_at_time, get_line_movement, get_alt_lines, get_player_props, get_prop_history, get_prop_movement, get_game_probabilities, get_prop_probabilities and get_prop_backtest.
  • Paid plans only. get_prop_projections is refused on the free plan and charged nothing.

Credit costs

CreditsTools
1list_teams, search_players, get_data_status
2list_games, get_schedule, get_standings, get_ratings
5get_game, get_player, get_player_games, get_leaders, get_team_stats, get_odds, get_line_at_time, get_rest_and_travel, get_game_probabilities, get_projected_field
10get_plays, get_line_movement, get_player_props, get_prop_history, get_prop_movement, get_prop_probabilities, get_alt_lines
25get_prop_backtest, get_prop_projections (paid plans only)

get_odds is 5 credits for a game and 10 for a day. A game preview (schedule, game, odds) costs about 12 credits and a team check (ratings, team stats) about 7. With 1,000 free credits you can run a good number of both every month.

Verified examples you can run now

Export your key as KEY. These ran against the live API on December 6, 2026 and returned HTTP 200. Cross-sport routes put the league in the path: /v1/nba/ncaam/ is men's college basketball.

The highest-rated teams (2 credits):

curl -s -X POST https://api.sportsdatahq.com/v1/nba/ncaam/get_ratings \
  -H "x-api-key: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit": 3}'

Scores for one date (2 credits):

curl -s -X POST https://api.sportsdatahq.com/v1/nba/ncaam/list_games \
  -H "x-api-key: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"date": "2026-12-05", "limit": 3}'

Teams with a chance of making the field of 50 percent or better (5 credits):

curl -s -X POST https://api.sportsdatahq.com/v1/nba/ncaam/get_projected_field \
  -H "x-api-key: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"min_chance": 0.5}'

Points per game leaders (5 credits):

curl -s -X POST https://api.sportsdatahq.com/v1/nba/ncaam/get_leaders \
  -H "x-api-key: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"stat": "pts", "limit": 3}'

The tool list your MCP client sees on this route, which is free:

curl -s -X POST https://mcp.sportsdatahq.com/mcp/nba/ncaam \
  -H "x-api-key: $KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Coverage and limits

The server covers Division I men's basketball under the ncaam league. Games run from the 2013-14 season (season 2014) to today, and a live check found no games for seasons before 2014. About one game in eight from 2012-13 to 2017-18 has no box score upstream, so team stats for those seasons rest on fewer games. Sportsbook lines run from the same era on.

Player props and alternate lines for men's college basketball start in 2023-24. Alternate ladders come from up to five books, and games before Nov 12 2026 were captured once shortly before the start, so their opening and closing ladders match. Prop markets are narrower in college than in the NBA. Odds and props are pre-game only.

College shots carry court locations but no expected_points value yet, since that model is fitted for the NBA and WNBA. The projected-field model is ours, uses no betting-market input, and notes that its most confident chances ran a little high in backtests. Injuries are not modelled.

Lines are American odds, and the *_prob fields are implied probabilities with the book's margin still in them. Ratings are ours, Elo, and are not a ranking. starts_at is the listed start, not the actual tip. Records are overwritten when a correction arrives. You may store the data, train models, backtest and build commercial products that show your users what you derive. You may not redistribute the data, or odds as a raw feed, as a dataset or API of its own.

When not to use this

  • You need data before 2013-14. Games start with that season. Older seasons are not held.
  • You need women's college basketball on this route. This route is the men's league. Women's college basketball (ncaaw) is reachable from the basketball hub with the league argument.
  • You need college shot quality. Shots carry locations but no expected-points value, which is NBA and WNBA only.
  • You need the official bracket. The projected field is our model's view, refreshed daily. It is not the committee's field.
  • You are rebuilding a whole season. A season of box scores is thousands of games. A data package is one download.
  • You want a pick. Prices come back as information about the market. No tool recommends a wager or works out a stake.

Source and related pages

There is no public college basketball MCP repository. The hosted route and the DunkAPI docs are the references. For the cross-sport server's public code see sports-data-mcp-server. Related guides: the NBA MCP server, college football, the free sports data MCP server and golf.

Try it

FAQ

How many tools does the college basketball MCP server have?

The route lists 26 tools for men's Division I basketball, from 1-credit lookups to the 25-credit prop backtest. DunkAPI's own college route serves the same tool names.

How far back does the college basketball data go?

Games run from the 2013-14 season. About one game in eight from 2012-13 to 2017-18 has no box score upstream, and player props and alternate lines start in 2023-24.

Is the projected tournament field an official bracket?

No. get_projected_field is our model's chance that each team makes the field and lands on each seed line, from our ratings and a daily simulation of the remaining games. It uses no betting-market input and is refreshed from December to selection day.

Live from the API

Free to embed on your own site, with no key needed. Get the embed code.

Get a free key

Checked against the live API on 2026-12-06. Questions: hello@sportsdatahq.com.