Skip to main content
Glama
getodds-mcp

getodds-mcp

Official

Sports odds MCP server: getodds-mcp

mcptry

A sports betting odds MCP server for Claude, Cursor, VS Code and any MCP client. Ask an AI agent for current sportsbook odds or pick'em lines; it answers from captured data through getoddsapi.com, with timestamps.

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

Also for getoddsapi.com: Python: pip install getodds | JavaScript: npm install getoddsapi

MCP server (stdio) for the GetOdds sports odds API. It gives Claude, Cursor, VS Code and any MCP client tools for DraftKings, FanDuel and BetRivers sportsbook prices and PrizePicks, Underdog and DraftKings Pick6 pick'em lines, with the capture time on every row.

Two tools work with no account at all. The rest need a free key (1,000 requests a UTC day, 60 a minute, no card) from https://getoddsapi.com/sign-up?utm_source=github&utm_medium=readme&utm_campaign=getodds-mcp.

Install

Claude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json) and most clients:

{
  "mcpServers": {
    "getodds": {
      "command": "npx",
      "args": ["-y", "getodds-mcp"],
      "env": { "GETODDS_API_KEY": "your key, or leave this out for the keyless tools" }
    }
  }
}

Claude Code:

claude mcp add getodds -e GETODDS_API_KEY=$GETODDS_API_KEY -- npx -y getodds-mcp

VS Code (.vscode/mcp.json):

{ "servers": { "getodds": { "type": "stdio", "command": "npx", "args": ["-y", "getodds-mcp"],
  "env": { "GETODDS_API_KEY": "${input:getodds-key}" } } },
  "inputs": [{ "id": "getodds-key", "type": "promptString", "password": true, "description": "GetOdds API key" }] }

Prefer no local process? The same data is on the hosted server https://getoddsapi.com/api/mcp (streamable HTTP, Authorization: Bearer <key>). Configs for eight clients: https://getoddsapi.com/mcp.

Related MCP server: propzapi

Tools

Tool

Key

What it returns

get_public_board

none

DraftKings moneyline, spread, total for nfl, nba, nhl, college-football or soccer-odds-api (cached up to 5 min)

get_odds_board

none

Next DraftKings Sportsbook (NJ) prices across leagues

get_sandbox_odds

none

Real stored DraftKings game lines for one sport (sport required), cached up to five minutes, 50 rows, 10 a minute per IP

create_free_key

none

Free key for the user's own email (rolling out: until POST /api/v1/agent/signup is live it links the sign-up page)

get_odds

free key

Stored DraftKings (via ESPN) odds by league, market, event; fresh_only on by default

search_events

free key

Team-name search returning event ids

get_line_history

free key

Retained price changes for an event or offer

get_pickem_lines

free key + source

PrizePicks, Underdog, Pick6 (draftkings) or FanDuel thresholds

get_fanduel_markets

free key + fanduel

FanDuel native game markets

A successful keyed call uses one credit; failed calls use none. Errors come back as tool errors with the API's own next step (for example the daily limit and its Retry-After).

Example

Real output from get_public_board with {"sport": "nfl"} on 15 Nov 2026 (rows trimmed):

nfl board available DraftKings via ESPN 2026-11-15T05:50:02.275Z rows 24
  Miami Dolphins @ Indianapolis Colts moneyline away null 180 2026-11-15T05:37:38.309Z
  Miami Dolphins @ Indianapolis Colts moneyline home null -218 2026-11-15T05:37:38.309Z
  Miami Dolphins @ Indianapolis Colts spread away 4.5 -112 2026-11-15T05:37:38.309Z

Prompts that work: "What are tonight's NBA moneylines on DraftKings, and when were they captured?", "Show Underdog's lines for the next NFL game", "Has the Lions spread moved today?" (needs a key).

Develop

npm install
npm test          # offline: mocked fetch plus an in-memory MCP client
node server.mjs   # stdio

server.json is the MCP Registry entry (com.getoddsapi/getodds).

GetOdds is an independent developer product, not affiliated with any sportsbook. Operated by Stunning Couches LLC. MIT licensed.

Gemini CLI

gemini extensions install https://github.com/getoddsapi/getodds-mcp

Available Tools

9 tools
create_free_keyCreate a free GetOdds key by emailA
Idempotent
Inspect

Create a free-tier GetOdds key (1,000 requests a UTC day, 60 a minute, no card) for the user's own email address. Only call it when the user asked for a key and gave their email; one key per email, and disposable domains are refused. The key is returned once and no email is sent: tell the user to store it as GETODDS_API_KEY and restart the server. Calling again with the same email does not create a second key.

Inputs: email (required), use_case, agent_name.

get_fanduel_marketsFanDuel native game marketsA
Read-onlyIdempotent
Inspect

Stored FanDuel Sportsbook markets with their selections and prices, in FanDuel's own ids and names, with the time each was seen. Use it for FanDuel prices specifically; get_odds covers DraftKings. Statuses and null prices are kept as FanDuel showed them, and rows are not matched to other books. Pages are ordered by market id: pass the last market_id as after for the next page. Needs GETODDS_API_KEY with FanDuel selected as a bookmaker in the dashboard; one request per page.

