Pokerai API
v0.2.0Browse postflop cache coverage and read Flop, Turn and River GTO strategy for study.
Values you need
| Variable | What it is | |
|---|---|---|
POKERAI_API_KEY | required secret | Your Pokerai API key, from https://pokerai.bet/login. Billable calls spend your quota. |
POKERAI_ENABLE_SOLVE | optional | Set to 1 to expose the real-time solver tools, which spend the scarce solve quota. Off by default. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp -e 'POKERAI_API_KEY=<POKERAI_API_KEY>' -- npx -y --package=@pokerai/mcp@0.2.0 pokerai-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@pokerai/mcp@0.2.0",
"pokerai-mcp"
],
"command": "npx",
"env": {
"POKERAI_API_KEY": "<POKERAI_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@pokerai/mcp@0.2.0",
"pokerai-mcp"
],
"command": "npx",
"env": {
"POKERAI_API_KEY": "<POKERAI_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "POKERAI_API_KEY",
"id": "pokerai-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp": {
"args": [
"-y",
"--package=@pokerai/mcp@0.2.0",
"pokerai-mcp"
],
"command": "npx",
"env": {
"POKERAI_API_KEY": "${input:pokerai-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@pokerai/mcp@0.2.0", "pokerai-mcp"]
env = { "POKERAI_API_KEY" = "<POKERAI_API_KEY>" }For AI agents
- Ask the user for: POKERAI_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: preflop_versions, preflop_strategy, preflop_range, flop_tree, flop_node, postflop_cache_coverage, postflop_cache_query.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json