SuperAPIAI Directory

oddsrelay-mcp

github.com · AI developer platforms

oddsrelay-mcp is a read-only odds data server based on the MCP protocol, allowing AI assistants such as Claude Desktop, Claude Code, and Cursor to access OddsRelay's betting odds data via stdio. It can read raw prices from each bookmaker, live and historical odds for the UK and Ireland and other regions, matched markets, single-event prices, and lists of sports, events, bookmakers, regions, and coverage. All token-consuming calls are quoted first, and execution is refused if the per-call limit (max_tokens) is exceeded, prompting the assistant to obtain user consent before raising the limit. Usage requires an OddsRelay API key, passed via the ODDSRELAY_KEY environment variable, and Node 18 or above.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

Purpose: oddsrelay-mcp is an MCP (Model Context Protocol) server that provides AI assistants with read-only access to OddsRelay odds data. It is suitable for Claude Desktop, Claude Code, Cursor, and other clients that launch MCP servers via stdio, and is built on the oddsrelay TypeScript client.

Main capabilities: it can read each bookmaker's own prices (raw odds), historical odds for the UK and Ireland and other regions served by OddsRelay (including in-play prices), matched markets for the UK and Ireland, single-event prices, and the lists of sports, events, bookmakers, regions, and coverage that support this data. Tools include coverage (does not consume tokens), bookmakers, regions, odds, raw_odds, event_odds, history, and others. The cost of odds and event_odds is determined by the filters sent; reducing the number of returned rows does not change the cost. raw_odds and history are priced per page, with each call requesting limit events and each page priced separately. All four token-consuming tools accept a max_tokens parameter; before calling, the server first requests a quote from the API (which does not consume tokens), and if the limit is exceeded it does not call, does not consume, and informs the assistant of the price, so the assistant can narrow the filters or obtain user consent before raising the limit. Each reply carries a tokens field indicating the consumption for this call and the remaining quota.

Usage: requires an OddsRelay API key; the server reads it only from ODDSRELAY_KEY and sends it only to https://api.oddsrelay.io Authorization header. Claude Desktop can download the latest release's oddsrelay-mcp.mcpb and double-click to install; during installation, enter the API key (marked as sensitive and masked by Claude Desktop). The bundle includes everything needed to run and uses Claude Desktop's built-in Node; alternatively, add the mcpServers configuration to claude_desktop_config.json and restart. For Cursor, the same mcpServers block can be added to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (a single project); the key is stored in plaintext in the configuration file and must not be committed. Gemini CLI installs the extension from the latest release, asks for the API key and saves it in the system keychain, and also loads the Agent Skill. Other methods require Node 18 or later. skills/oddsrelay/SKILL.md is an Agent Skill for assistants that support skills, explaining when to use OddsRelay, how to quote before consuming tokens, and how to interpret markets; it can be used with this server or over plain HTTPS.

Use cases: suitable for having an AI assistant query matched odds for a given sport at a specific bookmaker, raw prices for a region, prices for a single event, or historical closing prices, etc. regions lists the region codes readable by the key; uk represents the United Kingdom and Ireland, and the others are international regions; each tool call accepts one region code, while raw_odds can accept multiple international codes (such as us,global) merged into one market and priced by the total; uk is always requested separately; when region is omitted, it defaults to uk, otherwise region_required is returned along with the code that should be sent. Matched odds (odds) and exchange prices are limited to the United Kingdom and Ireland; calling odds for other regions returns product_not_in_region, and raw_odds, event_odds and history should be used instead. history reads data for the United Kingdom and Ireland from October 17, 2026 onward (including exchange prices; bookmakers_only can exclude them); for other regions, only bookmaker data from November 16, 2026onward; dates earlier than a region's first day return date_out_of_range along with the earliest date. Daily prices are added the following night; for the current day's prices, use raw_odds.

Limitations: all tools are read-only, write nothing, do not read or write files, and do not call any host other than the OddsRelay API; the server does not log, and the key does not appear in tool replies or errors; if it would be echoed in an error, it is replaced with [hidden]. The four token-consuming tools are marked in the MCP annotations as costly calls rather than read-only, so clients that ask before calling will confirm with the user every time. event_odds reads raw markets and requires a key that can read raw odds. Replies are compact JSON; long lists are truncated according to each tool's default limit, with more explaining the number of omitted rows and how to adjust; paginated tools return next_cursor, which the assistant must pass back as cursor. Errors are returned as tool errors with the API error code and acceptable values. Tests use a stub fetch and make no network requests; npm run bundle builds oddsrelay-mcp.mcpb from dist and installed dependencies.

Pricing and platform: free registration provides 50,000 tokens for 14 days, no credit card required; afterward, the same key has no tokens until a plan is selected; paid plans are for personal use only, and any enterprise (even if only using the data internally) and products for others require Enterprise; enterprises can start with a Free trial. Specific plan and token prices are not yet provided.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools