Skip to content
DunkAPI
MCP server + basketball skills

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.

json
{
  "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.

Open endpoint docs
list_teams1cr

Team ids, abbreviations and colours for a season

search_players1cr

Find players by name

list_games2cr

Games with scores by season, date, range or team

get_schedule2cr

Upcoming games with the median line across sportsbooks

get_standings2cr

Standings from every final game: overall, conference, home, away, last 10

get_injuries2cr

The latest injury report: status, injury and expected return (NBA, WNBA)

get_ratings2cr

Our team Elo ratings, ranked

get_game5cr

One game: both box scores, every player's line, each book's line, win probability

get_player5cr

Profile, per-season averages and shooting splits, last 10 games

get_player_games5cr

A player's full game log

get_leaders5cr

Season leaders per game, by percentage or in total

get_team_stats5cr

Pace, offensive, defensive and net rating, and the four factors

get_odds5cr

Every sportsbook's moneyline, spread and total for a game (5) or a day (10), with results against the line

get_plays10cr

Play-by-play with shot locations, zones, expected points and win probability

get_shot_chart10cr

Shot profile by zone for a player, team or defence, with every shot's x/y

get_line_movement10cr

Snapshots of each sportsbook's line before tip-off

get_player_props10cr

Player prop lines by sportsbook, opening and closing

get_prop_history10cr

A player's prop lines against the result, game by game

18
MCP tools
16
skills
6
skill categories
01

Data Exploration

Find games, scout players, check odds.

game-lookup

Find games and box scores by date, team or season; tonight's schedule.

team-analysis

Standings, Elo, pace, net rating and the four factors for any team.

player-scouting

Player profiles, per-36 comparisons, shooting efficiency and leaderboards.

odds-explorer

Best price, vig and line movement across sportsbooks for any game.

game-preview

Pre-game page: Elo, efficiency, rest, injuries, market line and projection.

02

Basketball Analytics

Shot quality, pace and efficiency, built from play-by-play.

shot-zone-analysis

Shot zones and expected points: shot quality vs shot making, defence by zone.

player-form

Rolling game logs, minutes trends and shrunk projections for any player.

03

Methodology

Feature engineering, validation and calibration that hold up on time series.

feature-engineering

Leak-free rolling, rest and Elo features for game and prop models.

walk-forward-validation

Chronological validation with market benchmarks and significance tests.

probability-calibration

Reliability tables, Platt scaling and margin-to-probability conversion.

odds-analysis

Implied probability, vig and four devigging methods with live examples.

04

Betting

Find edges, size bets, track performance honestly.

edge-detection

Expected value, fractional Kelly and closing line value, framed as estimates.

backtesting

Replay a betting rule on historical closing lines with realistic settlement.

prop-modeling

Points, rebounds and assists props: minutes, rates, distributions, history.

05

Workflow

Previews and routing that combine several skills.

dispatch

Routes a basketball request to the right two or three skills.

06

Infrastructure

MCP tool routing and credit tracking.

dunkapi-tool

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.