Skip to main content
Glama
draftkingsapi-mcp

draftkingsapi-mcp

draftkingsapi-mcp

A stdio MCP server for draftkingsapi.com. It gives AI agents DraftKings Pick6 lines and line history, DFS slates and salaries, sportsbook odds and price history, cross-book comparisons and box scores.

The keyless tools work with no key and spend no credits. The keyed tools read DRAFTKINGS_API_KEY. Without one, they return a message that links to the free sign-up (100 credits a month, no card): https://draftkingsapi.com/sign-up

draftkingsapi.com is an independent API. It is not affiliated with or endorsed by DraftKings. "DraftKings" is a trademark of its owner and is used here only to describe the data.

Tools

Tool

Key

What it returns

get_public_board

no

Delayed, capped Pick6 board plus recent line moves

get_public_sportsbook

no

Sportsbook moneyline, spread and total per game

get_public_line_moves

no

Recent Pick6 and sportsbook line moves

get_demo_sample

no

Frozen sample rows showing a dataset's shape

get_credit_costs

no

Credits per endpoint

get_status

no

Measured collection status and dataset freshness

get_history_coverage

no

When stored history starts, by league

get_coverage

yes

Live coverage for your key

get_sportsbook_events, get_odds, get_odds_history

yes

Sportsbook events, current prices, price history

get_pick6_projections, get_pick6_history, get_pick6_line_history

yes

Pick6 lines, the change feed, one prop's line moves

get_dfs_slates, get_dfs_contests, get_dfs_players

yes

DFS slates, contests, players and salaries

get_compare, get_compare_books, get_ev, get_arbitrage

yes

Pick6 against the sportsbook, lines across books, expected value, arbitrage and middles

get_stats_games, get_stats_player_games

yes

Game results and player box scores

Every tool is read-only. Every tool also takes an optional task argument: one plain sentence about what the user wants, sent as X-User-Request. Never put anything personal in it.

Related MCP server: SportWizzard MCP Server

Claude Desktop

Edit claude_desktop_config.json (Settings, Developer, Edit Config):

{
  "mcpServers": {
    "draftkingsapi": {
      "command": "npx",
      "args": ["-y", "draftkingsapi-mcp"],
      "env": { "DRAFTKINGS_API_KEY": "dk_your_key" }
    }
  }
}

Leave out env to use only the keyless tools.

Claude Code

claude mcp add draftkingsapi -e DRAFTKINGS_API_KEY=dk_your_key -- npx -y draftkingsapi-mcp
# keyless only:
claude mcp add draftkingsapi -- npx -y draftkingsapi-mcp

Cursor

~/.cursor/mcp.json (or .cursor/mcp.json in a project):

{
  "mcpServers": {
    "draftkingsapi": {
      "command": "npx",
      "args": ["-y", "draftkingsapi-mcp"],
      "env": { "DRAFTKINGS_API_KEY": "dk_your_key" }
    }
  }
}

Hosted alternative

You can skip the local install. A remote MCP server (Streamable HTTP) runs at https://draftkingsapi.com/api/mcp. For the data tools, send the header Authorization: Bearer dk_your_key.

Try it

Ask your agent: "Use draftkingsapi to show the current NBA Pick6 board and which lines moved." It calls get_public_board with league: "nba", which needs no key.

Development

npm install
npm test     # builds, spawns the server over stdio, lists tools, calls get_public_board live (no key, no credits)
DRAFTKINGS_OFFLINE=1 npm test   # skips the live call

DRAFTKINGS_API_BASE overrides the API origin for testing.

MIT License.

Available Tools

23 tools
get_arbitrageArbitrage and middlesC
Read-only

Arbitrage and middle opportunities across books. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up).

Inputs: task, type, limit, league, +2 more.

get_comparePick6 against sportsbookB
Read-only

Pick6 lines next to DraftKings Sportsbook lines for the same player, stat and game, with the gap. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up).

Inputs: sort, stat, task, limit, +3 more.

get_compare_booksLines across booksC
Read-only

Lines across books with an optional fair price. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up).

Inputs: stat, task, team, limit, +4 more.

get_coverageLive coverageB
Read-only

Live coverage of every dataset for your key. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up).

Inputs: task.

get_credit_costsCredit costs (keyless)A
Read-only

Credits each endpoint costs, optionally for a path and row count. No key needed, no credits.

Inputs: path, rows, task.

get_demo_sampleSample rows (keyless)A
Read-only

Frozen sample rows that show a dataset's response shape. Never present them as data. No key needed, no credits.

Inputs: dataset (required), task, limit, sport.

get_dfs_contestsDFS contestsB
Read-only

DraftKings DFS contests with entry fee, prize pool and entries. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up).

Inputs: task, limit, sport, cursor, +1 more.

get_dfs_playersDFS players and salariesB
Read-only

DraftKings DFS players with salaries and positions for a slate. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up).

