Skip to main content
Glama
sockodds-mcp

sockodds-mcp

sockodds-mcp

MCP Badge sockodds-mcp MCP server

Ask Claude "what are the odds on X right now" and get Australian bookmakers' prices, the best price and the no-vig fair price, from the SockOdds sports odds API (v1). With a paid key it also finds arbs, +EV prices, middles and steam, shows the closing line and price history, settles results, and covers Australian and New Zealand racing. The free key covers 3 bookmakers and 6 leagues; paid plans add more (pricing).

Version 1.0 speaks SockOdds API v1. Versions 0.x called the older v2 API, which SockOdds is retiring: once it is switched off, 0.x stops working. Update to 1.0: restart your MCP client so npx -y sockodds-mcp fetches it, and if the server still starts as 0.x, point it at sockodds-mcp@latest once. Your key carries over. See Upgrading from 0.x.

A free, open-source MCP server plus a Claude Code skill, built for the "$1M in 365 Days" series. MIT licence.

30-second demo

This transcript uses demo mode (SOCKODDS_DEMO=1), so the prices are invented samples, not real odds.

You: What are the odds on Lions v Crows?

Claude calls find_event with { "query": "Lions v Crows", "league_id": "afl" }:

1. Brisbane Lions v Adelaide Crows (AFL)
   Starts: Sat, 12 Sept 2026, 7:35 pm AEST (09:35 UTC)
   Event ID: ev_kqe6aepys23z

You: Is 1.95 on the Lions a fair price?

Claude calls fair_odds with { "event_id": "ev_kqe6aepys23z", "market": "h2h" }:

No-vig fair odds: Head to head, from 3 bookmakers
  Brisbane Lions: fair 2.03 (49.3% chance)
  Adelaide Crows: fair 1.97 (50.7% chance)
Per bookmaker (margin, then its own no-vig prices):
  Sportsbet: margin 5.3%, 2.03 / 1.97, seen 11 Sept 06:00:12 UTC
  TAB: margin 5.0%, 2.01 / 1.99, seen 11 Sept 06:01:40 UTC
  Unibet: margin 5.3%, 2.05 / 1.95, seen 11 Sept 05:59:03 UTC

Claude: The best Lions price is 1.95 at Unibet (read 05:59 UTC). With the bookmakers' margins taken out, the Lions come out at about 2.03, so 1.95 is a little shorter than the fair price. Odds change, so check the price at the bookmaker. 18+. Nothing here is a tip. Gamble responsibly: Gambling Help Online 1800 858 858.

Related MCP server: mcp-odds-api

Tools

Tool

What it does

list_leagues

Leagues SockOdds carries, with the league keys (afl, nrl, rlwc ...) the other tools take

find_event

Turns "Broncos v Bulldogs" or "AFL grand final" into events with start times and event IDs (ev_...)

get_odds

Each bookmaker's decimal prices for head to head, line and total, each with the time SockOdds saw it

best_price

Best price for one side of one market, plus the field; prices at other lines are left out

fair_odds

No-vig fair price for a two- or three-way market (see the method below); also works by hand with no API call

find_arbs

Current arbitrage, with each bookmaker's price and how to split the stake; Australian bookmakers only unless you ask for all. Pro or the free Pro trial

find_ev

Positive EV prices: a bookmaker price longer than the fair price, with the EV, the fair price and how it was made, and the Kelly stake. Pro

find_middles

Two bets on different lines at two bookmakers that both win if the result lands in the gap. Pro

find_low_holds

The tightest markets: best prices on each side at two bookmakers with almost no margin. Pro

line_moves

Lines that moved in one league in the last minutes to hours, with steam and whether Pinnacle moved. Pro

closing_line

One event's opening and closing prices, the fair closing price and closing line value (CLV), including your own bet's. Pro

odds_history

How an event's prices moved: per bookmaker, the first and latest price, high, low and number of changes. Paid plans

get_results

Graded results from official sources: score, which outcomes won, voids and dead heats

list_races

Upcoming Australian (or New Zealand) thoroughbred, harness and greyhound races, with race IDs. Paid plans, no credits

race_odds

Every bookmaker's win and place prices for each runner, plus Betfair Exchange back and lay. Paid plans

racing_arbs

Bookmaker win prices that beat the Betfair lay, with back and lay stakes and the profit after commission. Pro

racing_movers

Runners firming or drifting most since their price opened. Pro

race_result

Placings with the prices paid, scratchings and tote dividends. Paid plans

race_form

Each runner's recent recorded starts: track, distance, finish, jockey, trainer and starting prices. Paid plans

How fair_odds works

