GetOdds — Claude Code MCP server: odds and setup
The GetOdds MCP server for Claude Code gives an agent access to sportsbook prices and pick’em lines. Ask for DraftKings, FanDuel or BetRivers odds, or lines from PrizePicks, Underdog and Pick6.
MIT updated 2026-11-16
claude mcp add getodds -e GETODDS_API_KEY=<GETODDS_API_KEY> -- npx -y getodds-mcpWhat GetOdds does
GetOdds exposes tools for viewing sports prices, finding events and checking how a line changed. Results include when the data was captured. Sources include DraftKings, FanDuel, BetRivers, PrizePicks, Underdog and Pick6.
Four tools work without a key; the others require a free GetOdds API key in GETODDS_API_KEY. Pick’em line requests also need a source. Each successful keyed call uses one credit. Run the server locally with npx -y getodds-mcp, or connect to the hosted MCP endpoint over HTTP; local use still requires access to the GetOdds API.
What it helps with
- retrieve DraftKings prices for a league
- find an event by team name
- check an event’s line history
- view pick’em lines from different sources
Example prompts for the agent
- Show NBA prices from DraftKings and when the data was captured.
- Find the event with the Lions and show how its spread changed.
- Get Underdog lines for the next NFL game.
How to install GetOdds
1Platform CLI
claude mcp add getodds -e GETODDS_API_KEY=<GETODDS_API_KEY> -- npx -y getodds-mcpReplace <…> with your own values
2Platform CLI: remote server
claude mcp add --transport http getodds https://getoddsapi.com/api/mcp1Platform CLI: remote server
codex mcp add getodds --url https://getoddsapi.com/api/mcp2Platform CLI
codex mcp add getodds --env GETODDS_API_KEY=<GETODDS_API_KEY> -- npx -y getodds-mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"getodds": {
"url": "https://getoddsapi.com/api/mcp"
}
}
}{
"mcpServers": {
"getodds": {
"command": "npx",
"args": [
"-y",
"getodds-mcp"
],
"env": {
"GETODDS_API_KEY": "<GETODDS_API_KEY>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"getodds": {
"type": "http",
"url": "https://getoddsapi.com/api/mcp"
}
}
}{
"servers": {
"getodds": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"getodds-mcp"
],
"env": {
"GETODDS_API_KEY": "<GETODDS_API_KEY>"
}
}
}
}Replace <…> with your own values
1Platform CLI: remote server
gemini mcp add -t http getodds https://getoddsapi.com/api/mcp2Platform CLI
gemini mcp add -e GETODDS_API_KEY=<GETODDS_API_KEY> getodds npx -y getodds-mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about GetOdds
How do I install GetOdds in Claude Code?
Run claude mcp add getodds -e GETODDS_API_KEY=<GETODDS_API_KEY> -- npx -y getodds-mcp. HTTP setup is a separate installation method.
What does GetOdds do?
It gives an agent tools to retrieve sports prices and pick’em lines, search events, and inspect price history. Results include capture times.
What does GetOdds need to work?
Most tools require a free GetOdds API key set as GETODDS_API_KEY; four tools work without one. The server needs access to the GetOdds API.