underdog-api-mcp
OfficialAn MCP server for querying Underdog Fantasy pick'em lines, line movement, historical boards, graded results, and hit rates through underdogapi.com.
Explore response shapes and credit costs without a key using
demo_board,demo_changes, andcredit_costs.Discover available leagues/stats and first recorded dates with
get_coverage.Fetch current lines with Higher/Lower multipliers, filters, search, payout tiers, and pagination via
get_board.Get per-side odds, recorded line moves/suspensions/closes, a single market's history, and the board as of a past timestamp.
Retrieve graded results, player hit rates, multipliers, payout tables, and model training rows, with paid-plan restrictions where applicable.
Use it locally over stdio with Claude, ChatGPT, Cursor, VS Code, or any MCP client; a hosted HTTP equivalent also exists.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@underdog-api-mcp Show me the current NBA board with discounted Higher-side lines."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Underdog MCP server: underdog-api-mcp
An Underdog Fantasy MCP server for Claude, ChatGPT, Cursor and any MCP client. Ask an AI agent for current Underdog lines, line moves or hit rates; it answers from recorded data through underdogapi.com.
Website | Docs | Free API key | Pricing | All SDKs
Also for underdogapi.com: Python: pip install underdog-api | JavaScript: npm install underdog-api
An MCP server (stdio) for Underdog API: Underdog Fantasy pick'em lines with separate Higher and Lower payout multipliers, recorded line moves, the board at past instants, graded results and hit rates, as tools for Claude, ChatGPT, Cursor, VS Code and any MCP client. No dependencies; Node 18+.
A hosted server with the same data runs at https://underdogapi.com/api/mcp (Streamable HTTP, bearer key). Use this
package when your client only speaks stdio or you want the key kept in a local environment variable.
Underdog API is an independent data service operated by Stunning Couches LLC. It is not affiliated with, endorsed by or operated by Underdog Fantasy.
Use it
Claude Code:
claude mcp add underdog -e UNDERDOG_API_KEY=ud_... -- npx -y underdog-api-mcpClaude Desktop, Cursor, Windsurf and other JSON-configured clients:
{
"mcpServers": {
"underdog": {
"command": "npx",
"args": ["-y", "underdog-api-mcp"],
"env": { "UNDERDOG_API_KEY": "ud_..." }
}
}
}No key yet? demo_board, demo_changes and credit_costs work without one, so an agent can learn the response shape
first. A free key (100 credits a month, no card) is at https://underdogapi.com/sign-up?utm_source=github&utm_medium=readme&utm_campaign=underdogapi-mcp.
Related MCP server: propzapi
Tools
Tool | What it returns | Key |
demo_board | Fictional board in the live shape | No |
demo_changes | Fictional change events | No |
credit_costs | Credit policy, or the cost of one request path | No |
get_coverage | Leagues and stats on the board, first recorded date per league | Yes |
get_board | Current lines, both side multipliers, filters for league, stat, player, tier | Yes |
get_odds | Each side as an odds entry (5 minutes behind on Free) | Yes |
get_changes | Line moves, multiplier changes, suspensions, closes | Yes |
get_line_history | Every recorded change of one market | Yes |
get_board_as_of | The board at a past instant | Yes |
get_results | Graded lines (paid plans) | Yes |
get_hit_rates | How often a player went Higher or Lower (paid plans) | Yes |
get_multipliers, get_payouts, get_training_set | Multipliers, payout tables, model training rows | Yes |
A tool the plan does not include answers with the API's 402 body: what is missing, the upgrade link and a few labelled sample rows. No credits are charged for it. Ask your user before upgrading.
Example prompts
"Which NBA lines are discounted on the Higher side right now?"
"How has this player's points line moved today?"
"Rebuild the NHL board as of 7 pm Eastern yesterday and list shots lines."
Test
npm test # offline, against a local fake API
UNDERDOG_LIVE=1 npm test # also calls the real keyless demoRegistry
server.json describes this package and the hosted remote for the official MCP registry
(name com.underdogapi/underdog, verified through the underdogapi.com domain).
Available Tools
14 toolscredit_costsCredit costs (keyless)ARead-onlyIdempotent
The credit policy, or the credits one request would cost before you run it. Use it before a large keyed read. No key, no credits.
Inputs: path.
demo_boardDemo board (keyless)ARead-onlyIdempotent
Fictional Underdog-style board rows in the exact live shape of get_board, to learn the fields before the user has a key. No key, no credits. The rows are fictional: never present them as real lines.
Inputs: limit, league.
demo_changesDemo change feed (keyless)ARead-onlyIdempotent
Fictional change events (line.opened, line.moved and so on) in the exact live shape of get_changes, to build a polling loop before the user has a key. No key, no credits. The rows are fictional: never present them as real lines.
Inputs: limit.
get_boardCurrent boardARead-onlyIdempotent
The live Underdog Fantasy pick'em board: player, stat, line, and separate Higher and Lower payout multipliers per side with their tier, plus start time and observed_at. Use it for "what are the lines now"; get_board_as_of for a past instant, get_changes to poll only what moved, get_odds for sportsbook prices at the same line. Needs UNDERDOG_API_KEY (free key, no card, at https://underdogapi.com/sign-up); without one it returns the sign-up link and spends nothing.
Inputs: stat, view, limit, cursor, +3 more.
get_board_as_ofBoard at a past instantARead-onlyIdempotent
The board as it stood at a past instant, rebuilt from recorded history, for backtests and "what was the line at tip-off". Free keys read the last 24 hours. For now use get_board. Needs UNDERDOG_API_KEY (free key, no card, at https://underdogapi.com/sign-up); without one it returns the sign-up link and spends nothing.
Inputs: as_of (required), stat, limit, cursor, +2 more.
get_changesChange feedARead-onlyIdempotent
Ordered feed of board changes: line.opened, line.moved, line.repriced (multiplier), line.suspended, line.closed, line.restored, alternates.changed, each with before and after values. Store meta.next_cursor and pass it back to get only newer changes. For one market use get_line_history. Needs UNDERDOG_API_KEY (free key, no card, at https://underdogapi.com/sign-up); without one it returns the sign-up link and spends nothing.
Inputs: stat, limit, since, cursor, +2 more.
get_coverageCoverageARead-onlyIdempotent
Which leagues and stat slugs are on the board now, with line counts and the first recorded date per league. Call it first to pick valid league and stat values and avoid empty queries. Needs UNDERDOG_API_KEY (free key, no card, at https://underdogapi.com/sign-up); without one it returns the sign-up link and spends nothing.
Inputs: no named parameters.
get_hit_ratesPlayer hit ratesARead-onlyIdempotent
How often one player went Higher or Lower across recent graded games, per stat, voids excluded. Send player or player_id. For the graded rows themselves use get_results. Paid plans; a Free key gets a labelled sample and the upgrade link (HTTP 402). Needs UNDERDOG_API_KEY (free key, no card, at https://underdogapi.com/sign-up); without one it returns the sign-up link and spends nothing.
Inputs: last, stat, league, player, +1 more.
get_line_historyLine history of one marketARead-onlyIdempotent
Every recorded change of one market, oldest to newest: line and multiplier moves with times. Use it for "how has this line moved"; take the udm_ id from get_board. Needs UNDERDOG_API_KEY (free key, no card, at https://underdogapi.com/sign-up); without one it returns the sign-up link and spends nothing.
Inputs: projection_id (required).
get_multipliersBoosted and discounted sidesARead-onlyIdempotent
Only the sides on the current board whose payout multiplier differs from standard (boosted or discounted), with the multiplier. Use it to find boosted picks; get_board has every side. Needs UNDERDOG_API_KEY (free key, no card, at https://underdogapi.com/sign-up); without one it returns the sign-up link and spends nothing.
Inputs: stat, league, payout_tier.
get_oddsLines with sportsbook pricesARead-onlyIdempotent
Each current line as Higher and Lower odds entries, next to FanDuel, DraftKings and Novig prices and the no-vig fair probability at the same line where a book prices it. Use it to judge whether a pick'em side is good value; get_board has the lines alone. Five minutes behind on the free plan. Needs UNDERDOG_API_KEY (free key, no card, at https://underdogapi.com/sign-up); without one it returns the sign-up link and spends nothing.
Inputs: limit, cursor, league, market, +1 more.
get_payoutsPayout tablesARead-onlyIdempotent
Dated Underdog base payout tables for Standard, Flex and Streaks entries by pick count, to compute break-even probabilities. Reference data; takes no arguments. Needs UNDERDOG_API_KEY (free key, no card, at https://underdogapi.com/sign-up); without one it returns the sign-up link and spends nothing.
Inputs: no named parameters.
get_resultsGraded resultsARead-onlyIdempotent
Reviewed lines graded against the final box score: closing line, actual stat, and Higher, Lower or void (ties void). Use it to check how lines settled; get_hit_rates summarises one player. Paid plans; a Free key gets a labelled sample and the upgrade link (HTTP 402). Needs UNDERDOG_API_KEY (free key, no card, at https://underdogapi.com/sign-up); without one it returns the sign-up link and spends nothing.
Inputs: date, stat, limit, cursor, +4 more.
get_training_setTraining setARead-onlyIdempotent
One labelled row per graded line (line, multipliers, closing side tier, outcome) for model training, as JSON or CSV. For browsing results use get_results. Paid plans; a Free key gets a labelled sample and the upgrade link (HTTP 402). Needs UNDERDOG_API_KEY (free key, no card, at https://underdogapi.com/sign-up); without one it returns the sign-up link and spends nothing.
Inputs: date, stat, limit, cursor, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Each tool targets a clearly distinct slice of the domain: live board vs. historical board vs. changes vs. per-market history vs. odds vs. multipliers vs. results/hit rates/training data. Descriptions cross-reference each other explicitly (e.g. 'get_board has every side', 'for one market use get_line_history'), and the demo_* tools are clearly separated from keyed live tools. An agent can select correctly without guessing.
The dominant convention is a clean get_<resource> snake_case pattern (get_board, get_changes, get_line_history, get_hit_rates, etc.), and the two demo tools consistently share a demo_ prefix. Minor deviations are credit_costs (noun-only, no verb) and the demo_/get_ prefix split, but overall the pattern is predictable and readable.
Fourteen tools sit comfortably in the well-scoped 3-15 range for a read-oriented market-data API. Each tool earns its place by covering a distinct view (current, historical, delta, odds, reference, modeling), with no redundant duplicates.
The surface covers the full read lifecycle for this domain: coverage discovery, live board, point-in-time reconstruction, change polling, per-market history, odds comparison, multipliers, results, hit rates, payout tables, and a training set export. Demo and credit-cost tools handle onboarding and cost-awareness, leaving no obvious dead ends for an agent.
Maintenance
Related MCP Connectors
Underdog Fantasy pick'em lines, Higher/Lower multipliers, line history and results.
Free sports slate and matchup research for AI agents over MCP and REST. Research only; 21+.
Sportsbook-derived no-vig fair value with confidence, provenance, and history over REST/MCP.
Live sports odds, player props and graded edges for AI agents. 50+ sportsbooks, 20+ sports.
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP-compatible server that gives AI agents access to alternative sports data across 30+ leagues — odds, events, probabilities, settlement, and futures for prediction markets, DFS platforms, and sportsbooks.29MIT
- AlicenseNot gradedqualityDmaintenanceProps-first sports odds API with a hosted MCP server. Live odds and player props (moneyline, spreads, totals) across US sportsbooks, normalized to JSON. Tools: get_odds, get_props, get_events, get_books. API-key auth, free tier.MIT No Attribution
- AlicenseAqualityFmaintenanceProvides AI agents with direct access to KingsPlaybook's sports data including confirmed lineups, player projections, game lines, and pick history via native MCP tools.536 npmMIT
- AlicenseAqualityDmaintenanceEnables querying probable football lineups with per-player start probability and expected fantasy points, match analysis, model picks, and a verified public track record across major European leagues through MCP tools.1762 npmMIT