# GetOdds sports odds MCP server: setup for every client

GetOdds hosted MCP server: odds, player props from 8 books, Pinnacle, Novig, Kalshi and Polymarket tools, line history. Configs for Claude, Cursor, Codex.

Canonical page: https://getoddsapi.com/mcp

## Free API key

Get a free GetOdds API key: **100 requests per UTC day and 60 per minute, no card**. One key covers REST and the hosted MCP server.

Sign up: https://getoddsapi.com/sign-up?ref=ai-claudebot

## Quickstart

1. Create an account at https://getoddsapi.com/sign-up?ref=ai-claudebot, open https://getoddsapi.com/dashboard and issue a key with the sources you need (fanduel, betrivers, prizepicks or underdog). Keep it in a server environment variable named GETODDS_API_KEY.
2. Read current NBA spreads from every book with curl:

```bash
curl --fail-with-body "https://getoddsapi.com/v4/sports/basketball_nba/odds?regions=us,us_ex,eu&markets=spreads&oddsFormat=american" \
  -H "Authorization: Bearer $GETODDS_API_KEY"
```

3. The same request in Python (standard library only):

```python
import json, os, urllib.request

req = urllib.request.Request(
    "https://getoddsapi.com/v4/sports/basketball_nba/odds?regions=us,us_ex,eu&markets=spreads&oddsFormat=american",
    headers={"Authorization": "Bearer " + os.environ["GETODDS_API_KEY"]},
)
with urllib.request.urlopen(req) as res:
    events = json.load(res)
for e in events:
    for b in e["bookmakers"]:
        for o in b["markets"][0]["outcomes"]:
            print(e["away_team"], "at", e["home_team"], b["key"], o["name"], o.get("point"), o["price"], b["last_update"])
```

4. Check each book’s `last_update` before using a price. Full reference: https://getoddsapi.com/docs

## Use with Claude (MCP)

```bash
claude mcp add --transport http getodds https://getoddsapi.com/api/mcp \
  --header "Authorization: Bearer $GETODDS_API_KEY"
```

The MCP tools follow the key's source grants and share its allowance. Setup guide: https://getoddsapi.com/use-with-claude

SDKs: `pip install getodds` (PyPI) · `npm install getoddsapi` (npm) · `npx -y getodds-mcp` (local MCP server) · R: `remotes::install_github("getoddsapi/getodds-r")`. Source: https://github.com/getoddsapi · https://getoddsapi.com/docs/sdks

## Pricing

| Plan | Allowance | Price |
| --- | --- | --- |
| Free key | 100 requests a day, 60 a minute | $0, no card |
| Starter | 100,000 credits a month, 120 a minute | $49 a month |
| Pro | 750,000 credits a month, 300 a minute | $113 a month |
| Business | 3,000,000 credits a month, 600 a minute | $219 a month |
| Scale | 15,000,000 credits a month, 1,200 a minute | $279 a month |

Each plan is priced just under the matching odds-api.io tier (Solo £49, about $65; Starter £99, about $131; Growth £179, about $236; Pro £229, about $302 a month, checked 2026-11-17), and every GetOdds plan reads every source.

Free evaluation allowance: 100 requests per UTC day and 60 per minute per account, with no payment step. Paid plans $49 to $279 a month for 100K to 15M credits, self-serve at /pricing.
Paid plans keep running past their monthly credits: extra credits are billed at $0.1 per 1,000 on Starter, $0.05 per 1,000 on Pro, $0.025 per 1,000 on Business, $0.012 per 1,000 on Scale, invoiced with the subscription, up to a default monthly cap ($10 on Starter, $38 on Pro, $78 on Business, $198 on Scale) that you can change or set to $0 to turn overage off.
Details: https://getoddsapi.com/pricing

## Guide


Canonical: https://getoddsapi.com/mcp
Reviewed: 2026-11-23 UTC

**Answer:** GetOdds (getoddsapi.com) runs a hosted sports odds MCP server at https://getoddsapi.com/api/mcp: connect any Streamable HTTP client with a free GetOdds key in the Authorization header to read FanDuel and BetRivers prices and PrizePicks and Underdog lines.

GetOdds hosted MCP server: odds, player props from 8 books, Pinnacle, Novig, Kalshi and Polymarket tools, line history. Configs for Claude, Cursor, Codex.

| Fact | Value |
| --- | --- |
| Endpoint | https://getoddsapi.com/api/mcp |
| Transport | Streamable HTTP (hosted, nothing to install); local stdio: npx -y getodds-mcp |
| Auth | Bearer GetOdds key; no OAuth. initialize, tools/list and get_sandbox_odds work without a key |
| Price | Free key: 100 requests a day |
| Tools | Follow the key’s source grants |
| Data | Prices and lines, not picks |

## Connect over hosted Streamable HTTP

The GetOdds MCP endpoint is https://getoddsapi.com/api/mcp. Use a client that supports Streamable HTTP and an Authorization bearer header. Create a GetOdds key in the dashboard and select the sources it should access. No local MCP server package is required; one is published on npm as getodds-mcp for clients that prefer a stdio process.

