Skip to main content
Glama
OddsRelay

OddsRelay

Official

oddsrelay-mcp

An MCP server that gives an AI assistant read access to OddsRelay: each bookmaker's own prices (the raw board) and historical odds for the UK & Ireland and every other region OddsRelay serves, in-play prices included, the UK & Ireland matched boards, the prices for one event, and the sport, event, bookmaker, region and coverage lists behind them. It is read-only, and every call that spends tokens is priced first and refused above a per-call cap (max_tokens). The assistant is told to ask you before raising it.

It works with Claude Desktop, Claude Code, Cursor and any other client that starts MCP servers over stdio, and it is built on the oddsrelay TypeScript client.

API docs: https://oddsrelay.io/docs

Get a key

Sign up at app.oddsrelay.io/signup and copy your key from the dashboard. Free gives you 50,000 tokens for 14 days from sign-up, with no card, then no tokens until you choose a plan, on the same key. Plans and token prices. Paid plans are for personal use. Any business, even one using the data only in-house, and any product that serves other people runs on Enterprise; a business can try the data on Free first.

Related MCP server: polymarket-mcp

Set up

You need an OddsRelay API key (Get a key, above). The server reads the key from ODDSRELAY_KEY. The bundle and the Gemini CLI extension set it for you; the other routes set it in your MCP client's config and need Node 18 or later.

Claude Desktop (one-click bundle)

Download oddsrelay-mcp.mcpb from the latest release and double-click it to install it in Claude Desktop, which asks for one setting: your API key. The setting is marked sensitive, so Claude Desktop masks it, and it passes the key to the server as ODDSRELAY_KEY. The bundle carries everything the server needs and runs on the Node built into Claude Desktop, so you need no Node of your own.

Claude Code

claude mcp add --transport stdio oddsrelay --env ODDSRELAY_KEY=your_key_here -- npx -y oddsrelay-mcp

Claude Desktop (config file)

Settings, Developer, Edit Config opens claude_desktop_config.json. Add the server, then restart Claude Desktop:

{
  "mcpServers": {
    "oddsrelay": {
      "command": "npx",
      "args": ["-y", "oddsrelay-mcp"],
      "env": { "ODDSRELAY_KEY": "your_key_here" }
    }
  }
}

Cursor

Add the same mcpServers block to ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project).

The key sits in that config file as plain text, so keep the file out of anything you commit.

Gemini CLI

gemini extensions install https://github.com/oddsrelay/oddsrelay-mcp

Gemini CLI installs the extension from the latest release, then asks for your API key, keeps it in your system keychain and passes it to the server as ODDSRELAY_KEY. The extension also loads the Agent Skill below.

First questions

Ask your assistant:

Using OddsRelay, which bookmakers carry tennis on the standard board?

That calls coverage, which costs no tokens. Then:

Show the OddsRelay standard board for soccer at Ladbrokes and William Hill, first five events.

The assistant finds the bookmaker keys with bookmakers, then calls odds, which is priced before it runs.

For a region outside the UK & Ireland, ask for raw prices:

Using OddsRelay, show the raw basketball prices in the US region, first five events, h2h only.

The assistant finds the region code with regions, then calls raw_odds, priced first in the same way. And for historical odds:

Using OddsRelay, show yesterday's closing prices for soccer in the US region, first five events.

That calls history.

Agent Skill

skills/oddsrelay/SKILL.md is an Agent Skill for assistants that load skills (Claude Code, Claude.ai and other skill-aware clients): when to reach for OddsRelay, how to quote a call before it spends tokens, and how to read the boards. It works with this server or with plain HTTPS.

Tools

Tool

What it reads

Regions

Tokens

sports

Sport and competition keys, paged

every region

none

events

The events of one sport, with their ids, paged

every region

none

bookmakers

The bookmaker and exchange keys of one region

every region

none

regions

The region codes your key reads

none

coverage

Which bookmakers carry which sports on one product, and the product's market keys

raw in every region; the matched products in the UK & Ireland

none

odds

A matched board (standard, 2up, dutching, each-way, extra-place or bog) for one sport at the bookmakers you name

UK & Ireland only

priced first, capped

raw_odds

The raw board for one sport: each bookmaker's own prices, in play too with in_play, paged

