The Odds API MCP server
12 operations0 webhooks
Sports betting odds from The Odds API: live and upcoming games with each bookmaker's moneyline, spread, totals, outright and player-prop prices across US, UK, EU and AU books, live and recent scores, events, markets, teams and players, and historical odds snapshots since 2020 (12 read-only operations).
Try The Odds API with your agent
Connect The Odds API, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in The Odds API on my account, then run one read-only example and show me the result.
The Odds API tools and triggers
Tools are what your agent can do in The Odds API through Corsair's MCP server. Triggers are the The Odds API events a routine can start from.
Historical
- Event MarketsRead-only
List the market keys each bookmaker offered for one event at a past time (the event must have existed then; take its id from historical.events). Costs 1 credit; answered on a free key in our 12-02 test.
historical.eventMarkets
- Event OddsRead-only
Get one event's odds for any market as they were at a past time (take the event id from historical.events). Paid plans only; costs 10 credits per market returned per region.
historical.eventOdds
- EventsRead-only
List a sport's events as they were at a past time, without odds, with the previous and next snapshot times. Costs 1 credit (nothing when empty); answered on a free key in our 12-02 test.
historical.events
- OddsRead-only
Get a sport's odds as they were at a past time (snapshots every 5-10 minutes since June 2020), with the previous and next snapshot times. Paid plans only; costs 10 credits per market per region.
historical.odds
Events
- ListRead-only
List live and upcoming events for a sport (id, teams, start time) without odds. Free: costs no usage credits.
events.list
- MarketsRead-only
List the market keys each bookmaker currently offers for one event. Costs 1 credit.
events.markets
- OddsRead-only
Get one event's odds for any market, including player props and alternate lines. Costs 1 credit per market returned per region.
events.odds
Odds
- GetRead-only
Get live and upcoming games for a sport with each bookmaker's prices for the chosen markets (h2h, spreads, totals, outrights) and regions. Costs 1 credit per market per region; an empty result costs nothing.
odds.get
- LegacyRead-only
Get odds from the legacy v3 API (`/v3/odds`, one region and market). Prefer odds.get; kept for callers still on v3. Costs 1 credit.
odds.legacy
Participants
- ListRead-only
List the teams or players of a sport (id and full name). Costs 1 credit.
participants.list
Scores
- GetRead-only
Get live, upcoming and (with daysFrom 1-3) recently completed games for a sport with their scores. Costs 1 credit, or 2 with daysFrom.
scores.get
Sports
- ListRead-only
List sports and leagues with their keys (in season only unless all is true). Free: costs no usage credits.
sports.list
Connect The Odds API to Claude, ChatGPT or Cursor
- 1
Connect The Odds API in Corsair
Add your The Odds API API key once in Corsair. Corsair stores the credential encrypted and makes the The Odds API API calls for your agent, so it never goes into a prompt or a config file. Connect The Odds API
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs The Odds API. On a ChatGPT personal plan, connect The Odds API here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.Install Corsair from ChatGPT's plugin directory, connect it and sign in. A custom MCP server with the address works too, but personal plans get its read tools only.Add to Cursor / Grok BuildOr add this to~/.cursor/mcp.json. It opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Antigravity, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. Every The Odds API operation only reads data, so it runs right away in every mode.
FAQ
Install corsair and @corsair-dev/theoddsapi, add the The Odds API plugin, and connect with an API key. Then call methods like corsair.theoddsapi.api.events.list() from your app. Corsair syncs data per tenant.
Yes. The Odds API requires an API key from your The Odds API account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit The Odds API, GitHub, Notion, Stripe, and the rest. Trigger The Odds API from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for sports betting odds from The Odds API: live and upcoming games with each bookmaker's moneyline, spread, totals, outright and player-prop prices across US, UK, EU and AU books, live and recent scores, events, markets, teams and players, and historical odds snapshots since 2020 (12 read-only operations). Common builds include sync jobs, admin tooling, and agents that call The Odds API APIs from your backend. Local DB entities let you query synced The Odds API records without hitting the API on every read.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per The Odds API API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/theoddsapi in the open repo. When The Odds API ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your The Odds API data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store The Odds API data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put The Odds API on a link in Strict mode and every write waits for your approval, while destructive actions are refused. Every The Odds API operation only reads data, so there are no changes to approve today. You can change a link's mode at hub.corsair.dev/me.