Inputs: after, limit, league, status, +1 more.

get_line_historyRetained price changes for an event or offerA
Read-onlyIdempotent
Inspect

Every retained DraftKings (via ESPN) price change for one event or one offer, newest first, each with its capture time. Use it for "how has this line moved"; pass event_id or offer_id (one is required) from search_events or get_odds. Captured changes only, not a complete tick tape: gaps are not reconstructed. Needs GETODDS_API_KEY.

Inputs: limit, market, event_id, offer_id.

get_oddsStored sportsbook oddsA
Read-onlyIdempotent
Inspect

Stored DraftKings (via ESPN) game odds by league, market or event: one row per side with line, American and decimal price and capture time. Use it for current game prices with filters and paging; use get_line_history for how a price moved and search_events to find an event_id. Needs GETODDS_API_KEY; one request per successful call.

Inputs: limit, sport, market, offset, +2 more.

get_odds_boardMixed upcoming-games odds board (no key)A
Read-onlyIdempotent
Inspect

The next DraftKings Sportsbook (New Jersey) prices across all leagues, soonest first: event, league, start time, market, selection, line, American odds and received_at. Use it for "what games are coming up and at what price" with no key; for one sport use get_public_board. No API key, no credits; takes no arguments.

Inputs: no named parameters.

get_pickem_linesPick'em player linesA
Read-onlyIdempotent
Inspect

Player prop thresholds (player, stat, line) from one pick'em source: PrizePicks, Underdog, DraftKings Pick6 (source=draftkings) or FanDuel. Lines only: pick'em boards carry no per-line odds, so use get_odds for sportsbook prices. A sample, not a complete board. Needs GETODDS_API_KEY with that source granted (free keys have every source).

Inputs: limit, source.

get_public_boardPublic odds board for one sport (no key)A
Read-onlyIdempotent
Inspect

DraftKings moneyline, spread and total prices (read through ESPN odds data) for one sport, each row with observed_at. Use it for a keyless price check on one sport; get_odds_board mixes the next games across leagues, and get_odds (keyed) adds filters and paging. No API key, no credits; cached up to five minutes, so check observed_at before calling a price current.

Inputs: sport (required).

get_sandbox_oddsKeyless sandbox odds (no key)A
Read-onlyIdempotent
Inspect

Real stored DraftKings (via ESPN) moneyline, spread and total rows for one sport, from a cache up to five minutes old, at most 50 rows, in the same row shape as the keyed get_odds. Use it to try the API response before the user has a key. No key; 10 requests a minute and 100 a day per network address.

Inputs: sport (required).

search_eventsSearch events by team nameA
Read-onlyIdempotent
Inspect

Find games by team name: literal, case-insensitive substring match over home and away names in retained events, which can include past games. Returns event ids, teams and start times to pass to get_odds or get_line_history; it returns no prices. Needs GETODDS_API_KEY.

Inputs: q (required), limit, sport.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 9 tools

    Disambiguation3/5

    The four price-reading tools overlap: get_public_board and get_sandbox_odds both return keyless, one-sport DraftKings moneyline/spread/total rows from the same ESPN cache, so an agent could easily select either. Descriptions do distinguish get_odds_board (all leagues, no args) from get_odds (keyed, filters/paging), and search_events, get_line_history, get_pickem_lines, and get_fanduel_markets are distinct, but the keyless single-sport boundary remains fuzzy.

    Naming Consistency5/5

    All tools use consistent snake_case with a leading action verb (get_, create_, search_) followed by a noun phrase. There is no mixed casing or vague naming, so the convention is predictable across the set.

    Tool Count5/5

    Nine tools is well-scoped for a sports odds server. Each tool has a clear role: keyless reads, keyed reads, search, history, props, FanDuel markets, and key creation, with no obvious filler.

    Completeness4/5

    The surface covers keyless boards, keyed odds, event search, line history, pick'em props, FanDuel markets, and free-key creation, so core workflows are present. Minor gaps include no tool to enumerate supported sports/leagues/sources and no dedicated market or offer listing beyond search_events.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Live sports betting player props MCP server covering NBA, MLB, NFL, NHL, NCAA, and soccer. Unified from real sportsbooks into one REST API and a real MCP server (Streamable HTTP). Free tier, no card required.
      5
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Props-first sports odds API with a hosted MCP server. Live odds and player props (moneyline, spreads, totals) across US sportsbooks, normalized to JSON. Tools: get_odds, get_props, get_events, get_books. API-key auth, free tier.
      MIT No Attribution
    • A
      license
      B
      quality
      B
      maintenance
      Enables MCP clients to access live sports betting market data, including markets and order books, player props, line history, fair prices, closing-line value, +EV and arbitrage comparisons, and devig calculations.
      37
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI clients to access Underdog Fantasy pick'em lines, Higher/Lower multipliers, line moves, historical boards, graded results, and hit rates through MCP tools, with keyless demos and credit-aware responses.
      14
      394 npm
      MIT