GetOdds
面向 AI agents 的体育赔率:DraftKings、FanDuel 和 BetRivers 的赔率,以及 PrizePicks、Underdog 和 Pick6 的盘口,附带盘口历史记录
托管 MCP 服务器
npx add-mcp 'https://getoddsapi.com/api/mcp'可安装到 Claude Code、Codex、Cursor 等客户端
文档
Sports odds MCP server: getodds-mcp
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.
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.