poker-solver
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Poker Solver
Post-session, educational heads-up NLHE decision analysis, with a deterministic Python solver and private MCP transport. This is a constrained river game, not full GTO or a calibrated opponent model. Realistic ranges, omitted betting lines, multiway play and off-equilibrium outcomes require separate assumptions and verification.
What works, and where
Capability | Current supported boundary |
Hosted river tools | Private |
Local river extensions | Opt-in river raises and exact-size hand review; separate numerical reference cases, not part of hosted river tool semantics. |
Local hand/range research | Hand reconstruction and action-frequency range explorer. Declared hypotheses, exact pot accounting and card conditioning; no population calibration, automatic range substitution or node locking. |
Experimental local turn | Turn/river solver, independent reference, resource/feasibility, and reuse experiments. Development only by default; source policy or near-neighbour EV is not necessarily target-game equilibrium. |
Optional hosted turn pilot | Separately configured |
Current work and remaining acceptance: GitHub Issues are the only actionable queue. #25 reuse has owner-merged research evidence pending issue disposition; #26 hosted turn remains open for a viable acceptance/release decision. Development scope explains future milestones without repeating PR histories. New solver correctness is not evidence of deployment, useful range modelling or working connected-client tools.
Related MCP server: MCP Poker
Standalone Liar's Dice research
Two-player 吹牛 / Liar's Dice probability enumeration and a restricted one-face CFR prototype are archived under experiments/liars_dice/, including rules, reproducible results and limitations. This experiment is not part of the NLHE solver or the hosted MCP service; Issue #40 tracks the full-rule research.
Local quickstart
Python 3.10+; CI and Render use 3.12.
python -m venv .venv
# Activate .venv (Windows: .venv\Scripts\Activate.ps1)
pip install -r requirements-dev.txt
python -m ruff check poker_spot tests scripts
python -m compileall -q poker_spot scripts
OPENBLAS_NUM_THREADS=1 python -m unittest discover -s tests -v
python -m poker_spot example.json
python scripts/acceptance.pyFor PowerShell, set $env:OPENBLAS_NUM_THREADS='1' before the tests. Windows restricted shells may block subprocess fixtures. All routine tests run with local/fictional data and no live provider keys. Numerical/independent benchmark reproduction and full evidence index explain the extra gates and recorded failures; a local green test is not provider acceptance.
MCP and hosted operations
Local stdio:
python -m poker_spot.mcp_serverwith rootplugin.json,mcp.jsonandskills/river-review/.Local HTTP: set
POKER_MODE=localand a randomPOKER_MCP_TOKENof at least 32 characters, then runuvicorn poker_spot.http_server:app --host 127.0.0.1 --port 8000 --workers 1. Send bearer auth and appropriate MCP content-type headers. Never use local-token mode on Render.Hosted: dedicated Free Render service and Auth0 Free, validating JWT signature, issuer, exact
/mcpaudience, expiry,poker:solveand approved subject. No unauthenticated solver calls./healthmeans liveness,/readyverifies configuration,/.well-known/oauth-protected-resourceadvertises OAuth, and/mcpruns the authorized Streamable HTTP tools.
One hosted worker at a time, 30 calculation starts/minute, 16 KiB request body, 20s wall/process time and Linux CPU/384 MiB address-space limits. Production river CFR permits at most 1,500 iterations, 180 combos per side and 22,500 pairs. The separate, narrower turn pilot has its own contract; do not conflate these limits. Free service cold starts may exceed connector timeouts; no paid plan is authorized.
See hosting and release, CI/deployment operations, and friends-only onboarding design for current instructions. A custom connector or approved account requires actual OAuth completion and a computed tool result before claiming ChatGPT/Claude acceptance. There is no runtime dependency on the trip-planning-engine project.
Read results correctly
solve_riveraction EVs use the half-starting-pot baseline. Compare actions at the same node; checking is endogenous. Reach can be zero, in which case an action EV isnull; don't interpret rare-node frequencies as precise predictions.evaluate_river_calluses pot before the bet: EV versus folding =equity * (pot + 2 * bet) - bet; required equity =bet / (pot + 2 * bet). It does not infer the opponent's betting range or solve equilibrium.Low NashConv measures exploitability inside the stated game only. £505 acceptance scenario uses explicitly hypothetical weighted arrivals, not an observed range. See benchmark evidence and limits.
This is a public MIT-licensed repository. Keep credentials and private hand/account data out of commits and artifacts; use post-session analysis only.
This server cannot be deployed
Maintenance
Related MCP Connectors
Historical tick, order book and settlement data for Polymarket and Predict.fun crypto up/down markets, plus smart-money lists and backtest quotes, over a read-only MCP server.
Live LinReg fan charts, 64-setup playbook, 11-section MTF TA. Remote MCP, no API key.
Connects Amazon Seller Central and Amazon Advertising to any MCP client. Settlement-accurate P&L - every fee, refund and reimbursement as Amazon posted it - plus contribution margin and breakeven per product, per marketplace, per day. Full Sponsored Products, Brands and Display management: search terms, placements, keyword and competitor research, dayparting, automation rules. 110 tools: 78 read-only (P&L, PPC at every grain, SQP/Brand Analytics, inventory, forecasting), 28 staged writes (every change is a proposal you review and confirm before it reaches Amazon - there is no autonomous-write mode), and 4 confirmation & support tools. 4 additional AI Workforce tools appear once a client is connected.
Connect any MCP client to MetaTrader 4/5 to read prices, manage positions, and place trades.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with the TexasSolver poker solver to run game theory optimal (GTO) poker calculations, load preflop ranges, and build game trees with structured parameters for analyzing poker hands and strategies.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides poker play recommendations by combining real-time Monte Carlo equity calculations with historical player tracking and exploit-based advice. It enables users to import PokerNow hand histories to analyze player tendencies and receive data-driven coaching for various game situations.3 npm1MIT
- FlicenseAqualityDmaintenanceEnables chess analysis and move generation using the Stockfish engine via MCP tools, allowing clients to evaluate positions, get best moves, apply moves, and visualize boards.7-
- AlicenseAqualityBmaintenanceMCP server for the Pokerai API providing solver-grade GTO strategy for 6-max No-Limit Hold'em, exposed as tools for LLM agents like Claude and Cursor.5708 npmMIT