MCP server

Historical Odds MCP Server for Claude, Cursor and ChatGPT

SportsDataHQ's hosted MCP server serves historical sportsbook odds and player prop history as market data across nine sports. Ask Claude, ChatGPT or Cursor for opening and closing lines, hourly line movement and how a player finished against a prop line. 1,000 free credits a month. Nothing to install.

What your agent can do with it

Odds history is a time series. A price is only useful with the moment it was captured, the line it belonged to and what happened afterward. The odds tools return all three, so an agent can answer questions about how a market behaved instead of just quoting a number.

Four kinds of history are available.

All of it is information about the market. The tools do not suggest a wager, work out a stake or payout, or send anyone to a sportsbook, and neither does this page.

The hub has one URL for everything, https://mcp.sportsdatahq.com/mcp, and a route per sport such as https://mcp.sportsdatahq.com/mcp/nba. Each brand also runs its own server at https://mcp.<brand>.com/mcp with a single-sport key and 500 free credits a month.

Connect it to your client

You need a free SportsDataHQ key from app.sportsdatahq.com, with 1,000 credits a month across every sport. Claude and ChatGPT connectors sign you in with OAuth. Command-line and editor clients send the key in an x-api-key header. Connecting and listing tools cost nothing.

Claude Code

claude mcp add --transport http sportsdatahq https://mcp.sportsdatahq.com/mcp --header "x-api-key: YOUR_API_KEY"

The root URL exposes four discovery tools (list_sports, find_tool, describe_tool, run_tool) that reach every sport. To keep odds questions pointed at one sport, add that sport's route instead, for example https://mcp.sportsdatahq.com/mcp/mlb.

Claude.ai and Claude Desktop

Open Customize, then Connectors, choose Add custom connector, name it sportsdatahq and paste https://mcp.sportsdatahq.com/mcp. Sign in the first time a tool runs and press Allow. The local Claude Desktop config file uses the mcp-remote bridge:

{
  "mcpServers": {
    "sportsdatahq": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.sportsdatahq.com/mcp", "--header", "x-api-key:YOUR_API_KEY"]
    }
  }
}

Cursor

{
  "mcpServers": {
    "sportsdatahq": {
      "url": "https://mcp.sportsdatahq.com/mcp",
      "headers": { "x-api-key": "YOUR_API_KEY" }
    }
  }
}

ChatGPT

Add a custom MCP app or connector in developer mode (workspace plans, and an admin may need to enable it), paste https://mcp.sportsdatahq.com/mcp and choose OAuth.

Example questions and the tools they call

QuestionTools calledCredits
What were the opening and closing moneyline, run line and total at each book for one MLB game?get_odds5
How did one NBA game's spread and total move hour by hour before tip-off?get_line_movement10
What was a book's line at 9am on game day compared with the close?get_line_at_time5
How did a starting pitcher finish against his strikeout line in each start last September?search_players, get_prop_history1 + 10
What did the first-inning total look like at each book, opening and closing?get_market_odds10
Show the full alternate run-line ladder for one game at each book.get_alt_lines10
Across all finished games, how often did a kind of prop finish over its median closing line, with the sample size and interval?get_prop_backtest25
How fresh is the odds dataset for each sport?get_data_status1

An agent asked about a past market should pass the sport and game id explicitly and ask for the capture times. A price without a capture time is only a closing price, and the responses say so in a note when the time is unknown.

Where odds tools exist

Tool counts come from tools/list on each route, run on December 6, 2026.

Sport routeTools on routeOdds-related tools
/mcp/nba31get_odds, get_line_movement, get_line_at_time, get_player_props, get_prop_history, get_prop_movement, get_market_odds, get_alt_lines, get_prop_probabilities, get_prop_backtest
/mcp/nfl33the same set plus get_alt_player_props
/mcp/nhl29the same set as basketball
/mcp/mlb26get_odds, get_line_movement, get_line_at_time, get_market_odds, get_alt_lines, get_player_props, get_prop_history, get_prop_movement
/mcp/soccer31get_odds, get_line_movement, get_line_at_time, get_market_odds, get_player_props, get_prop_history, get_prop_movement, get_prop_probabilities, get_prop_backtest
/mcp/mma12get_odds, get_line_movement
/mcp/cricket19get_odds, get_line_movement, get_market_vs_model
/mcp/tennis15get_odds
/mcp/golf16get_winner_odds

