HoopsAPI basketball odds
Live basketball odds from 6 bookmakers: NBA, EuroLeague and 100+ competitions, plus closing lines
我该使用它吗
质量与安全性
发现(1)
- LOW在 get_game 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"basketball-odds": {
"url": "https://hoopsapi.com/mcp"
}
}
}远程端点
https://hoopsapi.com/mcpstreamable-http它能做什么
工具清单
工具(6)
🟢list_competitions
Basketball competitions that have upcoming games with odds, with the number of games in each. Use it to find the exact competition name for the other tools.
输入模式
{
"type": "object",
"properties": {}
}🟢list_games(competition, include_periods)
Upcoming games in one competition with each bookmaker's main moneyline, handicap (spread, line = home team's handicap) and total, in decimal odds. Full game only unless include_periods is true.
输入模式
{
"type": "object",
"properties": {
"competition": {
"type": "string",
"description": "Competition name, case-insensitive, e.g. \"NBA\" or \"Europe - Euroleague\" (see list_competitions)"
},
"include_periods": {
"type": "boolean",
"description": "Also return halves and quarters (larger response)",
"default": false
}
},
"required": [
"competition"
]
}🟢get_game(game_id, include_alternate_lines)
One game by id with every bookmaker's main lines for every period. Works for finished games too, returning their closing odds.
输入模式
{
"type": "object",
"properties": {
"game_id": {
"type": "integer"
},
"include_alternate_lines": {
"type": "boolean",
"description": "Also return every alternate handicap and total line (larger response)",
"default": false
}
},
"required": [
"game_id"
]
}🟡get_game_history(game_id, provider, market, period, limit)
Every price change for a game, newest first (Data plan). Use it for line movement and closing odds.
输入模式
{
"type": "object",
"properties": {
"game_id": {
"type": "integer"
},
"provider": {
"type": "string",
"description": "Only this bookmaker, e.g. pinnacle (see list_providers)"
},
"market": {
"type": "string",
"enum": [
"moneyline",
"spread",
"total",
"team_total_home",
"team_total_away"
]
},
"period": {
"type": "string",
"enum": [
"ft",
"h1",
"h2",
"q1",
"q2",
"q3",
"q4"
]
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 5000,
"default": 100
}
},
"required": [
"game_id"
]
}🟢list_discrepancies(competition, period, limit)
The biggest cross-bookmaker differences on main lines for upcoming games: moneyline prices, handicap lines and totals (Pro and Data plans).
输入模式
{
"type": "object",
"properties": {
"competition": {
"type": "string"
},
"period": {
"type": "string",
"enum": [
"ft",
"h1",
"h2",
"q1",
"q2",
"q3",
"q4"
],
"default": "ft"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 5
}
}
}🟢list_providers
The bookmakers covered and when each was last collected.
输入模式
{
"type": "object",
"properties": {}
}社区
证据