For each bookmaker that prices every outcome at the same line, each price becomes an implied chance (1 / price). Those chances add up to more than 100%; the extra is the bookmaker's margin. Dividing each chance by the total removes the margin (the proportional method). The tool then averages each bookmaker's margin-free chances and turns them back into prices (1 / chance). It also shows each bookmaker's margin and the combined margin of the best prices.

The free plan's books are retail bookmakers, so this is an estimate of the chance, not a prediction. SockOdds API v1 publishes each bookmaker's price exactly as shown, margin included, so the fair price is always worked out here from those prices.

Arbitrage with find_arbs

Ask "any arbs at Aussie bookies right now?" and Claude calls find_arbs. It reads SockOdds' arbitrage list (/v1/opportunities/arbs, recomputed about every four minutes) and, by default, keeps only arbs where every bet is at an Australian bookmaker. Each arb shows the event, the market, each bookmaker's price with the time SockOdds saw it, and how to split your stake so both results pay the same. Set region to all for every bookmaker, or pass league_id, min_profit_pct and stake.

The arbs list is on Pro and Business, and on the free 7-day Pro trial: sign in at your account and choose Start free Pro trial, and your existing key works as Pro for 7 days with no card. Each page of up to 100 arbs costs 10 credits, and one answer reads at most 3 pages. An arb only pays if every bet is accepted at those prices, so check each price at the bookmaker first.

+EV, middles, low holds and steam

find_ev, find_middles and find_low_holds read SockOdds' other derived lists (/v1/opportunities/ev, /middles, /low-holds) the same way find_arbs does: Australian bookmakers only unless you set region, at most 3 pages of 100 entries, 10 credits a page. find_ev names where each fair price came from: a sharp bookmaker's own market with its margin removed, an exchange, or a consensus of other bookmakers. line_moves reads /v1/moves for one league and flags steam (several bookmakers moving the same way) and whether Pinnacle moved with them. +EV is an estimate, not a guarantee, and every price should be checked at the bookmaker first.

After the game: closing_line, odds_history and get_results

closing_line shows each bookmaker's opening and closing price, the fair closing price and the closing line value of each opening price; give outcome_id and odds to get the CLV of your own bet (Pro, 10 credits). odds_history summarises recorded price history (/v1/odds/history) instead of listing every change: for each outcome and bookmaker, the first and latest price, the high, the low and how many changes, over the 24 hours before the start by default (paid plans, charged at 10 times the live price). get_results reads graded results (/v1/results, 1 or 2 credits): the score and which outcomes won.

Racing

Australian and New Zealand thoroughbred, harness and greyhound racing is on every paid plan and the Pro trial (racing docs). list_races gives race IDs such as thoroughbred_2026-11-19_AUS_kestrel_downs_r3 (free); race_odds (about 1 credit per 10 bookmakers), race_form and race_result (1 credit each) take one. racing_arbs and racing_movers are on Pro (10 credits a call). Australian races are the default; pass country for New Zealand or both.

When a key's plan does not cover a tool

A key whose plan does not include a route gets HTTP 403 from SockOdds. The tools turn that into a plain answer: which plans include it, how to start the free 7-day Pro trial, and SockOdds' own words from the error. Only a fresh live answer reports credits; cached and demo answers cost nothing.

Get a free SockOdds key

Get a free SockOdds key. No card needed. Sign-up asks for an Australian or international mobile number and sends a one-time SMS code to confirm it. The key is shown once, so copy it somewhere safe. To try the tools before signing up, set SOCKODDS_DEMO=1: every tool works on invented sample data, no key needed.

The free Developer plan, as stated on the pricing page and in plans and limits:

  • 1,000 credits a month, reset each UTC calendar month. An odds call costs one credit for each market it returns; plans and limits has the full rules.

  • 10 requests a minute

  • Leagues: NFL, NBA, NBL and the English Premier League, plus MLB, AFL and NRL in season. Paid plans cover every league.

  • Every bookmaker SockOdds delivers except bet365.

  • A free 7-day Pro trial (or 1,000 credits, whichever comes first) opens Pro-only tools such as EV, middles, line moves and racing.

To stay inside that, this server caches every response for 60 seconds, never retries a failed request, and after a rate limit error (HTTP 429) refuses further calls until SockOdds' Retry-After time has passed. find_event reads events without prices (one object each) and asks for one league and a date window where it can. get_odds, best_price and fair_odds ask only for the markets they show, and every live answer says how many credits it used.

Install

You need Node.js 20 or newer. The server is on npm as sockodds-mcp, so there is nothing to build.

Claude Code

claude mcp add sockodds --env SOCKODDS_API_KEY=your-key -- npx -y sockodds-mcp

