Kingsplaybook Mcp

io.github.kingplaybookHQadmin1由 GitHub 帳號 kingplaybookHQadmin1 發布v0.1.0更新於 Oct 24, 2026

Kings Playbook sports API for AI agents: NBA/MLB/NHL lineups, projections, and lines.

已驗證STDIO僅桌面金融資料與分析

概覽

AI 產生的概覽

本機 MCP 伺服器,讓 AI 助理取得 KingsPlaybook 體育資料:NBA、MLB、NHL 陣容、球員預測、比賽盤口與推薦歷史。

可以做什麼
依聯盟與日期取得已確認陣容(NBA、MLB、NHL)。取得預測引擎輸出的原始球員預測。取得跨博彩公司彙整的標準比賽盤口(勝負盤、讓分、總分)。查詢公開發布的推薦歷史紀錄,含結果與收盤盤口。查看各資料領域的資料新鮮度訊號。
適用情境
適合在建立或執行體育博彩機器人、模型或分析工具時使用,需要依聯盟與日期取得陣容、預測、盤口或歷史推薦,且已擁有 KingsPlaybook API 金鑰。
執行需求
透過 stdio 在本機執行,通常以 npx 從 npm 套件 kingsplaybook-mcp 啟動,需要 Node.js。需要在 KINGSPLAYBOOK_API_KEY 環境變數中提供 KingsPlaybook API 金鑰,可於開發者網站註冊取得。需要連線至 KingsPlaybook API;可用 KINGSPLAYBOOK_API_URL 覆寫預設基礎網址。方案等級決定哪些工具可用。
安裝前請注意
需要密鑰 API 金鑰(KINGSPLAYBOOK_API_KEY),應避免寫入共用設定。免費方案僅含陣容;預測、盤口與推薦歷史需付費方案,超出方案的呼叫會回傳 403 及升級連結。查詢內容與金鑰會傳送至 KingsPlaybook API。資料為唯讀,未描述寫入或刪除操作。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Kingsplaybook Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

其他 MCP 客戶端

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

README

kingsplaybook-mcp

The official MCP server for the KingsPlaybook Developer API. It gives an AI agent — one building a sports-betting bot, a model, or an analytics tool — direct access to KingsPlaybook's data as native tools:

  • Confirmed lineups — NBA, MLB, NHL
  • Player projections — the projection engine's raw output
  • Canonical game lines — moneyline / spread / total, aggregated across books
  • Pick-history archive — the publicly-posted record, with results + closing lines

It's a thin local (stdio) wrapper over the /v1 REST API. Same data, second protocol.

Get an API key

Sign up at kingsplaybook.org/devs. The Free tier covers lineups; paid tiers add projections, lines, and history. Your key looks like kp_live_….

Install

No install step — run it straight from npm with npx. Add it to your MCP client config (Claude Desktop, Cursor, etc.):

json
{  "mcpServers": {    "kingsplaybook": {      "command": "npx",      "args": ["-y", "kingsplaybook-mcp"],      "env": {        "KINGSPLAYBOOK_API_KEY": "kp_live_your_key_here"      }    }  }}

That's it — the agent now has the KingsPlaybook tools.

Tools

ToolWhat it returnsMin. plan
kingsplaybook_get_lineupsConfirmed lineups for a league + dateFree
kingsplaybook_get_projectionsRaw player projections for a league + dateStarter
kingsplaybook_get_linesCanonical game lines for a league + datePro
kingsplaybook_get_pick_historyPosted picks + results for a datePremium
kingsplaybook_get_freshnessPer-domain data-age signalFree

Every tool returns JSON. Calling a tool above your plan tier returns a clear 403 message with an upgrade link.

Examples

  • "What's tonight's NBA slate look like?" → kingsplaybook_get_lineups({ league: "nba", date: "2026-05-21" })
  • "Pull MLB projections for today" → kingsplaybook_get_projections({ league: "mlb", date: "2026-05-21" })
  • "How did KingsPlaybook's prop picks do yesterday?" → kingsplaybook_get_pick_history({ date: "2026-05-20", type: "prop" })

Configuration

Env varRequiredDefaultPurpose
KINGSPLAYBOOK_API_KEYyes—Your kp_live_ API key
KINGSPLAYBOOK_API_URLnohttps://api.kingsplaybook.orgOverride the API base URL

Local development

bash
npm installnpm run build      # compile TypeScript to dist/npm start          # run the built server (needs KINGSPLAYBOOK_API_KEY)npm run dev        # watch mode

Links

License

MIT

來源:README.md,提交 37716c5

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分