every region; several international codes in one call

priced first, capped

event_odds

One event's prices at each bookmaker and exchange carrying it, narrowed to the bookmakers and markets you name

every region

priced first, capped

history

Historical odds for one sport: the raw board as it stood at a time you name (snapshot), or a day's opening and closing prices (closing), paged

every region

priced first, capped

usage

Your plan, token balance, reset time, key scope and regions

none

Regions

regions lists the codes your key reads: uk is the UK & Ireland, and every other code is an international region. Each tool takes one region code a call. raw_odds alone also takes several international codes joined by commas (us,global), read as one board and priced as their sum; uk is always asked alone. Leave region out and the API uses uk, or refuses with region_required and names the code to send.

The matched boards (odds) and exchange prices are for the UK & Ireland only: in any other region odds is refused with product_not_in_region, and raw_odds, event_odds and history are the tools to use.

history reads the UK & Ireland from 17 October 2026, with exchange prices beside the bookmakers' (bookmakers_only leaves them out), and each other region, bookmakers only, from 16 November 2026. A date before a region's first day is refused with date_out_of_range and the earliest date it holds. A day is added the night after it ends, so today's prices come from raw_odds. The server does not wrap one event's price changes or the bulk history files: the docs cover those.

The token cap

odds, raw_odds, event_odds and history take a max_tokens argument with a small default. Before each call the server asks the API what the call would cost (a quote, which spends nothing). If it would cost more than max_tokens, the server makes no call, spends nothing and tells the assistant the price, so the assistant can narrow the filters or ask you before it tries again with a higher max_tokens.

odds always takes one sport and the bookmakers you name, and raw_odds and history one sport, so each call stays narrow. On odds and event_odds the cost is set by the filters you send; cutting the reply to limit rows does not change it. raw_odds and history are paged: each call asks the API for limit events and each page is priced, and a page too long to show whole is priced again when the assistant goes on from it, so name the markets and bookmakers you want. Every reply from these four tools carries tokens: what the call cost and what is left.

All four only read, but their MCP annotations mark them as calls with a cost rather than read-only, so a client that asks before such calls will ask you each time. event_odds reads the raw board, so it needs a key that can read raw odds.

Replies

Replies are compact JSON. Long lists are cut to limit rows (each tool has its own default) and to a size an assistant can read in one go, with a more note saying how many rows were left out and what to change to see them. Paged tools return next_cursor, which the assistant passes back as cursor; a page cut short goes on from the first row not shown.

Errors come back as tool errors with the API's error code and, where the API sends them, the values it accepts: ask for an unknown bookmaker and the error lists the keys it accepts.

Your key

The server reads the key only from ODDSRELAY_KEY and sends it only to https://api.oddsrelay.io, in the Authorization header. It never puts the key in a tool reply or an error: if an error ever echoed it, it would be replaced with [hidden]. The server logs nothing.

What it does not do

No tool writes anything, reads or writes files, or calls any host but the OddsRelay API.

Develop

npm ci
npm test

The tests run the server against a stubbed fetch and make no network calls. npm run bundle builds oddsrelay-mcp.mcpb from dist and the installed dependencies: manifest.json describes the bundle, and .mcpbignore keeps sources, tests and development packages out of it. To try the built server by hand, npx @modelcontextprotocol/inspector node dist/cli.js opens it in the MCP Inspector.

More from OddsRelay

License

MIT

Available Tools

10 tools
bookmakersBookmakersA
Read-only

Lists the bookmaker and exchange keys of one region, the values odds, raw_odds, event_odds, history and coverage take. Serves every region, one region code a call; the exchanges are in the UK & Ireland (uk) only. Costs no tokens.

Inputs: region.

coverageCoverageA
Read-only

Shows which bookmakers carry which sports on one product, and that product's market keys (the values odds and raw_odds take as markets). Filter by bookmaker or sport. Product raw is served in every region; the six matched products in the UK & Ireland (region uk) only. Costs no tokens and sends no key.

Inputs: limit, sport, region, product, +1 more.

event_oddsEvent oddsA

Reads one event's prices (id from events or odds) at each bookmaker and exchange carrying it, narrowed to the bookmakers and markets you name. Serves every region, one region code a call. Needs a key that can read raw odds. Spends tokens: priced first, and refused when it would cost more than max_tokens.