No key yet? Try it on invented sample data first:

claude mcp add sockodds --env SOCKODDS_DEMO=1 -- npx -y sockodds-mcp

To add the skill, which tells Claude when to use the tools and how to quote prices:

mkdir -p ~/.claude/skills/sockodds-odds
curl -fsSL https://raw.githubusercontent.com/jameselle/sockodds-mcp/main/skill/SKILL.md -o ~/.claude/skills/sockodds-odds/SKILL.md

Claude Desktop

Add this to claude_desktop_config.json (Settings, Developer, Edit Config), then restart Claude Desktop:

{
  "mcpServers": {
    "sockodds": {
      "command": "npx",
      "args": ["-y", "sockodds-mcp"],
      "env": {
        "SOCKODDS_API_KEY": "your-key"
      }
    }
  }
}

For demo mode, swap the env block for "SOCKODDS_DEMO": "1".

Other MCP clients

Any client that runs a local (stdio) server: command npx, arguments -y sockodds-mcp, environment SOCKODDS_API_KEY. It is also listed in the official MCP Registry as io.github.jameselle/sockodds-mcp.

From source

git clone https://github.com/jameselle/sockodds-mcp.git
cd sockodds-mcp
npm install
npm run build
claude mcp add sockodds --env SOCKODDS_API_KEY=your-key -- node "$(pwd)/dist/src/index.js"

Settings

Variable

Default

Meaning

SOCKODDS_API_KEY

none

Your SockOdds key. Sent only as an Authorization: Bearer header, never in a URL. Without it the odds tools explain how to get one.

SOCKODDS_DEMO

off

Set to 1 to try the tools with invented sample data and no key. Ignored when a key is set.

SOCKODDS_TIMEZONE

Australia/Sydney

Time zone for start times (UTC is always shown too)

SOCKODDS_BASE_URL

https://api.sockodds.com/v1

API base URL. Leave it unset. An old setting pointing at /v2 will fail once v2 is retired: remove it.

Develop

npm install
npm test

Tests use Node's built-in test runner with a fake fetch. They cover the fair odds maths, best price selection, parsing of the example responses from the SockOdds v1 docs, the v1 paths and query names, every error status, and the MCP tools end to end. No test calls the live API.

docs/API-NOTES.md lists every endpoint and field this server relies on, with links to the SockOdds docs. fixtures/docs/ holds example responses copied from those docs; fixtures/demo/ holds invented data in the same shape for demo mode.

What changed in 1.3.0

Thirteen new tools cover the rest of SockOdds API v1's public routes: find_ev, find_middles, find_low_holds, line_moves, closing_line, odds_history and get_results, and for racing list_races, race_odds, racing_arbs, racing_movers, race_result and race_form. Like find_arbs, they keep to Australian bookmakers (or Australian races) by default, show times in your time zone and UTC, and explain a plan restriction instead of failing. Every one works in demo mode on invented data. The first six tools are unchanged.

What changed in 1.2.0

A sixth tool, find_arbs, lists current arbitrage from SockOdds' derived endpoints, Australian bookmakers only by default. It needs a Pro key or the free Pro trial. The other five tools are unchanged.

What changed in 1.1.0

SockOdds now groups odds by market by default: each market and outcome once, with every bookmaker's price under it. 1.1.0 reads that shape as well as the older one, so the answers are the same as in 1.0.0. The first odds answer reads the bookmaker list once for display names, and its usage line counts those objects.

Upgrading from 0.x

Version 1.0.0 moves from the retired v2 API to SockOdds API v1. What changes for you:

  • Your key carries over. It is now sent as Authorization: Bearer <key> instead of x-api-key.

  • Event IDs are new. v1 IDs look like ev_000ckk0nc1tg. IDs from 0.x (such as afl_2026-09-12_...) are not translated, so run find_event again.

  • League and sport keys are lower case, such as afl, nrl, rlwc, australian_football. find_event and list_leagues still accept plain names such as "AFL" or "Rugby League World Cup".

  • Bookmaker keys follow v1, for example betfair_exchange.

  • best_price takes outcome_id (an oc_... ID that get_odds shows with all_markets) in place of odd_id.

  • find_event no longer shows prices. Under v1 every priced outcome counts as an object, so the search reads events only. Use get_odds or best_price next.

  • No SockOdds consensus or sharp fair price. v1 publishes each bookmaker's price as shown; fair_odds works out the no-vig price from them, as before.

  • Usage counts differently. One object per event, plus one per priced outcome in an odds answer. Each live answer says what it used.

  • Errors follow the v1 problem format, with plain messages for 400, 401, 403, 404, 410, 429 (rate limit or monthly allowance) and 503.

