Underdog API
v0.1.1Underdog Fantasy pick'em lines, Higher/Lower multipliers, line history and results.
Values you need
| Variable | What it is | |
|---|---|---|
UNDERDOG_API_KEY | optional secret | Underdog API key (free, no card). Keyless demo tools work without it. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add underdog -- npx -y underdog-api-mcp@0.1.0Add to
claude_desktop_config.json{
"mcpServers": {
"underdog": {
"args": [
"-y",
"underdog-api-mcp@0.1.0"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"underdog": {
"args": [
"-y",
"underdog-api-mcp@0.1.0"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"underdog": {
"args": [
"-y",
"underdog-api-mcp@0.1.0"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.underdog]
command = "npx"
args = ["-y", "underdog-api-mcp@0.1.0"]Remote (hosted)
Run in a terminal
claude mcp add --transport http underdog https://underdogapi.com/api/mcp --header 'Authorization: <Authorization>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"underdog": {
"args": [
"-y",
"mcp-remote",
"https://underdogapi.com/api/mcp",
"--header",
"Authorization: <Authorization>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"underdog": {
"headers": {
"Authorization": "<Authorization>"
},
"url": "https://underdogapi.com/api/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"underdog": {
"headers": {
"Authorization": "<Authorization>"
},
"type": "http",
"url": "https://underdogapi.com/api/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.underdog]
command = "npx"
args = ["-y", "mcp-remote", "https://underdogapi.com/api/mcp", "--header", "Authorization: <Authorization>"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: demo_board, demo_changes, credit_costs, get_coverage, get_board, get_odds, get_changes, get_line_history, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json