Odds-API MCP Server
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ODDS_API_KEY | Yes | Your API key from odds-api.io |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Odds-API.io: live and pre-match odds from 500+ bookmakers across 37 sports.
Call order:
Call get_sports, then get_leagues for sport and league slugs. Never guess slugs.
Find events with get_events (sport + league), search_events (team name) or get_live_events.
Call get_markets for the exact market names (ML, Spread, Totals, ...; never "Match Winner").
get_odds / get_multi_odds with bookmakers AND markets. Always pass markets: without it every market from every bookmaker comes back and responses get very large.
Bookmakers must be in the key's selection: check get_selected_bookmakers.
For same game parlays: list_sgp_bookmakers -> get_sgp_legs -> quote_sgp. Pass legId values from get_sgp_legs that are eligible at every bookmaker you quote, never two sides of one line; each bookmaker answers on its own, so read every status and nextAction.
Keep responses small: use markets, fields and maxResults/limit arguments. get_odds_summary gives best/average/fair prices per line in one compact response. Errors: a 403 means the plan or add-on does not include the endpoint; tell the user the message (it names what to enable) and do not retry. A 429 means the hourly limit is spent until the reset time it gives; do not retry before then. get_usage shows the remaining requests. Scores: periods use keys p1..pN, ft, ot, ap. The older keys period1, overtime, penalties and fulltime stop on 12 November 2026. When quoting a price, name the bookmaker and when it was updated. Prices are not predictions.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_sportsA | List every sport with its name and slug. Call this first: other tools take the slug (e.g. 'football', 'american-football'). No plan needed. |
| get_marketsA | List the exact market names served per sport, with shape (moneyline, line, outcomes, yesno, labelled), period, and whether each is served prematch and live. Call it before passing markets to any odds tool; names must match in full, e.g. 'ML' not 'Match Winner', 'Totals' not 'Over/Under'. Omitting sport returns every sport (large). |
| get_bookmakersA | List all bookmakers with name, active, createdAt, status (ok, degraded, down) and reason (maintenance, unavailable, or null). Use status/reason to explain why a bookmaker has no odds: a 'down' bookmaker is left out of odds, value bets and arbitrage until it recovers. |
| get_selected_bookmakersA | Show the bookmakers selected on this API key. Odds tools only return bookmakers in this selection; the plan sets how many can be selected. |
| select_bookmakersA | Add bookmakers to this API key's selection (changes account state). Only call when the user asks to change their bookmakers; the plan caps how many can be selected. |
| clear_selected_bookmakersA | Remove every bookmaker from this API key's selection (destructive). Allowed once every 12 hours, so only call it when the user explicitly asks. |
| get_leaguesA | List leagues for a sport with name, slug and active event count. Call get_sports first for the sport slug; use the league slug in get_events and other tools. |
| get_eventsA | List events for a sport (default window: the next 14 days, max 5000 per response). Call get_sports and get_leagues first for slugs. Returns id, home, away, homeId, awayId, date, status, sport, league and scores; use the id with get_odds. Use fields (e.g. 'id,home,away,date') and limit to keep the list short. Score periods use keys p1..pN, ft, ot and ap (older keys period1, overtime, penalties, fulltime stop on 12 November 2026). |
| get_eventA | Get one event by ID, including scores and, when live, the match clock. Score periods use keys p1..pN, ft, ot and ap (older keys period1, overtime, penalties, fulltime stop on 12 November 2026). |
| get_live_eventsA | List events in play now with scores and the match clock, optionally for one sport. Pass sport and fields to keep the response small. |
| search_eventsA | Find events by team or league name (case- and accent-insensitive, min 3 characters). Returns up to 10 results ranked by relevance. The quickest way from a team name to an event id. |
| get_oddsA | Get odds for one event from the named bookmakers, grouped by bookmaker then market, with bet links. Always pass markets (e.g. 'ML,Spread,Totals'): without it every market from every bookmaker comes back, which can be very large. Get the event id from get_events or search_events and market names from get_markets. For best/average prices across all books, get_odds_summary is more compact. |
| get_multi_oddsA | Get odds for up to 10 events in one request (counts as one request). Always pass markets to keep the response small. Same shape as get_odds, as an array. |
| get_odds_summaryA | Best, average, median, worst and margin-free fair price per market line across bookmakers, with which bookmakers have the best price. The compact way to answer 'where is the best price' or 'what is the fair price'. Pass one eventId, or up to 10 comma-separated ids (one request). Growth plan and above; lower plans get a sample response marked demo: true, which is not real data, so tell the user. |
| get_odds_movementsA | Opening price, latest price and every recorded change for one market of one event at one bookmaker (prematch only, timestamps in Unix ms). Leave marketLine out for the main line. A 404 says what is missing and lists the markets or lines that do have history; use those. |
| get_updated_oddsA | Odds that changed since a Unix timestamp (at most 90 seconds old) for one bookmaker and sport, limited to the markets you name. A delta: only changed markets are returned. For polling code, not for one-off questions (use get_odds instead). |
| get_value_betsA | Prices at one bookmaker that sit above a fair-odds estimate from market consensus, with expectedValue, betSide, the bookmaker's odds and bet link. Prematch, refreshed every few seconds. Filter by sport and league and use maxResults to keep the list short. expectedValue is bookmaker/fair x 100; edge % = expectedValue - 100 (103.42 is a 3.42% edge, below 100 is a negative edge). Never multiply it by 100. Expected value is an estimate, not a guaranteed outcome. |
| get_arbitrage_betsA | Price gaps across the named bookmakers where the best price for every outcome implies a total probability under 100%. Prematch only, sorted by profitMargin (already a percentage after exchange fees: 2.48 means 2.48%, do not multiply by 100), with stake split (optimalStakes), stake limits (maxStake) and bet links. Prices move fast and bookmakers can void or limit bets, so present results as calculated margins at the quoted prices, never as guaranteed. |
| get_dropping_oddsA | Odds that dropped the most from opening at sharp bookmakers, with drop percentages since opening and over 12h, 24h and 48h. Refreshed every few seconds. Paid plans. For player prop markets, market.label holds the player name. Always pass sport when the user mentions or implies one: without it results are dominated by player props. |
| get_historical_eventsA | Finished events for one sport and league in a date range (max 31 days; data from December 2025). Use the ids with get_historical_odds. To find a past match by team name use search_historical_events instead. Score periods use keys p1..pN, ft, ot and ap (older keys period1, overtime, penalties, fulltime stop on 12 November 2026). |
| search_historical_eventsA | Find finished events by team name across all leagues, optionally for one sport. Date span max 31 days (default: the last 31 days). Returns up to 100 events, newest first. Use the ids with get_historical_odds. |
| get_historical_oddsA | Closing odds and the final score for one finished event, same shape as get_odds. Get the id from get_historical_events or search_historical_events. Pass markets to keep the response small. |
| get_closing_linesA | Closing odds for every settled event across up to 10 leagues in one request, for closing line value (CLV) and model backtests. Date range up to 366 days, so a season fits in one sweep; at most 100 events per response, page with limit and skip. Paid plans. Each event is shaped like get_historical_odds. |
| get_settlementsA | What happened in up to 50 events: status (pending, live, awaiting_result, settled, cancelled), final score by period and a final flag (true = stop polling). Unknown ids are listed in notFound. Paid plans. Score periods use keys p1..pN, ft, ot and ap (older keys period1, overtime, penalties, fulltime stop on 12 November 2026). |
| grade_betsA | Settle up to 50 bets: each is graded won, lost, void, half_won, half_lost, pending or ungradeable, with a reason, a final flag and the score it used. Describe each bet with the fields of an odds row from get_odds (market name as served, side, hdp, label). Football settles on 90 minutes. Re-send non-final selections at most once a minute. Read-only: it does not place or change anything. Paid plans. |
| list_sgp_bookmakersA | List the bookmakers that quote same game parlays right now (the list grows; never assume a fixed set): name, sports, maxLegs, jurisdiction (the region the price applies to) and status (live, paused or degraded). Prefer bookmakers whose status is live; degraded means the status could not be checked and quotes may still work; paused means quotes are temporarily unavailable. Call this first, then get_sgp_legs. Included in all paid plans. |
| get_sgp_legsA | List the legs of one pre-match event that can go into a same game parlay. Each leg has a copy-pasteable legId, market, hdp, label, side and, per bookmaker, eligible (can be combined there), price and updatedAt. Pass the legId values to quote_sgp; never build a legId by hand. The response also has bookmakers: one entry per requested bookmaker, in request order, with status ok, leg_unavailable, unsupported or temporarily_unavailable. When it is not ok, every leg reads eligible false at that bookmaker and nextAction says what to do: retry_later (call get_sgp_legs again after retryAfter seconds) or choose_other_bookmaker; leave that bookmaker out of quote_sgp. Pick legs that are eligible at every bookmaker you will quote, and never two sides of one line (for example ML home and ML away, or over and under the same total): the API rejects that with a 400. Page with limit (default 200, max 1000) and skip while hasMore is true. Use markets to keep the response small. Included in all paid plans. |
| quote_sgpA | Prices one same game parlay (2-10 legs from one pre-match event) at each requested bookmaker, using the bookmaker's own parlay price. Call get_sgp_legs first and pass its legId values; do not invent legs. Each bookmaker returns a status: ok (price, legsMultiplied, priceAdjustmentPct, links), not_combinable, leg_unavailable, suspended, unsupported, timeout or temporarily_unavailable, plus retryable, nextAction and reason. Branch on status and nextAction: change_legs (the legs do not combine there, replace one), remove_leg (drop the legs in legIds, or the slip exceeds that bookmaker's maxLegs), refresh_legs (call get_sgp_legs again, the line may have moved), retry, retry_later (wait retryAfter seconds when set) or choose_other_bookmaker. reason is a readable sentence to show the user; its wording can change, so never branch on it (on ok the only reason is redundant_leg, with the ignored legs in legIds). Never retry a result whose retryable is false. One bookmaker failing does not fail the request. A quote can take up to 8 seconds; at most 2 run at once per account. Read-only: it does not place bets. Included in all paid plans. |
| list_outrightsA | List outright (futures) tournaments for a sport, sorted by date: id, name, date, status, league and bookmakerCount (0 = not priced yet). Golf only today: PGA Tour, DP World Tour, LIV Golf and the majors. Call this first, then get_outright_odds with the id. Needs the Outrights add-on: a 403 means the key does not have it, so tell the user the message (it links to where to add it) and do not retry. |
| get_outright_oddsA | Prices for one outright tournament from the named bookmakers. Golf markets: Winner, Top 5, Top 10, Top 20 (boundary ties under dead-heat rules), Top 5 (Incl. Ties), Top 10 (Incl. Ties), Top 20 (Incl. Ties) (ties paid in full) and Make Cut (only events with a cut). Runners carry label, participantId and odds (+ layOdds on exchanges), or yes/no for Make Cut, sorted shortest price first. A full field is large: pass markets and maxRunners. Needs the Outrights add-on: a 403 means the key does not have it, so tell the user the message and do not retry. |
| get_outright_resultsA | Final results for one outright tournament: each golfer's position (shared when tied, null when cut, withdrawn or disqualified), madeCut and status, plus winners per market (Winner, Top N, Top N (Incl. Ties), Make Cut). Empty until the tournament is settled. Dead-heat and each-way terms are the bookmaker's rules. Needs the Outrights add-on (403 without it: tell the user, do not retry). |
| get_participantsA | Teams or players for a sport, optionally filtered by name. Returns id and name (esports also game and shortCode). Use the id as participantId in get_events. |
| get_participantA | Get one team or player by ID. |
| get_mappingsA | Map our events and selections to a bookmaker's own event, market and outcome ids (for example Polymarket conditionId and token id, or Kalshi tickers), joinable to get_odds on (eventId, market, hdp, side). Look up by eventId(s), marketId(s) or outcomeId; with none of these it is a bulk sync of upcoming and live events, paged with cursor until nextCursor is null. Paid plans; the bookmaker must be in the key's selection. |
| get_usageA | Hourly request limit, requests remaining and reset time for this API key, read from the rate-limit headers of the latest API call in this session. If no call has been made yet it calls get_sports once, which counts as one request. Use it to plan bulk work or to explain a 429. |
| get_documentationA | Fetch the complete Odds-API.io documentation as plain text (large). Use it for questions the tool descriptions do not answer, such as WebSocket details or market rules. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| compare_odds | Find a match and compare prices across bookmakers |
| settle_bets | Grade a list of bets against final results |
| golf_outrights | Show golf tournament odds for a market |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Agent guide | Call order, caching, quotas and error handling for this server |
| Odds-API.io Documentation | Complete API documentation for Odds-API.io |
| OpenAPI Specification | OpenAPI specification for Odds-API.io |
TDQS
Scored across 36 tools
Most tools target distinct resource/action pairs, and the descriptions explicitly route between lookalikes such as get_events/search_events/get_live_events and get_odds/get_multi_odds/get_odds_summary. There is still mild overlap among the many event and odds retrieval variants, but they are generally distinguishable with the provided guidance.
All tool names use snake_case with a predictable verb-first pattern: get_, list_, search_, select_, clear_, grade_, and quote_. Even the many variants such as get_historical_events, search_historical_events, get_outright_odds, and get_odds_summary remain consistent and readable.
With 36 tools, the surface is heavy for an agent-facing toolset and exceeds the typical 3-15 range; some retrieval variants could be consolidated. However, the breadth maps to real API domains such as live odds, historical data, same-game parlays, outrights, settlements, and account management, so it is not arbitrary bloat.
The surface covers discovery, live and prematch odds, historical odds, closing lines, same-game parlays, outrights, settlements, grading, value bets, arbitrage, mappings, account selection, usage, and documentation. No major lifecycle gap is apparent for a read-only odds API; bet placement is intentionally excluded.