Games
Simulate Texas Hold'em equity against random opponents, estimate win and tie rates, and list next-card improvement outs
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/poker-out-simulator' \
-H 'Content-Type: application/json' \
-d '{"heroCards":"Ah Kh","communityCards":"Qh Jh 2c","opponents":1,"simulations":5000}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/poker-out-simulator| Name | Type | Required | Description |
|---|---|---|---|
| heroCards | text | Yes | Enter exactly 2 hole cards separated by spaces. Format: rank + suit, for example Ah Kh, As Ad, 9c 9d. Ranks: A K Q J T 9-2. Suits: h hearts, d diamonds, c clubs, s spades. |
| communityCards | text | No | Enter 0 to 5 board cards separated by spaces, for example Qh Jh 2c or Qh Jh 2c Td 9s. Use the same rank+suit notation as the hole cards field. |
| opponents | number | Yes | — |
| simulations | number | Yes | — |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-poker-out-simulator": {
"name": "poker-out-simulator",
"description": "Simulate Texas Hold'em equity against random opponents, estimate win and tie rates, and list next-card improvement outs",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=poker-out-simulator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "poker-out-simulator",
"arguments": {
"heroCards": "Ah Kh",
"communityCards": "Qh Jh 2c",
"opponents": 1,
"simulations": 5000
}
}
}Questions or issues? Contact [email protected]
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}