The tool names (list_leagues, find_event, get_odds, best_price, fair_odds) and the settings are unchanged.

Release

package.json (version, mcpName) and server.json (version, packages[0].version) must carry the same version. To release:

npm test
npm publish
mcp-publisher login github
mcp-publisher publish

server.json lists this server in the official MCP Registry as io.github.jameselle/sockodds-mcp, and the registry checks that the npm package's mcpName matches. glama.json names the maintainers of the Glama listing.

Gamble responsibly

18+. Odds change all the time and nothing this tool shows is a tip or advice. If gambling is causing you or someone close to you harm, call Gambling Help Online on 1800 858 858 or visit gamblinghelponline.org.au. You can exclude yourself from Australian online bookmakers at BetStop.

Licence

MIT. See LICENSE.

Available Tools

5 tools
best_priceBest priceA
Read-only

Find the best (highest) decimal price for one side of one market across bookmakers, and show the rest of the field. Only prices open right now count; suspended or expired prices are listed separately. For line and total markets prices are compared at one line only: the line you give, else SockOdds' consensus line. Give market and side, or an exact odd_id from get_odds. Costs one object.

Inputs: event_id (required), line, side, market, +1 more.

fair_oddsNo-vig fair oddsA
Read-only

Work out the no-vig (margin-free) fair price for a two- or three-way market. Method: for each bookmaker that prices every outcome at the same line, convert prices to implied chances (1 / decimal price), divide by their total so they add to 100% (the proportional method), then average those chances across bookmakers and convert back (1 / chance). Also reports each bookmaker's margin and the combined margin of the best prices. Use event_id and market for live prices, or pass prices to calculate by hand with no API call. The result estimates the chance; it is not a prediction or a tip.

Inputs: line, market, prices, event_id.

find_eventFind an eventA
Read-only

Find upcoming events (games) from a plain question such as 'Broncos v Bulldogs', 'AFL grand final' or 'Lions Crows'. Returns matching events with start times (local and UTC), event IDs and the best head to head price per side. Pass league_id whenever you know the league (for example AFL, NRL, NFL, MLB): it keeps the search small, because every event returned counts as one object against the key's monthly allowance. With no team named, it lists the soonest events in the league.

Inputs: query (required), limit, league_id, days_ahead.

get_oddsGet odds for an eventA
Read-only

Get every bookmaker's current decimal prices for one event's main markets: head to head (with the draw where the sport has one), line (handicap) and total points. Each price shows the bookmaker and when it was last seen. Set all_markets to true to include every priced market, such as halves and props. Costs one object.

Inputs: event_id (required), bookmakers, all_markets.

list_leaguesList leaguesA
Read-only

List the leagues SockOdds carries and whether this API key's plan can read each one. The free Developer plan covers MLB, NFL, AFL and NRL. Use it when you are unsure of a leagueID.

Inputs: sport_id.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool targets a distinct stage of the workflow: list_leagues and find_event handle discovery, get_odds retrieves all prices for an event, best_price isolates the top price for one side, and fair_odds computes margin-free prices. The only mild overlap is get_odds vs best_price, both returning prices, but the descriptions clearly separate 'all bookmakers/markets' from 'best price for one side'.

    Naming Consistency3/5

    All names use consistent snake_case, but the convention is mixed: list_leagues, get_odds and find_event are verb_noun, while best_price and fair_odds are adjective_noun rather than verbs. Readable but not a single predictable pattern.

    Tool Count4/5

    Five tools is a tight, well-scoped set for a sports-odds API, covering discovery, retrieval and analysis without redundancy. Slightly lean, but every tool earns its place.

    Completeness4/5

    The surface covers the core lifecycle: find leagues, find events, fetch odds, find best price and derive fair odds. Minor gaps exist (no bookmaker listing, historical odds, or event detail beyond odds), but main betting workflows are workable.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Live and pre-match sports odds from 450+ bookmakers across 34 sports, plus Polymarket and Kalshi. Events, odds, fair prices, value bets, arbitrage, historical closing lines and bet settlement for AI assistants.
      36
      754 npm
      3
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables fetching sportsbook odds, live scores, and event information across 70+ books and 30+ leagues, with tools to list sports, get scores, and discover events.
      80 npm
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to query live sports betting data including odds, edges, arbitrage opportunities, player/team stats, and reference data using the SportWizzard API.
      20
      199 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Props-first sports odds API with a hosted MCP server. Live odds and player props (moneyline, spreads, totals) across US sportsbooks, normalized to JSON. Tools: get_odds, get_props, get_events, get_books. API-key auth, free tier.
      MIT No Attribution