Airogel Editor
Build and inspect browser-based 3D games: projects, scenes, Lua scripts, assets and publishing.
作者提供的说明(英文原文)
Australian sports odds from SockOdds API v1: bookmaker prices, best price and no-vig fair odds.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SOCKODDS_API_KEY, SOCKODDS_DEMO, SOCKODDS_TIMEZONE标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"sockodds": {
"command": "npx",
"args": [
"-y",
"sockodds-mcp"
],
"env": {
"SOCKODDS_API_KEY": "your-value",
"SOCKODDS_DEMO": "your-value",
"SOCKODDS_TIMEZONE": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add sockodds --env SOCKODDS_API_KEY=your-value --env SOCKODDS_DEMO=your-value --env SOCKODDS_TIMEZONE=your-value -- npx -y sockodds-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"sockodds": {
"command": "npx",
"args": [
"-y",
"sockodds-mcp"
],
"env": {
"SOCKODDS_API_KEY": "your-value",
"SOCKODDS_DEMO": "your-value",
"SOCKODDS_TIMEZONE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"sockodds": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"sockodds-mcp"
],
"env": {
"SOCKODDS_API_KEY": "your-value",
"SOCKODDS_DEMO": "your-value",
"SOCKODDS_TIMEZONE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
SOCKODDS_DEMO envSOCKODDS_TIMEZONE env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 jameselle 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:SOCKODDS_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.1.0)于25天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Airogel Editor, Prospre, RSS.com MCP by usefulapi
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Build and inspect browser-based 3D games: projects, scenes, Lua scripts, assets and publishing.
Log food, plan meals, fix the diary, build the grocery list and move macro targets in Prospre.
Read podcasts and episodes; create and edit episodes, chapters and transcripts in RSS.com.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Ask Claude "what are the odds on X right now" and get Australian bookmakers' prices, the best price and the no-vig fair price, from the SockOdds sports odds API (v1). The free key covers 3 bookmakers and 6 leagues; paid plans add more (pricing).
Version 1.0 speaks SockOdds API v1. Versions 0.x called the older v2 API, which SockOdds is retiring: once it is switched off, 0.x stops working. Update to 1.0: restart your MCP client so
npx -y sockodds-mcpfetches it, and if the server still starts as 0.x, point it atsockodds-mcp@latestonce. Your key carries over. See Upgrading from 0.x.
A free, open-source MCP server plus a Claude Code skill, built for the "$1M in 365 Days" series. MIT licence.
This transcript uses demo mode (SOCKODDS_DEMO=1), so the prices are invented samples, not real odds.
You: What are the odds on Lions v Crows?
Claude calls
find_eventwith{ "query": "Lions v Crows", "league_id": "afl" }:
`text
1. Brisbane Lions v Adelaide Crows (AFL)
Starts: Sat, 12 Sept 2026, 7:35 pm AEST (09:35 UTC)
Event ID: ev_kqe6aepys23z
`
You: Is 1.95 on the Lions a fair price?
Claude calls
fair_oddswith{ "event_id": "ev_kqe6aepys23z", "market": "h2h" }:
`text
No-vig fair odds: Head to head, from 3 bookmakers
Brisbane Lions: fair 2.03 (49.3% chance)
Adelaide Crows: fair 1.97 (50.7% chance)
Per bookmaker (margin, then its own no-vig prices):
Sportsbet: margin 5.3%, 2.03 / 1.97, seen 11 Sept 06:00:12 UTC
TAB: margin 5.0%, 2.01 / 1.99, seen 11 Sept 06:01:40 UTC
Unibet: margin 5.3%, 2.05 / 1.95, seen 11 Sept 05:59:03 UTC
`
Claude: The best Lions price is 1.95 at Unibet (read 05:59 UTC). With the bookmakers' margins taken out, the Lions come out at about 2.03, so 1.95 is a little shorter than the fair price. Odds change, so check the price at the bookmaker. 18+. Nothing here is a tip. Gamble responsibly: Gambling Help Online 1800 858 858.
| Tool | What it does |
|---|---|
list_leagues | Leagues SockOdds carries, with the league keys (afl, nrl, rlwc ...) the other tools take |
find_event | Turns "Broncos v Bulldogs" or "AFL grand final" into events with start times and event IDs (ev_...) |
get_odds | Each bookmaker's decimal prices for head to head, line and total, each with the time SockOdds saw it |
best_price | Best price for one side of one market, plus the field; prices at other lines are left out |
fair_odds | No-vig fair price for a two- or three-way market (see the method below); also works by hand with no API call |
fair_odds worksFor each bookmaker that prices every outcome at the same line, each price becomes an implied chance (1 / price). Those chances add up to more than 100%; the extra is the bookmaker's margin. Dividing each chance by the total removes the margin (the proportional method). The tool then averages each bookmaker's margin-free chances and turns them back into prices (1 / chance). It also shows each bookmaker's margin and the combined margin of the best prices.
The free plan's books are retail bookmakers, so this is an estimate of the chance, not a prediction. SockOdds API v1 publishes each bookmaker's price exactly as shown, margin included, so the fair price is always worked out here from those prices.
SockOdds API v1 has recorded price history (/v1/odds/history), but history is on the Pro plan and other plans get HTTP 403. The free key cannot read it, so this server does not include a line movement tool.
Get a free SockOdds key. No card needed. Sign-up asks for an Australian or international mobile number and sends a one-time SMS code to confirm it. The key is shown once, so copy it somewhere safe. To try the tools before signing up, set SOCKODDS_DEMO=1: every tool works on invented sample data, no key needed.
The free Developer plan, as stated on the pricing page and in plans and limits:
To stay inside that, this server caches every response for 60 seconds, never retries a failed request, and after a rate limit error (HTTP 429) refuses further calls until SockOdds' Retry-After time has passed. find_event reads events without prices (one object each) and asks for one league and a date window where it can. get_odds, best_price and fair_odds ask only for the markets they show, and every live answer says how many objects it used.
You need Node.js 20 or newer. The server is on npm as sockodds-mcp, so there is nothing to build.
claude mcp add sockodds --env SOCKODDS_API_KEY=your-key -- npx -y sockodds-mcp
No key yet? Try it on invented sample data first:
claude mcp add sockodds --env SOCKODDS_DEMO=1 -- npx -y sockodds-mcp
To add the skill, which tells Claude when to use the tools and how to quote prices:
mkdir -p ~/.claude/skills/sockodds-odds
curl -fsSL https://raw.githubusercontent.com/jameselle/sockodds-mcp/main/skill/SKILL.md -o ~/.claude/skills/sockodds-odds/SKILL.md
Add this to claude_desktop_config.json (Settings, Developer, Edit Config), then restart Claude Desktop:
{
"mcpServers": { "sockodds": { "command": "npx", "args": ["-y", "sockodds-mcp"], "env": { "SOCKODDS_API_KEY": "your-key" } } } }
For demo mode, swap the env block for "SOCKODDS_DEMO": "1".
Any client that runs a local (stdio) server: command npx, arguments -y sockodds-mcp, environment SOCKODDS_API_KEY. It is also listed in the official MCP Registry as io.github.jameselle/sockodds-mcp.
git clone https://github.com/jameselle/sockodds-mcp.git
cd sockodds-mcp npm install npm run build claude mcp add sockodds --env SOCKODDS_API_KEY=your-key -- node "$(pwd)/dist/src/index.js"
| Variable | Default | Meaning |
|---|---|---|
SOCKODDS_API_KEY | none | Your SockOdds key. Sent only as an Authorization: Bearer header, never in a URL. Without it the odds tools explain how to get one. |
SOCKODDS_DEMO | off | Set to 1 to try the tools with invented sample data and no key. Ignored when a key is set. |
SOCKODDS_TIMEZONE | Australia/Sydney | Time zone for start times (UTC is always shown too) |
SOCKODDS_BASE_URL | https://api.sockodds.com/v1 | API base URL. Leave it unset. An old setting pointing at /v2 will fail once v2 is retired: remove it. |
npm install
npm test
Tests use Node's built-in test runner with a fake fetch. They cover the fair odds maths, best price selection, parsing of the example responses from the SockOdds v1 docs, the v1 paths and query names, every error status, and the MCP tools end to end. No test calls the live API.
docs/API-NOTES.md lists every endpoint and field this server relies on, with links to the SockOdds docs. fixtures/docs/ holds example responses copied from those docs; fixtures/demo/ holds invented data in the same shape for demo mode.
SockOdds now groups odds by market by default: each market and outcome once, with every bookmaker's price under it. 1.1.0 reads that shape as well as the older one, so the answers are the same as in 1.0.0. The first odds answer reads the bookmaker list once for display names, and its usage line counts those objects.
Version 1.0.0 moves from the retired v2 API to SockOdds API v1. What changes for you:
Authorization: Bearer instead of x-api-key.ev_000ckk0nc1tg. IDs from 0.x (such as afl_2026-09-12_...) are not translated, so run find_event again.afl, nrl, rlwc, australian_football. find_event and list_leagues still accept plain names such as "AFL" or "Rugby League World Cup".betfair_exchange.oc_... ID that get_odds shows with all_markets) in place of odd_id.get_odds or best_price next.fair_odds works out the no-vig price from them, as before.The tool names (list_leagues, find_event, get_odds, best_price, fair_odds) and the settings are unchanged.
package.json (version, mcpName) and server.json (version, packages[0].version) must carry the same version. To release:
npm test
npm publish mcp-publisher login github mcp-publisher publish
server.json lists this server in the official MCP Registry as io.github.jameselle/sockodds-mcp, and the registry checks that the npm package's mcpName matches. glama.json names the maintainers of the Glama listing.
18+. Odds change all the time and nothing this tool shows is a tip or advice. If gambling is causing you or someone close to you harm, call Gambling Help Online on 1800 858 858 or visit gamblinghelponline.org.au. You can exclude yourself from Australian online bookmakers at BetStop.
MIT. See LICENSE.