Without a key, initialize and tools/list still answer, so clients and directories can see every tool, and get_sandbox_odds returns delayed sample game lines; any other tool called without a key returns JSON-RPC error -32001 with the sign-up link. This is a stateless tool request-and-response service. It includes bounded replay-page reads but does not open a WebSocket or offer OAuth login. Only GetOdds keys authenticate this endpoint.

- [Get a free API key](https://getoddsapi.com/sign-up): No card needed.
- [Use with Claude](https://getoddsapi.com/use-with-claude): Prompts to try once connected.

## Client configs at a glance (checked 13 November 2026)

Each config keeps the key in an environment variable or a secure prompt. Replace nothing but the variable value; never paste a key into a shared file.

| Client | Where | How the key is supplied |
| --- | --- | --- |
| Claude Code | Terminal | Adds the hosted server to Claude Code. Run it in a shell where GETODDS_API_KEY is set. |
| Claude Code project file | .mcp.json in the project root | Shares the server with your team; Claude Code expands ${GETODDS_API_KEY} from each person’s environment. |
| Claude Desktop | claude_desktop_config.json | Custom header support in Claude’s connector screen is a limited beta, so use the mcp-remote bridge, which forwards the bearer header. Requires Node.js. Keep the key in the env block. |
| Cursor | ~/.cursor/mcp.json or .cursor/mcp.json | Cursor reads the key from your environment with ${env:NAME}. |
| VS Code (GitHub Copilot) | ~/.copilot/mcp-config.json or .mcp.json in the workspace root | Copilot expands ${GETODDS_API_KEY} from your environment. The older .vscode/mcp.json format is deprecated. |
| Windsurf | ~/.codeium/windsurf/mcp_config.json | Windsurf uses serverUrl for remote servers and ${env:NAME} for secrets. |
| OpenAI Codex CLI | ~/.codex/config.toml | Codex reads the bearer token from the named environment variable. |
| Gemini CLI | Terminal (writes ~/.gemini/settings.json) | Adds an HTTP server with the header; your shell fills in the key. |

## Claude Code

Terminal. Adds the hosted server to Claude Code. Run it in a shell where GETODDS_API_KEY is set.

```bash
claude mcp add --transport http getodds https://getoddsapi.com/api/mcp \
  --header "Authorization: Bearer $GETODDS_API_KEY"
```

## Claude Code project file

.mcp.json in the project root. Shares the server with your team; Claude Code expands ${GETODDS_API_KEY} from each person’s environment.

```json
{
  "mcpServers": {
    "getodds": {
      "type": "http",
      "url": "https://getoddsapi.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${GETODDS_API_KEY}"
      }
    }
  }
}
```

## Claude Desktop

claude_desktop_config.json. Custom header support in Claude’s connector screen is a limited beta, so use the mcp-remote bridge, which forwards the bearer header. Requires Node.js. Keep the key in the env block.

```json
{
  "mcpServers": {
    "getodds": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://getoddsapi.com/api/mcp",
        "--header",
        "Authorization:${GETODDS_AUTH}"
      ],
      "env": {
        "GETODDS_AUTH": "Bearer YOUR_GETODDS_API_KEY"
      }
    }
  }
}
```

## Cursor

~/.cursor/mcp.json or .cursor/mcp.json. Cursor reads the key from your environment with ${env:NAME}.

```json
{
  "mcpServers": {
    "getodds": {
      "url": "https://getoddsapi.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${env:GETODDS_API_KEY}"
      }
    }
  }
}
```

## VS Code (GitHub Copilot)

~/.copilot/mcp-config.json or .mcp.json in the workspace root. Copilot expands ${GETODDS_API_KEY} from your environment. The older .vscode/mcp.json format is deprecated.

```json
{
  "mcpServers": {
    "getodds": {
      "type": "http",
      "url": "https://getoddsapi.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${GETODDS_API_KEY}"
      }
    }
  }
}
```

## Windsurf

~/.codeium/windsurf/mcp_config.json. Windsurf uses serverUrl for remote servers and ${env:NAME} for secrets.

```json
{
  "mcpServers": {
    "getodds": {
      "serverUrl": "https://getoddsapi.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${env:GETODDS_API_KEY}"
      }
    }
  }
}
```

## OpenAI Codex CLI

~/.codex/config.toml. Codex reads the bearer token from the named environment variable.

```toml
[mcp_servers.getodds]
url = "https://getoddsapi.com/api/mcp"
bearer_token_env_var = "GETODDS_API_KEY"
```

## Gemini CLI

Terminal (writes ~/.gemini/settings.json). Adds an HTTP server with the header; your shell fills in the key.

```bash
gemini mcp add -t http -H "Authorization: Bearer $GETODDS_API_KEY" getodds https://getoddsapi.com/api/mcp
```

## Local stdio server: npx -y getodds-mcp

The getodds-mcp npm package runs the server on your machine over stdio, for clients that start a local process. get_public_board and get_odds_board work with no key; the other tools read GETODDS_API_KEY from the env block (replace YOUR_GETODDS_API_KEY, or drop the env block for the keyless tools only). It exposes a smaller tool set than the hosted endpoint. Put this block in claude_desktop_config.json or .cursor/mcp.json and keep that file out of version control, or run claude mcp add getodds -e GETODDS_API_KEY=$GETODDS_API_KEY -- npx -y getodds-mcp in Claude Code.

- [getodds-mcp on npm](https://www.npmjs.com/package/getodds-mcp)
- [getodds-mcp source on GitHub](https://github.com/getoddsapi/getodds-mcp)

```json
{
  "mcpServers": {
    "getodds": {
      "command": "npx",
      "args": [
        "-y",
        "getodds-mcp"
      ],
      "env": {
        "GETODDS_API_KEY": "YOUR_GETODDS_API_KEY"
      }
    }
  }
}
```

## ChatGPT and other OAuth-only clients

ChatGPT connectors support OAuth or no authentication and cannot send an API key, and custom headers in Claude’s web connector screen are a limited beta. GetOdds uses bearer keys and does not implement OAuth, so those clients cannot connect directly. Use one of the clients above, or call the REST API from your own server.

## Tools follow your key’s source permissions

Threshold-source keys discover get_markets with their permitted source choices. FanDuel-only keys discover five tools. BetRivers-only keys discover get_betrivers_markets, a native priced-market read rather than player thresholds. Existing keys keep their prior scope; create a new key with additional source access when needed.

| Tool | Data | Scope |
| --- | --- | --- |
| get_betrivers_markets | Native BetRivers US-PA pregame prices; explicit source grant and bookmaker selection required | betrivers |
| get_markets | Partial player thresholds; choose a granted source; no sportsbook prices | prizepicks, underdog, fanduel |
| get_live_events | Recent native in-play observations; no price selection needed | fanduel |
| get_fanduel_markets / get_outrights / get_outright_odds | Native game markets and futures; FanDuel selection required | fanduel |

## Use the same allowance as the HTTP API

Successful data-tool calls record one credit. Accepted initialization, discovery and other metadata calls use request allowance but zero credits. Source or validation failures admitted to a data read record zero credits. Request limits are shared across the customer’s keys, REST requests and MCP calls.

The server rechecks source access and revocation before a data read. A source failure returns a tool error rather than fabricated rows. Rate-limit errors include a status of 429; wait before a bounded retry.

## Keep the source contract visible

PrizePicks data consists of player-stat thresholds, not independent sportsbook prices. Keep source IDs and timestamps. Neither provider’s name implies official affiliation.

Ask the agent to inspect its available tools, make one small read and show the observation timestamps before drawing conclusions. Unmatched events, unavailable history and empty pages should remain explicit. Do not turn a captured line into a prediction or a claimed settled result.

## Questions

### Is there a sports odds MCP server?

Yes. GetOdds (getoddsapi.com) hosts one at https://getoddsapi.com/api/mcp. It works with a free key (100 requests a day) in any client that supports Streamable HTTP with a bearer header.

### Does this require installing an MCP server?

No. A compatible client connects to the hosted HTTP endpoint with your GetOdds bearer key; Claude Desktop uses the mcp-remote bridge, which npx runs for you. If you prefer a local stdio server, npx -y getodds-mcp runs the published npm package.

### Does this work with ChatGPT?

Not directly. ChatGPT connectors accept OAuth or no authentication and cannot send an API key, and GetOdds does not implement OAuth. Use Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Codex CLI or Gemini CLI, or call the REST API from your own server.

### Is this a live odds stream?

No. Streamable HTTP is the MCP transport name. These tools perform bounded reads, including retained replay pages. For continuous delivery use the GetOdds WebSocket, wss://stream.getoddsapi.com/v1/stream, documented at /docs/websocket.

## Sources

- [GetOdds API documentation](https://getoddsapi.com/docs)
- [Source capabilities](https://getoddsapi.com/capabilities.json)
- [getodds-mcp on npm](https://www.npmjs.com/package/getodds-mcp)
- [getodds-mcp source](https://github.com/getoddsapi/getodds-mcp)
- [Claude Code MCP documentation](https://code.claude.com/docs/en/mcp)
- [mcp-remote bridge](https://github.com/geelen/mcp-remote)
- [Cursor MCP documentation](https://cursor.com/docs/context/mcp)
- [VS Code MCP configuration](https://code.visualstudio.com/docs/copilot/reference/mcp-configuration)
- [Codex MCP configuration](https://developers.openai.com/codex/mcp)
- [Gemini CLI MCP servers](https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md)
- [Model Context Protocol specification](https://modelcontextprotocol.io/specification)

GetOdds (getoddsapi.com) is an independent product, not affiliated with the operators named and separate from The Odds API and Odds-API.io. No picks or predicted profits.

---

GetOdds (getoddsapi.com) is an independent developer product and is not affiliated with any sportsbook or pick’em operator. GetOdds is a separate product from The Odds API (the-odds-api.com) and from Odds-API.io (odds-api.io), and is not affiliated with either. Prices describe data, not betting advice.

GetOdds is operated by Stunning Couches LLC, a Delaware limited liability company. Terms: https://getoddsapi.com/terms · Privacy: https://getoddsapi.com/privacy
