Skip to main content
Glama
draftkingsapi-mcp

draftkingsapi-mcp

DraftKings MCP server: draftkingsapi-mcp

Website: draftkingsapi.com for docs, a free API key, pricing and live status.

A DraftKings MCP server for Claude, Cursor and any MCP client. Ask an AI agent for DraftKings sportsbook odds, Pick6 lines or DFS salaries; it answers from live data through draftkingsapi.com.

Website | Docs | Free API key | Pricing | All SDKs

Also for draftkingsapi.com: Python: pip install draftkingsapi | JavaScript: npm install draftkingsapi

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 keyless board tools (get_public_board, get_public_sportsbook, get_public_line_moves) are a preview limited to 25 calls a day per network. 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/auth/sign-up?utm_source=npm&utm_medium=readme&utm_campaign=draftkingsapi-mcp

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.

Plans

Free 100 credits a month (no card), Developer $49 (10,000 credits), Pro $99 (30,000), Production $149 (50,000) and Scale $499 (250,000) a month. Full pricing: https://draftkingsapi.com/pricing.

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 middlesA
Read-onlyIdempotent

Cross-book opportunities across DraftKings, FanDuel and the Novig exchange. type=arbitrage: two legs at different venues that cover both outcomes for less than they pay, with profit percent and the stake split that returns the same either way (Novig legs at the ask, fees included). type=middles: an over at one book and an under at a higher line elsewhere, with the window where both legs win. Use get_ev for one-sided value instead. Developer plan and up; a Free key gets three sample rows and an upgrade link, at no cost. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

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

get_comparePick6 against sportsbookA
Read-onlyIdempotent

DraftKings Pick6 line next to the DraftKings Sportsbook over/under for the same player, stat and game: both lines, Pick6 multipliers, sportsbook American odds with no-vig probabilities, and line_gap (Pick6 minus sportsbook). Use it to find Pick6 lines that differ from the book; to compare sportsbooks with each other use get_compare_books. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

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

get_compare_booksLines across booksA
Read-onlyIdempotent

Every upcoming DraftKings market that another venue also lists: DraftKings price per side, the Novig exchange fair probability on the same line, DraftKings EV percent against it, FanDuel and other sportsbook prices, the PrizePicks line with line_gap, and the best price per side. Recomputed about once a minute, pregame only. Use it to shop one line across books; get_ev ranks only +EV prices, get_arbitrage only guaranteed-profit pairs. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

Inputs: sort, stat, task, team, +7 more.

get_coverageLive coverageA
Read-onlyIdempotent

Which datasets, sports and leagues have rows right now for your key, with row counts and capture times. Call it first in a session to avoid empty queries; for collector health use get_status. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

Inputs: task.

get_credit_costsCredit costs (keyless)A
Read-onlyIdempotent

How many credits each API path costs per 100 rows, or the cost of one path at a given row count. Call it before a large keyed read to estimate spend. No key and no credits; delayed and capped, 60 requests a minute per address.

Inputs: path, rows, task.

get_demo_sampleSample rows (keyless)A
Read-onlyIdempotent

Frozen sample rows that show one dataset's response shape and field names, so you can plan a keyed call or write parsing code. The rows are frozen or invented fixtures: never present them as current lines or prices. No key and no credits; delayed and capped, 60 requests a minute per address.

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

get_dfs_contestsDFS contestsA
Read-onlyIdempotent

DraftKings DFS contests for a sport or slate: entry fee, prize pool and entries. Use it to compare contests; for player salaries use get_dfs_players. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

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

get_dfs_playersDFS players and salariesA
Read-onlyIdempotent

DraftKings DFS players for current slates: salary, roster position, team and game. One athlete can have several rows, one per lineup slot. A salary is a lineup budget value, not a price or a betting line. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

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

get_dfs_slatesDFS slatesA
Read-onlyIdempotent

Current DraftKings DFS slates by sport, with slate_id and start time. Step one for DFS: pass the slate_id to get_dfs_players for salaries or get_dfs_contests for contests. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

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

get_evExpected value pricesA
Read-onlyIdempotent

Sportsbook prices (DraftKings, FanDuel, BetRivers) that pay more than the Novig exchange fair probability on the same side and line, best first. Each row has ev_pct = (fair probability x decimal price - 1) x 100, edge in cents, full and quarter Kelly, and a confidence flag. Default view: fair probability at least 15 percent, main lines, high confidence. Free keys see the top 10 rows of a pass at least 10 minutes old. Analysis, not betting advice. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

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

get_history_coverageHistory coverage (keyless)A
Read-onlyIdempotent

When stored history starts for each league and dataset, with capture counts. Use it before asking get_odds_history or get_pick6_history for an old date, to know whether rows exist. No key and no credits; delayed and capped, 60 requests a minute per address.

Inputs: task.

get_oddsSportsbook oddsA
Read-onlyIdempotent

Latest captured DraftKings Sportsbook prices (American and decimal odds) by event and market, each row with capture time, age and a stale flag. Use it for the current price; use get_odds_history for earlier prices, get_compare_books to see other books on the same line. Paginate with cursor. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

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

