跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 The Odds API,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
The Odds API (the-odds-api.com) v4:来自美国、英国、欧盟和澳大利亚博彩公司的足球、NFL、NBA、MLB、NHL、网球等赛事赔率,包含球员盘口的单场赛事赔率、实时比分、参赛方和历史赔率。不是 odds-api.io 服务。
试试这样问
The Odds API 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → The Odds API、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
The Odds API + Meta Muse
The Odds API (the-odds-api.com) v4:来自美国、英国、欧盟和澳大利亚博彩公司的足球、NFL、NBA、MLB、NHL、网球等赛事赔率,包含球员盘口的单场赛事赔率、实时比分、参赛方和历史赔率。不是 odds-api.io 服务。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
THE_ODDS_API_KEY
步骤 1 — 获取凭证
设置大约需要 2 分钟。你需要一个 the-odds-api.com 的 API 密钥。它有每月 500 积分的免费套餐;历史赔率需要付费套餐。
- 在 the-odds-api.com 注册。密钥会通过电子邮件发送给你,也会显示在你的账户页面上。
- 把它粘贴到
THE_ODDS_API_KEY:32 位小写十六进制字符。连接器通过查询参数apiKey发送它,它永远不会作为工具参数出现。 - 安装连接器并运行
the_odds_api_list_sports:它会列出各项运动和赛事,以及其他工具需要的运动键,且不消耗积分。
不是 odds-api.io 服务:AnythingMCP 还有一个用于 odds-api.io 的 Odds API 连接器。这个连接器用于 the-odds-api.com 的 The Odds API:如果你的密钥来自那里,就用这个。
可读取的内容:美国、英国、欧盟和澳大利亚博彩公司对足球、美式橄榄球、篮球、棒球、冰球、网球、板球、MMA 等的赔率;胜负、让分、大小分和冠军等长期盘口;单场赛事在任何盘口的赔率,包括球员盘口、替代盘口和分节盘口;实时比分和最近 1 到 3 天的赛果;某项运动的球队和球员;以及在付费套餐下,过去某一时刻的赔率和赛事(2020 年 6 月以来的快照)。
每次调用都会消耗积分:大多数调用会消耗每月额度中的积分,每次返回都会显示余额:剩余积分、已用积分和本次调用的花费。AI 会留意余额,快用完时提醒你。
- 免费:
the_odds_api_list_sports和the_odds_api_list_events。 - 1 积分:
the_odds_api_get_scores(包含过去几天的赛果时为 2)、the_odds_api_get_event_markets、the_odds_api_list_participants和the_odds_api_get_historical_events。 - 赔率:盘口数量乘以地区数量。一个地区的一个盘口花费 1;在美国和欧盟同时查询胜负、让分和大小分花费 6。逐个指定最多十家博彩公司算作一个地区。AI 会从一个盘口、一个地区开始。
- 历史赔率(仅付费套餐):每个盘口每个地区 10 积分。每次这类调用前,AI 都会先问你。
常见流程:先找运动键(soccer_epl、basketball_nba、americanfootball_nfl),再用免费的赛事列表获取赛事 ID 和开赛时间,然后用 the_odds_api_get_odds 查询整项运动,或用 the_odds_api_get_event_markets 和 the_odds_api_get_event_odds 查询单场比赛及其球员盘口。
只读,不下注:所有工具都只读取数据。没有工具会下注或更改你的账户,因此无需确认,安装时也没有被关闭的工具。赔率仅供参考,不构成投注建议。
如何看赔率:除非你要求美式赔率,赔率均为小数赔率。隐含概率等于 1 除以小数赔率。足球胜负盘有三种结果,包括平局。赔率随时变化,每家博彩公司都带有最后更新时间,所以 AI 会告诉你赔率有多新。时间为 UTC,AI 会换算成你的时区。
限制:除了每月积分,同时发出过多请求会返回 429;AI 会等一秒后重试。
常见错误:401 表示密钥缺失或错误,或本月积分已用完。422 表示参数无效,例如未知的盘口或地区,或在没有历史数据的套餐上调用历史接口。赛事返回 404 表示比赛已开始或已结束,不再列出。
该连接器不会下注,不会管理你在 the-odds-api.com 的账户或套餐,也不会告诉你该押什么。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Muse 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Muse 以自定义连接器的形式添加远程 MCP 服务器,并通过 OAuth 登录。
- 在 Muse 中打开 Settings → Connectors,选择 Add custom connector。
- 粘贴 MCP 服务器 URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。 - Muse 会打开 AnythingMCP 的登录页面:登录并批准访问。
- 在聊天中,向 Muse 提出需要用到
The Odds API的工具的请求。
你也可以在聊天中完成设置,适用于网页版、iOS 和 Android 应用以及 WhatsApp。给 Muse 发送这条消息:
Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth
自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Muse 从 Meta 的云端连接,因此 localhost 无法使用。
可用工具
| Tool | What it does |
|---|---|
the_odds_api_list_sports | Sports and competitions The Odds API covers, with the sport key the other tools need, group, title, whether it is in season and whether it… |
the_odds_api_list_events | Upcoming and live events of a sport with event id, teams and start time, without odds |
the_odds_api_get_odds | Odds for the upcoming and live games of a sport from many bookmakers, per market (h2h, spreads, totals, outrights) |
the_odds_api_get_scores | Live scores and, with days_from, results of games completed in the last 1 to 3 days for a sport |
the_odds_api_get_event_odds | Odds of one event in any market the bookmakers offer, including player props, alternate lines and period markets (e.g. player_pass_tds… |
the_odds_api_get_event_markets | Which market keys each bookmaker currently offers for one event, to pick markets for the_odds_api_get_event_odds |
the_odds_api_list_participants | Teams or players of a sport with their participant id, as The Odds API names them |
the_odds_api_get_historical_odds | Odds of a sport as they were at a past moment (snapshots since June 2020) |
the_odds_api_get_historical_events | Events of a sport as listed at a past moment, with their event ids, for the historical event odds tool |
the_odds_api_get_historical_event_odds | Odds of one event in any market as they were at a past moment (props and extra markets from May 2023) |
示例提示
- “比较欧洲博彩公司对阿森纳对切尔西的胜负赔率,并给出隐含概率。”
- “今晚每场 NBA 比赛,哪家博彩公司的独赢赔率最高?”
- “下周一晚上那场 NFL 比赛有哪些球员盘口?查询要花多少积分?”
- “昨晚 NHL 的比赛结果是什么?”
- “我这个月还剩多少积分?”
FAQ
Muse 在哪些地区可用? Meta 目前在美国和加拿大提供 Muse,可在网页版、iOS 和 Android 应用以及 WhatsApp 中使用。
Meta 会审核这个连接器吗? 不会。Meta 不审核自定义连接器。Muse 只能看到你在 AnythingMCP 中为此 MCP 服务器启用的工具,你也可以随时在 Settings → Connectors 中断开它。
下一步
这份指南对你有帮助吗?