Inputs: task, team, limit, sport, +3 more.

get_dfs_slatesDFS slatesB
Read-only

DraftKings DFS slates by sport. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up).

Inputs: task, limit, sport, cursor, +1 more.

get_evExpected value pricesC
Read-only

Prices with positive expected value against a fair line. Analysis, not advice. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up).

Inputs: book, sort, task, limit, +4 more.

get_history_coverageHistory coverage (keyless)A
Read-only

When stored history starts for each league, with capture counts. No key needed, no credits.

Inputs: task.

get_oddsSportsbook oddsB
Read-only

Current DraftKings Sportsbook prices by event and market, with age and stale flags. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up).

Inputs: task, limit, sport, cursor, +4 more.

get_odds_historySportsbook price historyC
Read-only

Stored DraftKings Sportsbook price history for an event or offer. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up).

Inputs: task, limit, sport, cursor, +3 more.

get_pick6_historyPick6 change historyB
Read-only

Every recorded Pick6 line, multiplier and availability change, oldest first. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up).

Inputs: stat, task, after, limit, +3 more.

get_pick6_line_historyLine history of one Pick6 propB
Read-only

Recorded moves for one Pick6 prop (pickable_id from get_pick6_projections or get_public_board id). Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up).

Inputs: pickable_id (required), task, limit, cursor, +1 more.

get_pick6_projectionsPick6 linesB
Read-only

Current DraftKings Pick6 lines with multipliers, full board, every league. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up).

Inputs: stat, task, team, limit, +6 more.

get_public_boardPick6 board (keyless)A
Read-only

Delayed, capped DraftKings Pick6 board: player, stat, line, multipliers, start time, plus recent line moves. No key needed, no credits.

Inputs: task, limit, league.

get_public_line_movesRecent line moves (keyless)B
Read-only

Recent Pick6 and sportsbook line moves with previous and current line. No key needed, no credits.

Inputs: task, limit, league, market.

get_public_sportsbookSportsbook mainlines (keyless)A
Read-only

DraftKings Sportsbook moneyline, spread and total prices per game. No key needed, no credits.

Inputs: task, limit, league.

get_sportsbook_eventsSportsbook eventsB
Read-only

DraftKings Sportsbook events and start times. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up).

Inputs: task, limit, sport, cursor, +3 more.

get_stats_gamesGame resultsB
Read-only

Game results for a sport and season. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up).

Inputs: sport (required), season (required), task, after, +3 more.

get_stats_player_gamesPlayer box scoresB
Read-only

Player game logs for a sport and season. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up).

Inputs: sport (required), season (required), task, after, +4 more.

get_statusCollection status (keyless)A
Read-only

Measured collection status: jobs, workers and the freshness of each dataset. No key needed, no credits.

Inputs: task.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 23 tools

    Disambiguation3/5

    Most tools map to distinct resources, but several near-pairs exist: get_public_board vs get_pick6_projections (capped/keyless vs full keyed board), get_public_sportsbook vs get_odds, and get_compare vs get_compare_books. The three meta tools (get_coverage, get_history_coverage, get_status) and four history tools (get_odds_history, get_pick6_history, get_pick6_line_history, get_public_line_moves) also require careful reading to separate. Descriptions do provide enough signal to disambiguate, but selection errors are plausible.

    Naming Consistency4/5

    All 23 tools use a uniform get_ prefix with snake_case noun phrases, giving a highly predictable surface. Minor deviations exist in word ordering and qualifiers (get_stats_player_games vs get_dfs_players, get_pick6_history vs get_pick6_line_history, the 'public_' keyless marker), but the pattern is still readable.

    Tool Count3/5

    23 tools is on the heavy side and largely driven by the free/keyless vs API-key duplication of the same underlying data (public_board vs pick6_projections, public_sportsbook vs odds). The breadth across Pick6, sportsbook, DFS, stats and analysis partially justifies the count, but the surface feels bloated.

    Completeness4/5

    Coverage is broad: sportsbook events/odds/history, Pick6 projections and line history, DFS slates/contests/players, player and game stats, cross-book comparison, EV and arbitrage, plus meta tools for coverage, status and credit costs. Gaps are minor, e.g. no explicit markets/futures enumeration or contest-level result lookup, but core workflows have no dead ends.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables fetching sportsbook odds, live scores, and event information across 70+ books and 30+ leagues, with tools to list sports, get scores, and discover events.
      297 npm
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to query live sports betting data including odds, edges, arbitrage opportunities, player/team stats, and reference data using the SportWizzard API.
      20
      132 npm
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Provides AI agents with live, grounded sports data including model probabilities, track records, and European soccer and tennis arbitrage opportunities, so they answer from real numbers instead of stale guesses.
      13
      68 npm
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to query live sports betting odds, best prices, arbitrage, +EV bets, and middles directly through Model Context Protocol tools.
      9
      63 npm
      MIT