get_odds_historySportsbook price historyA
Read-onlyIdempotent

Earlier captured DraftKings Sportsbook mainline quotes for an event or offer, each with its capture time, to chart how a price moved. Captures are periodic, not a complete open-to-close tape; check get_history_coverage for start dates. For the current price use get_odds. Paginate with cursor. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

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

get_pick6_historyPick6 change historyA
Read-onlyIdempotent

The ordered feed of every recorded Pick6 line, multiplier and availability change across the board, oldest first from a resume point. Use it for alerts or your own archive: after=latest returns no rows and the newest resume point, so later calls get only new changes. For one prop's labelled moves use get_pick6_line_history. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

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

get_pick6_line_historyLine history of one Pick6 propA
Read-onlyIdempotent

Recorded changes for one Pick6 prop, each labelled line_move, multiplier_only, availability or alternate_lines with before and after values and times. Use it to answer "how has this line moved"; get the pickable_id from get_pick6_projections or the id on a get_public_board row. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

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

get_pick6_projectionsPick6 linesA
Read-onlyIdempotent

Latest captured DraftKings Pick6 lines: player, stat, line, More/Less standings multipliers, status and pickable_id, including paused, live and alternate lines. A standings multiplier is not decimal odds. Use it for the current board; get_pick6_history for changes, get_compare for Pick6 against the sportsbook. Paginate with cursor. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

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

get_public_boardPick6 board (keyless)A
Read-onlyIdempotent

Delayed, capped DraftKings Pick6 board for a quick look without a key: player, stat, line, More/Less multipliers, start time and recent line moves. Use it to answer "what are the Pick6 lines for X" when no key is set; with a key, get_pick6_projections returns the full live board. No key and no credits; delayed and capped, 60 requests a minute per address.

Inputs: task, limit, league.

get_public_line_movesRecent line moves (keyless)A
Read-onlyIdempotent

Recent Pick6 line changes and DraftKings Sportsbook line and price changes, newest first, each with the previous and current value and the time it was seen. Use it for "what moved recently" without a key; for the full ordered change feed use get_pick6_history, and for one prop's moves get_pick6_line_history. No key and no credits; delayed and capped, 60 requests a minute per address.

Inputs: task, limit, league, market.

get_public_sportsbookSportsbook mainlines (keyless)A
Read-onlyIdempotent

Delayed DraftKings Sportsbook moneyline, spread and total prices per game (American and decimal odds), without a key. Use it for a quick price check; with a key, get_odds returns every current market with capture age, and get_odds_history the earlier prices. No key and no credits; delayed and capped, 60 requests a minute per address.

Inputs: task, limit, league.

get_sportsbook_eventsSportsbook eventsA
Read-onlyIdempotent

DraftKings Sportsbook events (games) with teams, start time, state and event_id. Use it to find an event_id to pass to get_odds or get_odds_history; it returns no prices. Paginate with cursor. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

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

get_stats_gamesGame resultsA
Read-onlyIdempotent

Game results (teams, final or current score, state) for a sport and season from independent ESPN statistics. Retained samples, not a full-season feed or bet settlement; an empty page says available=false. For per-player lines use get_stats_player_games. Paginate with after. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

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

get_stats_player_gamesPlayer box scoresA
Read-onlyIdempotent

Player game logs (box score lines) for a sport and season from independent ESPN statistics, to check how a player did against a line. Retained samples, not a full-season feed or bet settlement; an empty page says available=false. For team scores use get_stats_games. Paginate with after. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.

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

get_statusCollection status (keyless)A
Read-onlyIdempotent

Measured collection health right now: each collector job, its last run and the age of each dataset. Use it when data looks stale or a user asks whether the feed is up; for which leagues and datasets have rows, use get_coverage. No key and no credits; delayed and capped, 60 requests a minute per address.

Inputs: task.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 23 tools

    Disambiguation4/5

    Most tools map to distinct resource/action pairs, and descriptions explicitly steer between public/keyed and current/history variants such as get_odds, get_odds_history, and get_public_sportsbook. However, the public/keyed pairs and the coverage/status trio could still cause occasional misselection, so it is not perfect.

    Naming Consistency5/5

    All tool names use snake_case with a consistent get_ prefix; there are no mixed conventions. A few names include acronyms or noun-like suffixes such as get_ev and get_compare, but the overall pattern remains predictable.

    Tool Count4/5

    Twenty-three tools is on the high side, but the server spans several data domains: sportsbook, Pick6, DFS, stats, comparison, and utilities. Each tool corresponds to a clear endpoint or workflow, so the count is broad but not gratuitously padded.

    Completeness4/5

    Core read-only coverage is strong: discovery, current/history odds, Pick6 board/history, DFS, stats, comparison, EV/arbitrage, health/coverage, and cost estimation. Minor gaps exist around account/usage management and generic market/league metadata discovery, but there is no major workflow dead end.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    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.
      83 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
      592 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
      573 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.
      21
      1,102 npm
      MIT