Sideboard
Play chess against Chesster, inline in Claude Code.
a b c d e f g h
┌───┬───┬───┬───┬───┬───┬───┬───┐
8 │ ♖ │ ♘ │ ♗ │ ♕ │ ♔ │ ♗ │ ♘ │ ♖ │ 8
├───┼───┼───┼───┼───┼───┼───┼───┤
7 │ ♙ │ ♙ │ ♙ │ ♙ │ ♙ │ ♙ │ ♙ │ ♙ │ 7
├───┼───┼───┼───┼───┼───┼───┼───┤
6 │ │ │ │ │ │ ♘ │ │ │ 6
├───┼───┼───┼───┼───┼───┼───┼───┤
5 │ │ │ │ │ │ │ │ │ 5
├───┼───┼───┼───┼───┼───┼───┼───┤
4 │ │ │ │ │ ♟ │ │ │ │ 4
├───┼───┼───┼───┼───┼───┼───┼───┤
3 │ │ │ │ │ │ │ │ │ 3
├───┼───┼───┼───┼───┼───┼───┼───┤
2 │ ♟ │ ♟ │ ♟ │ ♟ │ │ ♟ │ ♟ │ ♟ │ 2
├───┼───┼───┼───┼───┼───┼───┼───┤
1 │ ♜ │ ♞ │ ♝ │ ♛ │ ♚ │ ♝ │ ♞ │ ♜ │ 1
└───┴───┴───┴───┴───┴───┴───┴───┘
a b c d e f g h
Chesster: Alekhine's Defense — bold of you to invite the bayonet.
A chess game that lives inside your Claude Code conversation, for when the coding agent is grinding through a slow build.
Install (Claude Code)
You'll need uv on your PATH — the MCP server runs via uvx. Install with brew install uv if you don't have it.
In Claude Code:
/plugin marketplace add zappleg8/sideboard
/plugin install sideboard@sideboard
That's it. No pip, no shell config, no daemons.
Play
/sideboard:play # start or resume a game
/sideboard:play e4 # make a move (SAN: e4, Nf3, O-O, Bxe5, e8=Q)
/sideboard:board # re-render the current state silently
/sideboard:resign # resign and archive the PGN
One global game, persisted at ~/.sideboard/. Quit Claude Code, come back tomorrow, the position is still there.
Standalone CLI (no Claude Code)
If you'd rather play in a regular terminal:
pip install sideboard
sideboard # new game vs Chesster
sideboard --difficulty casual # beginner-friendly
sideboard --difficulty shark # bring your A-game
sideboard resume # pick up where you left off
sideboard stats # your record vs Chesster
Terminal mode renders a colored Rich-styled board with proper chess glyphs.
How It Works
A small Claude Code plugin packages three pieces:
- A slash-command skill (
/sideboard:play) that tells Claude to drive the game. - An MCP server (
sideboard-mcp, launched viauvx) that exposes the chess engine and game state as tools (new_game,make_move,engine_response,get_state,resign,get_stats). - The engine is local Python — minimax with alpha-beta pruning, piece-square tables, and a curated Chesster quip pool that reacts to captures, checks, blunders, and brilliancies.
Each move is two MCP calls: make_move applies your move and returns the engine's top three candidates plus a Chesster quip; engine_response plays whichever candidate Claude picks. The board renders in the conversation as a fenced code block.
Difficulty
| Level | Search depth | Behavior |
|---|---|---|
casual |
2 ply | Occasionally picks an off-best move for variety |
club |
3 ply | Default — solid, beatable |
shark |
4 ply + quiescence | Sees tactics; will hurt you |
Dependencies
- python-chess — board state, move legality, PGN export
- mcp — Claude Code plugin server
- Rich — only for the standalone terminal CLI
License
MIT
Metadata
Release files for sideboard 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sideboard-0.2.0.tar.gz | 25.8 kB | Without provenance | Details for sideboard-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sideboard-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for sideboard-0.2.0-py3-none-any.whl |
Total release size: 51.3 kB
Release files / sideboard-0.2.0.tar.gz
| Download URL | sideboard-0.2.0.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb2681d4c7fe4addd2002a40bbac19b9954baa5fc4003c13e6dac5b8d0f8031a
|
|
BLAKE2b-256 checksum How to use checksums |
3393fee954a9f740d6cd04ba5ebbc74156e101161ea106ce4cf5cebdc0a0ab20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / sideboard-0.2.0-py3-none-any.whl
| Download URL | sideboard-0.2.0-py3-none-any.whl |
|---|---|
| Size | 25.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07e67494340447d396ab5fb2386836e3176d9d84d201aa3ee37c81758e7a258c
|
|
BLAKE2b-256 checksum How to use checksums |
2e89717e3269ef2a9aa5827f96f357d59eb29b1bb3a7aa296d523a8bcb9ab084
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for sideboard 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.