Pokerai API

io.github.pokerai-bet由 GitHub 帳號 pokerai-bet 發布v0.1.4更新於 Nov 6, 2026

Solver-grade GTO strategy for study. Real-time assistance (RTA) at real-money tables is prohibited.

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

概覽

AI 產生的概覽

Pokerai API 的 MCP 伺服器,讓助理查詢 6-max 無限注德州撲克的求解器級 GTO 翻前與翻牌策略,供學習研究使用。

可以做什麼
  • 列出可選的翻前策略表版本與其預設版本
  • 查詢某手牌面對特定翻前行動線的 GTO 蓋牌/跟注/加注頻率與尺度
  • 取得某位置與行動線對應的全部 169 種手牌類型範圍
  • 取得翻牌決策樹與節點權杖,再依節點讀取策略(可指定或不指定具體手牌)
  • 啟用後可排程即時求解,並讀取求解節點與各手牌 EV
適用情境
適合撲克學習、教練、複盤工具與研究情境,需要真實的預先求解 GTO 頻率而非助理猜測時,用於 6-max 100bb 無限注德州撲克的翻前與翻牌局面。
執行需求
透過 npx 以 stdio 在本機執行(需 Node.js),於用戶端的 MCP 設定中配置。需要 POKERAI_API_KEY 環境變數中的 Pokerai API 金鑰,可從服務商登入頁取得。需要連線至 Pokerai API 的網路。僅當 POKERAI_ENABLE_SOLVE 設為 1 時才提供即時求解工具。
安裝前請注意
會消耗你自己的額度:每次預先求解查詢消耗 1 次預先求解額度(免費版每月 10 次),即時求解消耗更稀少的求解額度(免費版每月 5 次)。POKERAI_API_KEY 是密鑰,會傳送給服務商 API。服務商禁止在真錢牌桌使用即時輔助,僅限學習用途。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

@pokerai/mcp

MCP server for the Pokerai API — solver-grade GTO strategy for 6-max No-Limit Hold'em, exposed as tools your LLM agent (Claude, Cursor, Claude Code, …) can call.

Ask "what's GTO for AKs on the button facing a UTG open?" and the agent gets real presolved frequencies, not a guess.

Setup

You need a Pokerai API key — get one free at https://pokerai.bet/login.

The server runs over stdio via npx, so there's nothing to install globally.

Claude Desktop

Add to claude_desktop_config.json (Settings → Developer → Edit Config):

json
{  "mcpServers": {    "pokerai": {      "command": "npx",      "args": ["-y", "@pokerai/mcp"],      "env": { "POKERAI_API_KEY": "gto_your_key_here" }    }  }}

Claude Code

bash
claude mcp add pokerai -e POKERAI_API_KEY=gto_your_key_here -- npx -y @pokerai/mcp

Cursor

~/.cursor/mcp.json (or Settings → MCP), same shape as the Claude Desktop block above.

Tools

Presolved lookups (spend your presolved quota — 10/mo on the free tier):

ToolWhat it returns
preflop_versionsselectable strategy chart sets (free)
preflop_strategyfold/call/raise frequencies for a hand vs an action line
preflop_rangethe whole 169-hand-type range for a position + line
flop_treeflop decision tree (nodes carry tokens); optional flop_version picks the dataset
flop_nodestrategy at one flop node (with or without a hero hand)

Real-time solver (flop/turn/river) — off by default because it spends the scarce solve quota (5/mo on the free tier). Enable with POKERAI_ENABLE_SOLVE=1:

ToolWhat it returns
solve_scheduletrigger an on-demand solve (costs 1 solve quota)
solve_treepoll the solve + get its nodes
solve_nodestrategy at one solved node
node_evsper-hand, per-action EVs at a node

Environment

VarPurpose
POKERAI_API_KEYrequired — your key from https://pokerai.bet/login
POKERAI_ENABLE_SOLVEset to 1 to expose the real-time solver tools
POKERAI_API_BASEoverride the API base (default https://pokerai.bet)

Notes

  • The server authenticates with your key and spends your quota — it holds no shared credential and has no abuse surface of its own.
  • stdout is the MCP protocol channel; the server logs only to stderr.

About Pokerai API

Pokerai API provides solver-grade GTO strategy and poker computation APIs for training products, review tools, coaches, researchers, and AI agents.

Free tier: 10 presolved lookups + 5 real-time solves per month.

Real-time assistance (RTA) at real-money tables is prohibited.

MIT licensed. Docs: https://pokerai.bet/docs · Reference: https://pokerai.bet/reference

來源:README.md,提交 07a86c5

工具

5

preflop_versions

List preflop strategy versions

The selectable preflop_version values (id + human label) and which is the default. Free (no quota). Call this before assuming a version id.

無需輸入參數。

preflop_strategy

Preflop GTO strategy for a hand

GTO mixed strategy (fold/call/raise frequencies + sizes) for a specific hand facing a preflop action line, 6-max 100bb. Charges 1 presolved quota. The situation (RFI/3-bet/4-bet/...) is derived from the actions.

輸入參數hero必填hole_cards必填preflop_actions必填preflop_version

preflop_range

Whole preflop range for a spot

The full 169-hand-type range (fold/call/raise per hand type: AA, AKs, AKo, ...) for a position + action line. No hole_cards. Charges 1 presolved quota (one call, not 169).

輸入參數hero必填table_sizepreflop_actions必填preflop_version

flop_tree

Flop decision tree

Starting ranges + every decision node for a flop spot. In the response each node has `node`, its path (e.g. root/CHECK), and `token`; pass `token` as the `node` argument of flop_node. Charges 1 presolved quota. Single-street (for turn/river use the solver tools).

輸入參數board必填pot_type必填positions必填flop_version

flop_node

Flop node strategy

Strategy at one flop decision-tree node. Pass a `node` token minted by flop_tree. With hole_cards → that hand's mixed strategy at the node; omit → the node's whole-range strategy. Free (token-gated).

輸入參數node必填hole_cards

版本歷史

3
  1. v0.1.4最新Nov 5, 2026
  2. v0.1.3Nov 1, 2026
  3. v0.1.2Oct 31, 2026

評分

已滿足適用檢查項的 90%

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

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

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

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分