Docs
Guides and the API reference for the ChessDrive API.

Get started
Quickstart Make your first ChessDrive call in about five minutes. Create an API key, put it in your environment, ask Generate about a position and read what comes back.Authentication Every call carries an API key as a bearer token, from server-side code only. How to send it, what each refusal means, and how to keep keys safe.Models Knight, Queen and the Embedding model, their IDs and aliases, their limits, and which one to pick for what.
APIs
Generate Talk to Knight or Queen about chess, with or without a position. Every move the reply names comes back checked and legal, as a Line you can show on a board.Embed Turn chess positions and chess text into vectors in one shared space, so a position lands near the words that describe it. Mix both in one call.Search Every move played from a position, one player's games, and the positions a filter holds for, from over two million games. Search by similar moments is coming soon.Engine Analyse a position with Stockfish (Lc0 is coming soon) and get its evaluation in numbers and its best Lines, ranked. Stream each depth as it completes.
Recipes
Overview Ready-made ways to use Generate and Engine for common chess jobs, each a prompt and the requests you can copy and adapt.Coach Answer a student's question about their own game with the idea behind a move, not just the move.Explain Describe a whole position in words, with its pawn structure, who stands better and each side's plans.Pick a move Have the Model play one move at a strength and in a style you choose, for a sparring partner or a bot with a personality.Review a game Go through a finished game move by move. Engine judges every move, then Knight explains only the mistakes and blunders.Turn a blunder into a puzzle Make a puzzle from the position right after a blunder. Engine finds the one winning reply and checks it is the only one, and Knight writes a hint.Grade a game's accuracy Score how well each side played, from 0 to 100, from one Engine call per position and the formula Lichess uses.
Tools
CLI Call Generate, Embed and Engine from your terminal with `chessdrive`, one binary for macOS, Linux and Windows. Install it with the installer, npm or Homebrew, log in once, and read your usage and balance too.MCP Give Claude Code, Claude Desktop, Cursor or any MCP client the ChessDrive APIs as tools with `chessdrive mcp`, a local MCP server in the CLI, or with the hosted Connector at `https://api.chessdrive.io/mcp`. Set it up in one command or one config entry.
Reference
API reference Every endpoint, its fields and its errors, with each call in curl, Python and JavaScript.Rate limits How many calls each Model, Search and engine take on each Plan, the headers that report them, and what to do with a 429 or a 403 plan_required.Errors The error shape every API shares, and every code it can carry, by status, with what to do about each.
Billing
Plans What Free, Hobby and Pro give, how Monthly credit lands, expires and is spent, upgrades, downgrades and cancellation, and what a failed payment does.Billing and credits FAQ How the prepaid Balance works, Trial credits, Top-ups and Auto-recharge, Spend and Key limits, what a call costs, receipts and invoices, and who to ask.
Knight
Running Knight locally Download Knight from a terminal with an API key, what it's for and the license it accepts, see what the bundle holds, and what each license lets you do with it.Licensing FAQ The Knight licenses in plain words. Whether your use is personal or commercial, building on Knight, companies and agencies, fair play, and downloads.
What changed lately is in the Changelog, and how the API changes in Versioning and deprecations.