AI Ball — AI football match analysis

io.github.aiballfootyv0.2.0更新於 Oct 4, 2026

Football match outcome probabilities recorded before kick-off, and an open record of results.

已驗證STDIO僅桌面FinanceData & Analytics

概覽

AI 產生的概覽

唯讀存取 AI Ball 在開賽前記錄的足球比賽機率,以及其公開的賽果紀錄。

功能
提供三個唯讀工具:list_matches 回傳某個日曆日的賽事,含 match_id、開賽時間、聯賽、球隊與狀態;get_match_analysis 回傳單場比賽開賽前記錄的主勝/和/客勝機率、最可能結果、信心度與記錄時間,賽後另給比分及是否命中;get_open_record 回傳全部或某一週的紀錄,含比賽數、命中數、兩個基準以及依信心度分組的計數。名稱支援英文與馬來文,回應由固定欄位清單組成。
適用情境
適合讓助理查詢已記錄的足球機率,或檢視該模型最可能結果的實際表現,包括與熱門基準及三分之一隨機基準的比較。它是紀錄查詢,不是即時賠率或投注資料來源。
執行需求
透過 stdio 在本機執行,需要 Node.js 18 或以上版本。不需要帳號或 API 金鑰。它會經由網路呼叫 AI Ball 的公開紀錄 API,因此需要連網。可用 AIBALL_API_BASE 指向其他基礎網址。
安裝前請注意
所有工具皆為唯讀,不會索取任何憑證。請求送往 AI Ball 的公開 API,攜帶工具參數(日期、時區、語言)與 User-Agent,不含你的對話或檔案;服務方保留一般存取日誌。機率在開賽前記錄,upcoming 賽事已鎖定,pending 賽事所帶讀數仍可能變動。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 AI Ball — AI football match analysis,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

AI Ball MCP server

Read-only Model Context Protocol server for AI Ball, AI football match analysis.

It gives an AI assistant two things:

  • Pre-kick-off outcome probabilities. For each match, the model's home / draw / away probabilities as recorded before kick-off.
  • The open record. What happened afterwards: the final score and whether the model's most likely outcome came in. Misses are counted the same way as hits, and nothing is removed after the fact.

No account, no API key. The server only calls AI Ball's public record API.

Tools

ToolWhat it returns
list_matchesOne calendar day: match_id, kick-off time, league, teams and status (upcoming, pending or finished)
get_match_analysisOne match: home / draw / away probabilities recorded before kick-off, the most likely outcome, confidence, when the read was captured, and once played the score and whether it came in
get_open_recordThe whole record, or one week with week_start: matches counted, how many went the model's way, two baselines on the same matches, and the count by confidence band

Every tool is read-only (readOnlyHint: true). Names are available in English (lang: "en") and Malay (lang: "ms"). Responses are built from a fixed list of fields; nothing from the upstream API is passed through as-is.

Reading the numbers

  • models.balanced holds fractions for home, draw and away that sum to 1. This version returns the balanced model; models_available lists what is included.
  • result.hit is true when the model's most likely outcome happened.
  • hit_rate is a percentage. null means the sample is under min_band_sample, so use the counts hits and n instead.
  • favourite_baseline scores the same matches by always taking the pre-match favourite; random_baseline is one outcome in three.
  • upcoming matches are locked before kick-off. pending matches carry a current read that may still change.

The server caches each upstream response for five minutes and spaces its requests, so repeated questions do not hit AI Ball's API again.

Install

Claude Desktop

Download aiball-mcp.mcpb from the latest release and open it.

Claude Code

bash
claude mcp add aiball -- npx -y github:aiballfooty/aiball-mcp

Cursor, VS Code and other clients

json
{  "mcpServers": {    "aiball": {      "command": "npx",      "args": ["-y", "github:aiballfooty/aiball-mcp"]    }  }}

Requires Node.js 18 or later.

Example questions

  • "How did AI Ball's model do on last week's matches?"
  • "Which of last week's matches did the model get wrong?"
  • "What are the model's probabilities for today's matches, in Malaysia time?"
  • "Across the whole record, does the model do better than always taking the favourite?"

Privacy

The server runs on your machine and sends requests only to https://aiball.samagent.ai/api/v1. Requests carry the tool's parameters (a date, a time zone, a language) and a User-Agent of aiball-mcp/<version>. They do not carry your conversation, your files or any identifier. AI Ball's web server keeps standard access logs. Site privacy policy: https://aiball.samagent.ai/en/privacy

Development

bash
npm installnpm test        # starts the server and calls every tool against the live API

Set AIBALL_API_BASE to point the server at another base URL.

Licence

MIT. For information only. Not advice. 18+.

來源:README.md,提交 a80d82b

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v0.2.0最新Oct 4, 2026