Chess in Claude
ChessDrive’s Plugin adds chess Skills and the Connector to Claude. Then you ask in plain words, and Claude answers from engine-checked moves, on a Board you can step through. Your AI, now good at chess.
What you can do
Each Skill teaches Claude one chess job. You don’t pick one: just ask. Patterns, Game search and Prep run code, so they need a paid Claude plan and one setting; each Skill’s page says how.
- Game review Your game’s turning points and worst moves, explained at your level, or annotated for a video.
- Position One position explained in plain words: who’s better, the best move and the plan.
- Patterns The mistakes you keep making across your last 30 games, grouped by the board and by what each allowed, and named in plain words.
- Game search Find any idea across your own games in plain English, checked by the engine and handed back as a PGN.
- Position filter Positions by what stands on the board, found across master games, each with a game that reached it.
- Study Your agent builds you an interactive page of your own: a game to step through, a drill of your mistakes, an opening line to practise or a worksheet to print.
- Prep What your opponent plays against your colour, their form and a plan, from their public games or a file.
- ScoutSoon Opponent prep in your own AI: their openings, their form and a plan for your game.
What it looks like
A game review in Claude. Tap a move to see it on the Board.
Example run
SampleReview this PGN. My rating is about 1500.
@DrNykterstein had White and lost to Vetranio in a Titled Arena. Three moments decided it:
- The pawn isn’t free. Black gave a rook for the knight with , and hit the queen and opened the long diagonal to the bishop on b2. was better.
- Black’s queen had just landed on a4, on the same rank as the rook on h4. won it. After the game move, took the rook instead.
- Takes a pawn while Black’s queen and rook are closing in. and ended it. held on longer.
The lesson: before your plan, look at what your opponent’s last move left hanging.
How to add it
- 1 Add the marketplace In Claude: Customize, Plugins, Add, Add marketplace, Add from a repository.
- 2 Install it Paste the repo name, press Sync and install ChessDrive.
edgecaseai/chessdrive-plugin - 3 Connect In a Chat, not Code: on the Plugin’s Connectors tab, Connect and sign in.
On a phone or the Free plan? Add just the Connector
- 1 Add the server Settings, Plugins, Add, Add Custom MCP Server: name it ChessDrive and paste the Connector’s address.
https:// api.chessdrive.io/ mcp - 2 Sign in Sign in to ChessDrive and pick a daily limit.
- 3 Ask Use a Use case’s Copy prompt in a new chat.
Paste this one line into Claude Code, Codex or Cursor. It sets everything up, gives you one link to sign in with, and starts your first review.
Set up ChessDrive for me: fetch and follow https://chessdrive.io/setup.md, which installs its CLI with `npm install -g chessdrive`.
What your agent will do
# Set up ChessDrive > Official instructions from ChessDrive for setting it up in a coding agent: the `chessdrive` CLI, the ChessDrive Skills and the ChessDrive Connector. They are published at https://chessdrive.io/setup.md, so you can check where they come from before you follow them. Your person asked you to set ChessDrive up. ChessDrive gives you Skills for chess: game reviews, the mistakes they keep making, opponent prep and more, every move checked by an engine. Do every step yourself by running its commands, except the ones marked **Your person's step**: a browser sign-in or a restart happens outside your session, so ask them and wait. Never run a command that waits at a prompt. Every command here is safe to run again on a machine that is already set up. **In Claude's or ChatGPT's chat app, not a coding agent?** No terminal is needed: follow https://chessdrive.io/cookbook/add-to-your-ai.md instead. ## 1. Install the CLI ``` npm install -g chessdrive ``` Without npm, run `curl -fsSL https://chessdrive.io/install.sh | sh` instead, or follow https://chessdrive.io/docs/cli on Windows. Either one also updates a CLI that is already there. Check: `chessdrive version` prints a version. ## 2. Sign the CLI in If `chessdrive balance` already prints a Plan and a Balance, the CLI is signed in: go on to step 3. Otherwise run `chessdrive login --no-wait`. It prints a link and a code, and returns. > **Your person's step.** Give them the link and the code, and ask them to open the link, check the code, pick their Account and choose Allow. Wait for them to say they have. Then run `chessdrive login`, which finishes at once. That's their only sign-in: the Connector uses the key the CLI saved. Never print that key, or write it anywhere a step doesn't say. Check: `chessdrive balance` prints their Plan and Balance. If the Balance isn't what they expect, they allowed another Account: run `chessdrive logout`, then this step again, and ask them to pick the right Account. ## 3. Add the Skills and the Connector Use your agent's section. ### Claude Code Install the Plugin, which brings the Skills and the Connector. The Connector uses the key the CLI saved, so there is no second sign-in. ``` claude plugin marketplace add edgecaseai/chessdrive-plugin claude plugin install chessdrive@chessdrive ``` Check: `claude plugin list | grep -A2 'chessdrive@chessdrive'` shows it enabled. If it's listed but disabled, run `claude plugin enable chessdrive@chessdrive`. > **Your person's step.** Ask them to run `/reload-plugins` in Claude Code, or restart it, to load the Plugin. Wait for them to say they have. ### Codex Download https://chessdrive.io/plugin/chessdrive.zip, unzip it and copy every folder in its `skills` folder, with all its files, to the folder where Codex reads your person's own Skills, so they work in every project. Copying again replaces them with the latest. Then the Connector: in `~/.codex/config.toml`, a `[mcp_servers.chessdrive]` table with `url = "https://api.chessdrive.io/mcp"` and `http_headers_helper = "<the full path of chessdrive> key --headers"`. If the table is already there, leave it. Check: `codex mcp list` lists chessdrive. > **Your person's step.** Ask them to restart Codex. In Codex Desktop, quit it fully and open it again. ### Cursor Download https://chessdrive.io/plugin/chessdrive.zip, unzip it and copy every folder in its `skills` folder, with all its files, to the folder where Cursor reads your person's own Skills, so they work in every project. Copying again replaces them with the latest. Then the Connector: in `~/.cursor/mcp.json`, a server named chessdrive with `"url": "https://api.chessdrive.io/mcp"` and `"headers": { "Authorization": "Bearer ${env:CHESSDRIVE_CONNECTOR_KEY}" }`. Merge it into the file, and keep the other servers. Then add `export CHESSDRIVE_CONNECTOR_KEY="$(chessdrive key 2>/dev/null)"` to their shell's startup file, once. On Windows, leave out the headers and the export: Cursor signs in through their browser. Check: `~/.cursor/mcp.json` has the chessdrive server. > **Your person's step.** Ask them to restart Cursor. ### Any other agent Download https://chessdrive.io/plugin/chessdrive.zip, unzip it and copy every folder in its `skills` folder, with all its files, to the folder where you read your person's own Skills, so they work in every project. Copying again replaces them with the latest. Then add a remote MCP server named chessdrive at https://api.chessdrive.io/mcp, sending `Authorization: Bearer` and the key `chessdrive key` prints. Merge it into your MCP settings, and keep the other servers. Restart if your agent needs it. ## 4. Report the result Report only what you checked. Don't mark a line done that you couldn't confirm. ``` ┌─ ChessDrive set-up ────────────────────────────┐ │ ✓ CLI signed in: Free plan, $10.00 │ │ ✓ Skills Game review, Patterns, Prep, … │ │ ⚠ Connector restart your agent to load it │ └────────────────────────────────────────────────┘ ``` Use ✓ for checked, ⚠ for waiting on your person, and ✗ for failed. After the banner, give the next action for every line that isn't ✓. ## 5. Get them started Ask for their Lichess or chess.com username. If you can use the ChessDrive Skills now, offer to review their last game, and on their yes do it with the Game review Skill. Otherwise, once they've restarted you, they can send one of these: - "Review my last game. I’m <username> on Lichess." - "Find the mistakes I keep making. I’m <username> on chess.com." - "Prep me for my game against <opponent> on Lichess." ## No person present In CI or an agent SDK run, nobody can do the person's steps. Read the key from `CHESSDRIVE_API_KEY`: if it isn't set, stop and say so. Save it for the CLI with `printenv CHESSDRIVE_API_KEY | chessdrive login`, and never ask for it, print it or write it to a file. Then do step 3 and skip the restarts: your agent loads the Skills and the Connector the next time it starts. ## If something fails - **No npm, or npm can't install globally:** use the installer in step 1. It needs neither npm nor sudo. - **Your agent's safety check refuses an install:** don't work around it. Ask your person to run that command themselves; in Claude Code, `!` before a command runs it in the session. - **`No ChessDrive API at …`:** the CLI is pointed at the wrong address. Check `--base-url` and `CHESSDRIVE_BASE_URL`. - **The link or the code has expired:** run step 2 again for a new one. - **Don't open https://api.chessdrive.io/mcp in a browser:** it's for agents, not a web page. Every sign-in starts from the CLI. - **The Skills or the Connector's tools are missing:** your person restarts the agent. Then ask them to try "Which ChessDrive Skills do you have?".
The Connector’s address is the same in every agent. The MCP docs
Check it worked: ask What’s my ChessDrive balance?
Fair play: ChessDrive is for review and prep after the game, not for help during rated play.