About sportwizzard
sportwizzard is an MCP server for querying live betting odds, player props, statistics, +EV edges and arbitrage across sportsbooks and DFS apps. It offers hosted HTTP and local stdio transports for AI agents and other MCP clients.
Key features
- 01Live odds across sportsbooks
- 02Player and team statistics
- 03+EV edges and arbitrage
- 04Event and futures markets
- 05Downloadable data snapshots
Use cases
- 01Compare prices for a game or player
- 02Find +EV or arbitrage opportunities
- 03Retrieve player and team statistics
- 04Export a live board for analysis
MCP support
Exposes 20 read-only tools through hosted HTTP or local stdio, covering live odds, stats, edges, arbitrage and reference data. Clients authenticate with a SportWizzard API key.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.sportwizzard.com/mcpclaude mcp add --transport http com-sportwizzard-sportwizzard https://mcp.sportwizzard.com/mcp{"mcpServers":{"com-sportwizzard-sportwizzard":{"type":"http","url":"https://mcp.sportwizzard.com/mcp"}}}Open in Cursor{"servers":{"com-sportwizzard-sportwizzard":{"type":"http","url":"https://mcp.sportwizzard.com/mcp"}}}Open in VS Code{"mcpServers":{"com-sportwizzard-sportwizzard":{"type":"http","url":"https://mcp.sportwizzard.com/mcp"}}}{"mcpServers":{"com-sportwizzard-sportwizzard":{"serverUrl":"https://mcp.sportwizzard.com/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://mcp.sportwizzard.com/mcpAuth requiredTools
Details
From the project READMESportWizzard MCP Server
Query live sports-betting data — odds, player props, +EV edges, arbitrage, stats and reference data from 35+ sportsbooks and DFS apps — from any MCP-capable AI agent (Claude Code, Claude Desktop, Codex, Cursor, …).
20 read-only tools over the SportWizzard REST v1 API, available two ways: a hosted remote server (zero install) and a stdio server via npx. Get a free API key at https://sportwizzard.com/account (API Keys tab — no card required).
Hosted (recommended — zero install)
claude mcp add --transport http sportwizzard https://mcp.sportwizzard.com/mcp \
--header "Authorization: Bearer sw_live_your_api_key_here"
codex mcp add sportwizzard --transport http --url https://mcp.sportwizzard.com/mcp \
--header "Authorization: Bearer sw_live_your_api_key_here"
The hosted server is a thin proxy: your key is forwarded to the SportWizzard API, which enforces auth and rate limits. All 20 tools work on both transports. (download_snapshot on the hosted server returns a CDN download URL + a ready-to-run command your agent executes locally; on stdio it writes the file directly.)
Successful authenticated live tool calls send a best-effort account-usage
receipt. The measurement request contains no tool arguments or result data.
For hosted download_snapshot, a successful CDN HEAD check counts because
the tool has verified that the returned download URL is reachable; a failed
HEAD check does not count.
Stdio (local)
npx -y sportwizzard-mcp
Claude Code:
claude mcp add sportwizzard -e SPORTWIZZARD_API_KEY=sw_live_your_api_key_here -- npx -y sportwizzard-mcp
Claude Desktop (claude_desktop_config.json — macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):
{
"mcpServers": {
"sportwizzard": {
"command": "npx",
"args": ["-y", "sportwizzard-mcp"],
"env": { "SPORTWIZZARD_API_KEY": "sw_live_your_api_key_here" }
}
}
}
Mock mode (no key, no network)
Set SPORTWIZZARD_MOCK=1 to get canned sample responses — useful for wiring up an integration before you have a key.
Configuration
| Env var | Default | Purpose |
|---|---|---|
SPORTWIZZARD_API_KEY | (none) | Your API key, sent as X-Api-Key. |
SPORTWIZZARD_BASE_URL | https://api.sportwizzard.com | Override the API base URL. |
SPORTWIZZARD_MOCK | (off) | 1 = canned sample data, no network. |
Tools
| Tool | What it does |
|---|---|
list_events / get_event | Events/fixtures — filter by league, team, status, time; full detail incl. weather, lineups, probable pitchers. |
get_event_stats | Box score: every player's stat line + team results for one event. |
get_odds / get_event_odds / get_player_odds / get_team_odds | Current prices, scoped by event, player, team, sportsbook, market, or league. get_odds also takes scope: event (game markets), season (season-long futures), tournament (golf/tennis outrights); omit for all. |
get_edges | +EV edges vs. devigged fair market (league, source, min_edge filters). |
get_arbitrage | Arbitrage opportunities with legs and stake fractions (two/three-way). |
list_players / list_teams / get_player_stats / get_team_stats | Reference data and season/historical stats. |
get_player_game_logs | Bulk per-game stat rows — the model-training feed. |
download_snapshot | Save the full live board to disk (tens of MB gzip). include_history: true also populates every selection's priceHistory (same schema; 5 credits flat vs 1). |
list_sportsbooks / list_leagues / list_markets / status | Discover source IDs, covered leagues and supported market types; check customer API availability. |
get_account_usage | Your plan tier, rate limit, and monthly usage. |
Every response uses the envelope { success, data, nextCursor, meta }; when nextCursor is present the tool appends a _paging hint so agents know to continue.
Futures (season-scope markets)
get_odds with scope=season returns season-long futures — division/conference/championship winners, award odds, team win totals, season leaders and full-season player props. Three orthogonal axes describe them:
marketScope— which anchor the market hangs off:SEASONorTOURNAMENT. Omitted entirely on ordinary game rows.period— the window within that anchor:REG_SEASON(settles at the end of the regular season) orFULL(runs through the playoffs).segment— which slice of the competition:AFC_EAST,NL,SEC, … Present only when the market is segment-scoped, and load-bearing: all 32 NFLDIVISION_WINNERselections share one season-anchoreventId, so withoutsegmentthey read as a single 32-team race instead of 8 divisions.
Notes: winner/award markets are categorical (one YES selection per competitor, teamSide: "NONE", usually no NO side); eventStartTime on a futures row is the season anchor / settlement date, not a kickoff; every book's futures for a competition share the same season eventId; and futures are deliberately excluded from get_edges / get_arbitrage (they never enter de-vig or edge math). Scope matching is exact — season does not include TOURNAMENT — and an invalid value returns HTTP 400 naming the valid ones.
From source
git clone https://github.com/sportwizzard/sportwizzard-mcp.git
cd sportwizzard-mcp && npm install && npm run build
SPORTWIZZARD_MOCK=1 node dist/index.js # or set SPORTWIZZARD_API_KEY
Maintainers
This README ships inside the npm package, so keep it free of internal hostnames, keys and private notes (the repository is public).
Layout. src/index.ts is the stdio entry (dist/index.js, the npm bin);
src/httpServer.ts is the hosted Streamable HTTP entry (stateless, one request
per POST; Host allow list and bearer-key handling); src/auth.ts validates the
caller's key against the API, caches it and applies the per-key rate limit;
src/tools.ts and src/server.ts define and register tools; src/client.ts
is the REST client and src/mock.ts the SPORTWIZZARD_MOCK=1 data.
tests/stdio-smoke.mjs and tests/http-smoke.mjs are end-to-end smokes
against a loopback mock API (no credentials, no production calls).
Build and verify (the PR check, .github/workflows/ci.yml, runs the same
pack-and-smoke plus a no-push container build):
npm ci --ignore-scripts && npm run build
release_dir="$(mktemp -d)"
npm pack --ignore-scripts --pack-destination "$release_dir"
npm install --prefix "$release_dir/consumer" --omit=dev --ignore-scripts --no-audit --no-fund "$release_dir"/*.tgz
npm run smoke -- "$release_dir/consumer/node_modules/sportwizzard-mcp/dist/index.js" "$release_dir/smoke.json" "$release_dir"/*.tgz
npm run smoke:http -- "$release_dir/consumer/node_modules/sportwizzard-mcp/dist/httpServer.js" "$release_dir/http-smoke.json"
rm -rf "$release_dir"
The stdio smoke checks tools/list, get_odds scope=season forwarding and a
snapshot download with history; the HTTP smoke checks /healthz, key
rejection, the Host allow list, tools/list, key forwarding and a clean
SIGTERM exit. Both prove transport and packaging, not live data quality.
Releasing.
- Hosted server:
publish-container.ymlpublishes a SHA-tagged GHCR image on every push tomain. It deploys only when that digest is promoted in the Opsdeployment/releases/api.yamlrow, which owns placement, limits and credential references. - npm package: bump
versioninpackage.json, runnpm install --package-lock-only, syncserver.json, merge tomain, then run the manual Publish npm package workflow (publish-npm.yml). It builds once, smokes the packed tarball and publishes those exact bytes through npm trusted publishing (OIDC; no npm token). Publishing npm does not update the hosted container.
Gotchas. Hosted runtime settings are MCP_HTTP_PORT (default 8091),
MCP_ALLOWED_HOSTS, AUTH_CACHE_TTL_MS, RATE_LIMIT_PER_MIN,
SPORTWIZZARD_SNAPSHOT_URL and SPORTWIZZARD_SNAPSHOT_HISTORY_URL, plus the
customer settings above. download_snapshot writes a file on stdio but returns
a CDN URL and a command on the hosted server. Never print or commit ~/.npmrc.
Open work goes in GitHub issues in this repository.
License
MIT © SportWizzard LLC
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.