The Odds API

live SportsBetting

Sportsbook odds across 70+ books, 30+ leagues (NFL, NBA, MLB, NHL, soccer, MMA, golf, tennis, esports, cricket). Free tier 500 req/month.

5 tools
0ms auth
free tier 50 calls/day
🔑 Authentication

Platform key handled by Pipeworx. Or BYO: ?_apiKey=<key>.

Config with credentials
{
  "mcpServers": {
    "pipeworx-odds-api": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://gateway.pipeworx.io/odds-api/mcp?_apiKey=your_key"
      ]
    }
  }
}

Tools

list_sports

List sports/leagues. Default in-season only.

Parameters
Name Type Description
all opt boolean
Try it
get_odds required: sport_key

Current odds for upcoming + live events in a league.

Parameters
Name Type Description
sport_key req string
regions opt string
markets opt string
odds_format opt string
date_format opt string
bookmakers opt string
event_ids opt string
Try it
get_event_odds required: sport_key, event_id

Odds for a single event — supports richer markets (player props).

Parameters
Name Type Description
sport_key req string
event_id req string
regions opt string
markets opt string
odds_format opt string
Try it
get_scores required: sport_key

Live + recent final scores.

Parameters
Name Type Description
sport_key req string
days_from opt number
Try it
get_events required: sport_key

Upcoming + live events (no odds — to discover event IDs).

Parameters
Name Type Description
sport_key req string
date_format opt string
event_ids opt string
Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/odds-api/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/odds-api/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"list_sports","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("list_sports", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("sportsbook odds across 70+ books, 30+ leagues (nfl, nba, mlb, nhl, soccer, mma, golf, tennis, esports, cricket)");