
Odds Api Mcp Server
io.github.odds-api-io由 GitHub 帳號 odds-api-io 發布v1.8.3更新於 Nov 7, 2026
Odds from 450+ bookmakers across 34 sports: odds, closing lines, settlement, golf outrights.
概覽
本機 MCP 伺服器,透過 Odds-API.io 介面讓助理取得 34 種運動、450 多家博彩公司的賽前與即時賠率。
- 可以做什麼
- 查詢運動項目、聯盟、盤口、博彩公司與參賽者,搜尋或取得賽事(含進行中的賽事)。
- 取得單場或多場賠率、賠率彙總、賠率變動以及近期更新的賠率。
- 找出價值投注、套利機會與賠率下跌,並取得歷史賽事、收盤賠率與歷史賠率。
- 查詢投注結算狀態、判定一批投注,並讀取高爾夫冠軍盤賠率與結果。
- 管理 API 金鑰上的博彩公司選擇,查看每小時請求額度與介面文件。
- 適用情境
- 適合讓助理直接查詢價格、比較不同博彩公司、篩選價值或套利機會、查看盤口走勢,或對投注進行判定與回測,而不必自行撰寫介面呼叫。
- 執行需求
- 透過 npx 或全域 npm 安裝後在本機執行(需 Node.js)。需要付費的 Odds-API.io 方案與 API 金鑰,金鑰以環境變數 ODDS_API_KEY 提供;需能連線至 Odds-API.io v3 介面。賠率彙總、收盤賠率、高爾夫冠軍盤等功能需更高方案或附加元件。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Odds Api Mcp Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Odds-API.io MCP Server
MCP server for the Odds-API.io sports betting odds API. It gives Claude, Cursor, VS Code and other AI agents live and pre-match odds from 450+ bookmakers across 34 sports, plus odds summaries, closing lines, bet settlement, golf outrights, value bets, arbitrage and dropping odds.
Quickstart
-
Get an API key at odds-api.io/pricing.
-
Add the server to Claude Code:
-
Ask: "Show me upcoming Premier League matches with Bet365 odds."
Setup for Claude Desktop, Cursor and VS Code is below.
Get an API key
The server needs an Odds-API.io API key from a paid plan. Pick a plan at odds-api.io/pricing, then pass the key as the ODDS_API_KEY environment variable.
Full AI-tooling docs: docs.odds-api.io/ai-vibe-coding
Features
- 33 tools covering every public Odds-API.io v3 REST endpoint: sports, markets, events, odds, odds summaries, line movements, value bets, arbitrage, dropping odds, historical events and odds, closing lines, bet settlement, golf outrights, participants, bookmaker id mappings and request quota. The WebSocket stream and the participant logo image are not tools; use the REST equivalents.
- Built for agents: every tool says what to call first, what plan or add-on it needs and what it returns. Read tools carry
readOnlyHint; onlyselect_bookmakersandclear_selected_bookmakerschange anything. - Small responses: compact JSON, a
marketsfilter on every odds tool, andfields/maxResultson list tools. - Clear errors: a 403 (missing plan or add-on) or 429 (hourly limit) comes back with the API's own message and an instruction not to retry blindly.
- Key safety: the key is read from
ODDS_API_KEYonly. No tool takes it as an argument, and it is masked as***in every output and error. - Agent guide in
skills/odds-api/SKILL.md: call order, caching, quotas and 429 handling. Also served as theodds-api://guideresource and, in short form, as the server'sinstructions.
Install in your client
One-Click Install (Claude Desktop)
Download the latest .mcpb file from Releases and open it. Claude Desktop will prompt you for your API key.
Claude Code CLI
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):
Cursor
Add to your Cursor MCP settings (.cursor/mcp.json in your project or global config):
VS Code
Add to your VS Code settings (.vscode/mcp.json):
Global Install (alternative)
Then use odds-api-mcp-server as the command instead of npx -y odds-api-mcp-server.
Configuration
Requests go to https://api.odds-api.io/v3. Each tool call is one API request against your hourly limit (multi-event tools count as one).
Available Tools
Catalogue
Events
Odds
Analysis
Historical and closing lines
Settlement
Outrights (golf)
Participants and mappings
Account and reference
Outrights
Golf outright odds and results are the Outrights add-on on paid plans. Call list_outrights with sport: "golf" for tournament ids, then get_outright_odds with the id and your bookmakers. Markets: Winner, Top 5, Top 10, Top 20 (boundary ties under the bookmaker's dead-heat rules), Top 5 (Incl. Ties), Top 10 (Incl. Ties), Top 20 (Incl. Ties) (ties paid in full) and Make Cut (only for events with a cut). A full field is 150+ golfers per market, so pass markets and maxRunners. get_outright_results lists every golfer's position and the winners per market once the tournament is settled.
Without the add-on the API answers 403 with a link to enable it; the server passes that message through and tells the agent to relay it rather than retry.
Closing lines
get_closing_lines returns closing odds for every settled event across up to 10 leagues in one request, over up to 366 days, so a season fits in one sweep (100 events per response; page with limit and skip). Use it for closing line value (CLV) and model backtests. For a single match use search_historical_events and get_historical_odds. Paid plans.
Prompts
Resources
Example Usage
Once configured, ask your AI assistant things like:
- "Show me upcoming Premier League matches"
- "Get ML and totals odds for the next Arsenal match from Bet365 and SingBet"
- "Where is the best price on the Lakers game, and what is the fair price?"
- "Find value bets on Bet365 in baseball"
- "Are there arbitrage opportunities over 1% between Bet365 and Unibet in football?"
- "Show me how the spread moved for event 12345"
- "Give me Premier League closing lines for last season from Bet365"
- "Did these three bets win?"
- "Who is favourite to win the next PGA Tour event, and what are the Top 10 prices?"
- "How many requests do I have left this hour?"
Development
License
MIT
Links
- Odds-API.io - Main website
- Documentation - API docs
- API Reference - Swagger/OpenAPI
- npm - Package registry
來源:README.md,提交 7712034
工具
0版本歷史
4- v1.8.3最新Nov 7, 2026
- v1.6.0Oct 13, 2026
- v1.5.3Sep 21, 2026
- v1.5.2Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分