Introduction
Connect your AI agent to Poker Study AI, or call the HTTP API, with a personal access token.
Poker Study AI gives you two ways to reach your study data from code:
- MCP server: give Claude, ChatGPT, Cursor or any MCP client direct access to your sessions, opponents, hand reviews, GTO ranges and the solver queue. Works on Pro and Studio.
- HTTP API: plain JSON over HTTPS for hand-history upload, hand grading, the solver queue, opponent analytics and agent decisions. Needs Studio.
Both authenticate with the same personal access token, which starts with psk_. Create one on API keys.
Base URLs
| Surface | URL |
|---|---|
| MCP server | https://www.pokerstudy.ai/api/mcp |
| HTTP API | https://www.pokerstudy.ai/api |
| Preflop ranges REST spec | https://www.pokerstudy.ai/api/ranges/openapi.json |
Your first request
Queue a postflop solve into your solution library:
curl https://www.pokerstudy.ai/api/solver/queue \
-H "Authorization: Bearer psk_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"title":"KK7r SRP","board":"Kh Kd 7h","pot":5.5,"effective_stack":97.5}'
Or connect your agent in one line:
claude mcp add --transport http poker-study https://www.pokerstudy.ai/api/mcp \
--header "Authorization: Bearer psk_YOUR_TOKEN"
How the docs are organized
- Getting started: this page and Authentication.
- MCP server: connecting a client and every tool it exposes.
- HTTP API: one page per endpoint group.
- Guides: building on our component registry.