Claude skills for basketball analytics.
Free Claude skills that turn Claude into a basketball analyst: shot zones and expected points, pace and efficiency, player props, line movement, closing-line backtests and bet tracking, all wired to the DunkAPI MCP server.
# Install the skills as a Claude Code plugin (or git clone the repo)
> /plugin marketplace add noahowsh/dunkapi-mcp
> /plugin install dunkapi-skills@dunkapi
# Add the MCP server
$ claude mcp add dunkapi https://mcp.dunkapi.com/mcp?key=YOUR_API_KEY --transport streamable-http
# Then ask Claude a stable first question
$ claude "Using DunkAPI, show tonight's NBA games with every sportsbook's spread and total. Cite the tools used."Claude Desktop config
Use this when your MCP client accepts a Streamable HTTP URL.
{
"mcpServers": {
"dunkapi": {
"url": "https://mcp.dunkapi.com/mcp?key=YOUR_API_KEY"
}
}
}First useful prompts
“Using DunkAPI, show tonight's NBA games with every sportsbook's spread and total. Cite the tools used.”
“Using DunkAPI, build a shot chart by zone for one player this season and compare points per shot to expected. Cite the tools used.”
“Using DunkAPI, pull one player's points prop lines for his last five games next to what he scored. Cite the tools used.”
18 MCP tools
The same basketball data is available through REST and MCP. Credits are charged per tool call.
list_teams1crTeam ids, abbreviations and colours for a season
search_players1crFind players by name
list_games2crGames with scores by season, date, range or team
get_schedule2crUpcoming games with the median line across sportsbooks
get_standings2crStandings from every final game: overall, conference, home, away, last 10
get_injuries2crThe latest injury report: status, injury and expected return (NBA, WNBA)
get_ratings2crOur team Elo ratings, ranked
get_game5crOne game: both box scores, every player's line, each book's line, win probability
get_player5crProfile, per-season averages and shooting splits, last 10 games
get_player_games5crA player's full game log
get_leaders5crSeason leaders per game, by percentage or in total
get_team_stats5crPace, offensive, defensive and net rating, and the four factors
get_odds5crEvery sportsbook's moneyline, spread and total for a game (5) or a day (10), with results against the line
get_plays10crPlay-by-play with shot locations, zones, expected points and win probability
get_shot_chart10crShot profile by zone for a player, team or defence, with every shot's x/y
get_line_movement10crSnapshots of each sportsbook's line before tip-off
get_player_props10crPlayer prop lines by sportsbook, opening and closing
get_prop_history10crA player's prop lines against the result, game by game
Data Exploration
Find games, scout players, check odds.
Find games and box scores by date, team or season; tonight's schedule.
Standings, Elo, pace, net rating and the four factors for any team.
Player profiles, per-36 comparisons, shooting efficiency and leaderboards.
Best price, vig and line movement across sportsbooks for any game.
Pre-game page: Elo, efficiency, rest, injuries, market line and projection.
Basketball Analytics
Shot quality, pace and efficiency, built from play-by-play.
Shot zones and expected points: shot quality vs shot making, defence by zone.
Rolling game logs, minutes trends and shrunk projections for any player.
Methodology
Feature engineering, validation and calibration that hold up on time series.
Leak-free rolling, rest and Elo features for game and prop models.
Chronological validation with market benchmarks and significance tests.
Reliability tables, Platt scaling and margin-to-probability conversion.
Implied probability, vig and four devigging methods with live examples.
Betting
Find edges, size bets, track performance honestly.
Expected value, fractional Kelly and closing line value, framed as estimates.
Replay a betting rule on historical closing lines with realistic settlement.
Points, rebounds and assists props: minutes, rates, distributions, history.
Workflow
Previews and routing that combine several skills.
Routes a basketball request to the right two or three skills.
Infrastructure
MCP tool routing and credit tracking.
Router for all 18 DunkAPI tools: credits, REST, MCP, response envelope.
Open source methodology. Production-ready data.
The skills are free forever. When you need real data, DunkAPI is ready. Start with 500 free credits every month.