
Chess Esca
io.github.AnglerfishChessPublished by GitHub account AnglerfishChessv0.4.0Updated Oct 24, 2026
Read chess positions by the rules: legality with its evidence, draws, facts, openings, PGN
Overview
Serves the rules of chess as JSON: legality with reasons, draws, position facts, openings, endings and PGN, with no engine or search.
- What you can do
- Read a whole position: side to move, check, status, draws with evidence, castling, pins, material and ending
- List every legal move in SAN and UCI, grouped as captures, checks, castling, promotions and quiet moves
- Explain whether one move is legal, with every reason and the squares behind it, or what it changes
- Report named position facts by group, the material ending with theory, and the ECO opening code
- Read and write PGN games, and list moves from a Polyglot opening book file you supply
- When to use it
- Use it when an assistant needs to reason about chess positions by the rules rather than by evaluation: checking legality, explaining draws or claims, identifying openings and endings, or parsing and producing PGN. It complements, rather than replaces, an engine server that gives scores and best lines.
- Requirements
- Runs locally over stdio as a PyPI package started with uvx; needs Python 3.12 or newer and uv/uvx. No arguments, no authentication, no environment variables. Opening-book lookups need a Polyglot .bin file path you provide; no book is bundled.
Installation
In SourceWeft
- Open Chess Esca in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
chess-esca-mcp
An MCP server over esca: the rules of chess as JSON an agent can read.
FEN and moves go in; enums and the squares behind them come out. Whether a move is legal and why
not, what a position's status is and what either side may claim, the named facts of the position,
the ending the material makes and what theory says it is, the opening's ECO code, the moves an
opening book holds, and PGN read and written. Every categorical answer also carries prose: the
same thing in one plain English sentence, beside the enum rather than instead of it.
There is no engine here and no search. Nothing this server answers says how good a move is. For a number and a line, use chess-uci-mcp, which drives Stockfish or Leela; the two answer different questions and sit well side by side.
Dependencies
Python 3.12 or newer, and uv/uvx.
Usage
For Claude Desktop that is claude_desktop_config.json, under Settings → Developer →
Edit Config:
- macOS:
~/Library/Application\ Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%/Claude/claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
For Claude Code, the plugin does the wiring:
The server takes no arguments. It reads nothing but the position you hand it and, for
book_moves, the book file you name.
Tools
Every tool takes the position the same way: fen (the start position when omitted), moves
played from it — each written as SAN (Nf3) or as UCI (g1f3) — or a whole game as pgn
instead. variant is classic or chess960. Repetition and fifty-move claims are only visible
when the moves that led to the position are given, since a FEN does not carry them.
An input that names no position, no move or no game comes back as
{"error": {"kind": ..., "message": ..., "hint": ...}} — never a traceback.
One resource, esca://facts-catalogue, lists every fact group and every field it holds, with the
type each carries and one sentence of what it means; esca generates it from the fact definitions
themselves. One prompt, analyse-position, walks an agent through reading a position with
these tools.
Opening books
No book is bundled. book_moves takes the path to a Polyglot .bin file of your own; the format
is the common one, so a book written for any engine that reads Polyglot works. esca.polyglot
has download(url, path) for fetching one, and a Builder that writes a book from PGN.
Development
The server is a second distribution inside the esca repository: the library at the root, this directory beside it. It takes esca from the crate next door while you work on it, and from PyPI once installed.
Run it from the checkout with uv run chess-esca-mcp.
The version is esca's own: one tag releases the library and this server together, and the
esca== pin names that same version.
The MCP registry
registry.modelcontextprotocol.io is the index of
public MCP servers. The listing is described by server.json, under the name
io.github.AnglerfishChess/chess-esca-mcp; ownership of the PyPI package is proven by the
mcp-name: marker near the top of this file, which becomes the package description PyPI serves.
The registry reads it from the published artifact, so it counts only once a release carrying it
reaches PyPI.
Related projects
- esca — the library this serves.
- chess-uci-mcp — the engine side: analysis and best moves from Stockfish or Leela.
License
MIT — see LICENSE.
Source: mcp/README.md at commit 5c801e7
Tools
0Version history
1- v0.4.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts