# GetOdds

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: getoddsapi
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/getoddsapi/getodds-mcp
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/getodds

## What it 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.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://getoddsapi.com/api/mcp`
- Environment variables: `GETODDS_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI**
```bash
claude mcp add getodds -e GETODDS_API_KEY=<GETODDS_API_KEY> -- npx -y getodds-mcp
```
Replace <…> with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http getodds https://getoddsapi.com/api/mcp
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add getodds --url https://getoddsapi.com/api/mcp
```

2. **Platform CLI**
```bash
codex mcp add getodds --env GETODDS_API_KEY=<GETODDS_API_KEY> -- npx -y getodds-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "getodds": {
            "url": "https://getoddsapi.com/api/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "getodds": {
            "command": "npx",
            "args": [
                "-y",
                "getodds-mcp"
            ],
            "env": {
                "GETODDS_API_KEY": "<GETODDS_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "getodds": {
            "type": "http",
            "url": "https://getoddsapi.com/api/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "getodds": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "getodds-mcp"
            ],
            "env": {
                "GETODDS_API_KEY": "<GETODDS_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http getodds https://getoddsapi.com/api/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e GETODDS_API_KEY=<GETODDS_API_KEY> getodds npx -y getodds-mcp
```
Replace <…> with your own values

## When to use it
- 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
- 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.

## Similar
- [NegativeEV bet checker](https://affpapa.org/en/nevibecode/mcp/negativeev-bet-checker.md) — MCP server · 477 installs
- [betting](https://affpapa.org/en/nevibecode/skills/betting.md) — skill · 1700 installs
- [sports-betting-analyzer](https://affpapa.org/en/nevibecode/skills/sports-betting-analyzer.md) — skill · 862 installs
- [prophetx](https://affpapa.org/en/nevibecode/skills/prophetx.md) — skill · 169 installs
- [SportIQ](https://affpapa.org/en/nevibecode/mcp/sportiq.md) — MCP server · 2384 installs
- [Lumify Sports Intelligence](https://affpapa.org/en/nevibecode/mcp/lumify-sports-intelligence.md) — MCP server · ★ 15 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