Credit costs

CreditsTypical odds tools
1get_data_status
5get_odds (one game), get_line_at_time, get_game_probabilities
10get_odds (a whole day, in most sports), get_line_movement (most sports), get_player_props, get_prop_movement, get_market_odds, get_alt_lines, get_prop_probabilities
10 per 25 gamesget_prop_history, with a 10-credit minimum per call
25get_prop_backtest, and get_line_movement in football and hockey

Prices vary by sport, and describe_tool returns the exact cost before you spend anything. Many tools also take estimate_only, which prices a call without charging for it.

Verified examples you can run now

Export your key as KEY first. Each of these was run against the live API on December 6, 2026 and returned HTTP 200.

One game's lines at each book, opening and closing (5 credits):

curl -s -X POST https://api.sportsdatahq.com/v1/mlb/get_odds \
  -H "x-api-key: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"game_id": "401908046"}'

The result for that game included the median closing moneyline for the home side (+122), the median total (6) and a note that the book's capture time was unknown because the line was loaded after the start.

Hourly line movement for one NBA game (10 credits):

curl -s -X POST https://api.sportsdatahq.com/v1/nba/get_line_movement \
  -H "x-api-key: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"game_id": "401859967"}'

The response groups snapshots by book. One book's home total moved from 216.5 to 215.5 in the last hour before the game, with each capture timestamped.

A pitcher against his strikeout line, start by start (10 credits):

curl -s -X POST https://api.sportsdatahq.com/v1/mlb/get_prop_history \
  -H "x-api-key: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"player_id": "42409", "market": "pitcher_strikeouts", "from_date": "2026-09-01", "to_date": "2026-09-30"}'

It returned five starts, each with the closing line, opening line, prices, the number of books, what he recorded and the result against the line. The summary read 2 overs and 3 unders, an over rate of 0.4, average line 7.9 and average actual 6.6. That describes five past games and says nothing about the next one.

Pricing a call before running it (0 credits):

curl -s -X POST https://api.sportsdatahq.com/v1/mlb/get_prop_history \
  -H "x-api-key: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"player_id": "42409", "market": "pitcher_strikeouts", "from_date": "2026-09-01", "to_date": "2026-09-30", "estimate_only": true}'

Extra-market history for one game (10 credits):

curl -s -X POST https://api.sportsdatahq.com/v1/mlb/get_market_odds \
  -H "x-api-key: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"game_id": "401908046", "market": "totals_1st_1_innings"}'

And the tool list on the hub root, which costs nothing:

curl -s -X POST https://mcp.sportsdatahq.com/mcp \
  -H "x-api-key: $KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

When not to use this

Source and related pages

Per-sport detail is on each sport's page: NBA, NFL, NHL, soccer and MLB, plus the free sports data MCP server overview.

Try it

FAQ

What does the historical odds MCP server return?

Each sportsbook's moneyline, spread and total as opening and closing prices, hourly line movement before the start, alternate ladders, extra markets such as first-half lines, and player prop lines with what the player recorded. Every price is returned as market data with implied and fair probabilities.

Which sports have odds history?

Basketball, football, hockey, baseball, soccer, MMA, tennis, cricket and golf each have odds tools on the hub. Depth varies: football has consensus closing spreads and totals back to 1999, MLB has opening and closing lines from July 2020, and player props start in 2023. Check each sport's get_data_status for exact coverage.

Are the odds live?

No. Odds and props are pre-game only, captured before the start. Each row says when it was captured, and some older closing lines have an unknown capture time, which the response states in a note.

Does it tell me what to bet?

No. The tools return prices, implied probabilities and past results as information about the market. They do not recommend a wager, work out a stake or payout, point to a sportsbook or place anything.

Get a free key

Checked against the live API on 2026-12-06. Questions: hello@sportsdatahq.com.