Pokerai API

Official registry Other

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

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package @pokerai/mcp
Claude Code
claude mcp add pokerai-api -e 'POKERAI_API_KEY=<your pokerai_api_key>' -e 'POKERAI_ENABLE_SOLVE=<POKERAI_ENABLE_SOLVE>' -- npx -y @pokerai/mcp@0.1.2
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "pokerai-api": {
            "command": "npx",
            "args": [
                "-y",
                "@pokerai/mcp@0.1.2"
            ],
            "env": {
                "POKERAI_API_KEY": "<your pokerai_api_key>",
                "POKERAI_ENABLE_SOLVE": "<POKERAI_ENABLE_SOLVE>"
            }
        }
    }
}

Environment variables

  • POKERAI_API_KEY required secret Your Pokerai API key, from https://pokerai.bet/login. Calls spend your own quota.
  • POKERAI_ENABLE_SOLVE Set to 1 to expose the real-time solver tools, which spend the scarce solve quota. Off by default.

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. @pokerai/mcp
  2. Setup
  3. Tools
  4. Environment
  5. Notes
  6. About Pokerai API

@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):

{
  "mcpServers": {
    "pokerai": {
      "command": "npx",
      "args": ["-y", "@pokerai/mcp"],
      "env": { "POKERAI_API_KEY": "gto_your_key_here" }
    }
  }
}
Claude Code
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 — 1000/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)
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 (25/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: 1,000 presolved lookups + 25 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

Frequently asked questions

What is Pokerai API?

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

How do I install Pokerai API?

It runs on your machine. In Claude Code: claude mcp add pokerai-api -e 'POKERAI_API_KEY=<your pokerai_api_key>' -e 'POKERAI_ENABLE_SOLVE=<POKERAI_ENABLE_SOLVE>' -- npx -y @pokerai/mcp@0.1.2. For other clients, paste the JSON configuration from this page into their MCP settings.

Does Pokerai API need an API key?

Yes. It expects POKERAI_API_KEY, which you set in its configuration.

Is Pokerai API open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains Pokerai API?

It is published by pokerai-bet. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.