guides

How to use sports odds in Windsurf with the PricedOdds MCP server

By · Published · Updated · 4 min read

To use sports odds in Windsurf, add the PricedOdds MCP server to Cascade's mcp_config.json file, with the server URL in serverUrl and your key in an Authorization header. Cascade then has 14 tools for odds data. This article has the block, how to open the file, what to check on a team plan and two real tool answers.

What goes in mcp_config.json?

{ "mcpServers": { "pricedodds": {
  "serverUrl": "https://api.pricedodds.com/mcp",
  "headers": { "Authorization": "Bearer ${env:PRICEDODDS_API_KEY}" } } } }

The server is hosted, so there is no command to run and nothing to install. Configuration checked against the PricedOdds MCP server on November 25, 2026. Not tested inside the app.

How do I open the file?

The Windsurf Cascade MCP documentation, read on November 24, 2026 and again on November 25, 2026, says to use Open MCP config file in Cascade's MCP menu and edit the mcp_config.json file it opens. It gives these default places.

SystemDefault file
macOS and Linux~/.config/devin/mcp_config.json, or $XDG_CONFIG_HOME/devin/mcp_config.json when that variable is set
Windows%AppData%/devin/mcp_config.json

The same page says to use the file that the action opens for your installation, and to press the refresh button after you add a server.

Is it serverUrl or url?

The documentation says a remote HTTP server "requires a serverUrl or url field", and its example uses serverUrl. The block above does the same. For HTTP servers it says the URL should be the endpoint and look like https://<your-server-url>/mcp, which is the form of the PricedOdds URL.

How do I keep the key out of the file?

With ${env:PRICEDODDS_API_KEY}, as in the block above. The documentation says the file handles environment variables in these fields: command, args, env, serverUrl, url and headers. Its example is a header with the value Bearer ${env:AUTH_TOKEN}. Set the variable in the environment Windsurf starts from.

The same page says Cascade supports OAuth for remote servers. The PricedOdds server does not use it: it takes a key in a header, and without a valid key it answers HTTP 401.

What should I check on a team plan?

Two things, both from the same documentation.

  • Team admins can turn MCP access on or off for the team and can allowlist approved servers.
  • By default each person can configure their own servers. Once an admin allowlists one server, every server that is not on the allowlist is blocked for the team.

If the PricedOdds server does not appear after a refresh, ask your admin whether the team uses an allowlist. The page also says that Enterprise users must turn MCP on in settings.

What does Cascade see when it lists the books?

We did not run these tools inside Windsurf. We called them from a script with the same URL and header on November 24, 2026, at 02:36 UTC. list_books takes no arguments. This is one entry of its answer.

{ "id": "draftkings", "name": "DraftKings", "type": "sportsbook", "region": "us",
  "status": "ok", "features": ["prematch", "live", "props"],
  "pickable": true, "included": true }

features says what the feed has for that book, pickable whether you can choose it on a plan with a set number of books, and included whether your plan has it. Our key was on the All-Access plan, so included was true in every entry. On a plan with fewer books, this is how the assistant knows which book ids it can ask for. The current list of books is on the coverage page.

What does a live score answer look like?

From the same run, get_live_scores with no arguments. It returned the events in progress at that moment, and this is the entry of one NBA game, shortened: the answer also has team ids and the list of books. It is an example, not a current score.

{ "id": "evt_sqhnkppfiynryb7z", "sport": "basketball",
  "league": { "id": "nba", "name": "NBA" },
  "home": { "name": "Indiana Pacers", "abbr": "IND" },
  "away": { "name": "Oklahoma City Thunder", "abbr": "OKC" },
  "startsAt": "2026-11-24T00:30:00.000Z", "status": "live",
  "live": { "period": "4q", "elapsed_seconds": 2516, "detail": "4th quarter", "running": false,
    "score": { "home": 106, "away": 105 },
    "periods": { "1q": { "home": 27, "away": 27 }, "2q": { "home": 29, "away": 24 }, "3q": { "home": 40, "away": 40 }, "4q": { "home": 10, "away": 14 } } },
  "markets_available": 91 }

The id is the one that get_event_odds and get_player_props take, so the assistant can go from a score to the prices of that game. Without filters the answer had 36,706 characters. Tool output takes room in the context of a session, so pass league or sport when you want one competition.

What happens when an argument is wrong?

The tool returns an error that names the argument. This is the answer to list_markets with sport set to footbal, from the same run.

{ "error": { "code": "invalid_param", "message": "Invalid parameter 'sport': use an id from GET /v1/sports.",
    "fix": "Check the parameter against the OpenAPI spec.",
    "docs_url": "https://pricedodds.com/docs/errors#invalid_param", "request_id": "mcp" } }

Sport and league ids come from list_leagues, and market keys from list_markets.

Which tools does Windsurf get?

The server has 14 tools. Thirteen read data and one, update_book_selection, changes the books on your plan, which is allowed once every 24 hours. None places a bet: PricedOdds is a data API, not a sportsbook.

  • list_books
  • list_leagues
  • list_markets
  • find_events
  • get_event_odds
  • compare_prices
  • get_player_props
  • get_fair_price
  • find_positive_ev
  • find_arbitrage
  • get_live_scores
  • get_coverage
  • update_book_selection
  • get_account

What each one does is on the connect page, and the arguments are in the AI agents docs. How the server works for any agent is in the MCP server guide.

Where do I start?

The MCP server is part of the API on every plan. Every plan starts with a 3-day free trial with a $1 card verification that is refunded immediately. The plan you pick at signup is charged from day 4 unless you cancel before the trial ends. There are step-by-step articles for Claude Code, Cursor and VS Code, and every setup is on the connect page. A first request without an assistant is in the developer hub, and the plans are on pricing. To get a key, create an account.