Inputs: id (required), limit, region, in_play, +3 more.

eventsEventsA
Read-only

Lists the events of one sport with their ids, for event_odds. Serves every region, one region code a call. Costs no tokens. Paged: pass next_cursor back as cursor.

Inputs: sport (required), limit, cursor, region, +2 more.

historyHistorical oddsA

Reads historical odds for one sport: the raw board as it stood at a time you name (kind snapshot), or a UTC day's opening and closing prices (kind closing). Serves every region, one region code a call: the UK & Ireland (uk) from 17 October 2026, with exchange prices beside the bookmakers'; each other region from 16 November 2026, bookmakers only. A date outside the archive is refused with date_out_of_range and the earliest or latest date it holds. A day is added the night after it ends, so read today's prices with raw_odds. Spends tokens: priced first, and refused when it would cost more than max_tokens. Paged: pass next_cursor back as cursor within five minutes; each page is priced.

Inputs: date (required), kind (required), sport (required), limit, +7 more.

oddsOddsA

Reads a matched board (bookmaker back prices with exchange lay prices) for one sport at the bookmakers you name. The matched boards are for the UK & Ireland (region uk) only: any other region is refused with product_not_in_region, so read prices there with raw_odds. Spends tokens: priced first, and refused when it would cost more than max_tokens.

Inputs: type (required), sport (required), bookmakers (required), limit, +6 more.

raw_oddsRaw oddsA

Reads the raw board: each bookmaker's own prices for the events of one sport, in play too when in_play asks. Serves every region: region takes one code, or several international codes joined by commas (us,global) read as one board; uk is asked alone, and exchange prices are in uk only. Name markets and bookmakers to keep the reply short. Spends tokens: priced first, and refused when it would cost more than max_tokens. Paged: pass next_cursor back as cursor within five minutes; each page is priced.

Inputs: sport (required), limit, cursor, region, +6 more.

regionsRegionsA
Read-only

Lists the region codes this key reads, with each region's name and whether it has matched boards and exchanges (the UK & Ireland, uk, only). Costs no tokens.

Inputs: no named parameters.

sportsSportsA
Read-only

Lists sport and competition keys (such as soccer or soccer_english_premier_league) for the sport filter of odds, raw_odds, history and events. Serves every region, one region code a call. Costs no tokens. Paged: pass next_cursor back as cursor.

Inputs: limit, cursor, region.

usageUsageA
Read-only

Shows this key's plan, token balance, reset time, scope and the regions it reads. Costs no tokens.

Inputs: no named parameters.

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 10 tools

    Disambiguation4/5

    The four price-reading tools (odds, raw_odds, event_odds, history) share a domain, but descriptions clearly separate them by board type (matched vs raw), scope (one event vs one sport), and time (live vs historical). The remaining tools are discovery/account utilities with distinct purposes, though an agent must read carefully to pick odds vs raw_odds for UK data.

    Naming Consistency4/5

    All ten names are lowercase snake_case resource nouns (odds, raw_odds, event_odds, sports, events, bookmakers, coverage, history, regions, usage), which is consistent and readable. The only weakness is that names encode the resource but not the action (list vs read), leaving action inference to descriptions.

    Tool Count5/5

    Ten tools is well-scoped for an odds data API: five free discovery/account tools and four token-spending read tools plus history. Each tool earns its place with no redundant entries.

    Completeness4/5

    The surface covers the full read lifecycle: region discovery, sports, events, bookmakers, coverage/market keys, live odds (matched and raw), single-event odds, historical snapshots/closings, plus usage/balance. Minor gaps exist, such as no direct market-listing tool beyond coverage and no batch multi-region reads.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      MCP-compatible server that gives AI agents access to alternative sports data across 30+ leagues — odds, events, probabilities, settlement, and futures for prediction markets, DFS platforms, and sportsbooks.
      29
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      A read-only MCP server exposing Polymarket's public prediction-market data. Search markets, read live odds and order books, pull historical probability time-series, and inspect public wallet positions.
      14
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Public read-only MCP server exposing today's free sports-betting projections, track record, methodology, engine versions, and per-game model reads from the Olympus Bets Analytics platform.
      MIT