
Chess Esca
io.github.AnglerfishChess由 GitHub 帳號 AnglerfishChess 發布v0.4.0更新於 Oct 24, 2026
Read chess positions by the rules: legality with its evidence, draws, facts, openings, PGN
概覽
以 JSON 形式提供西洋棋規則:合法性及原因、和棋、局面事實、開局、殘局與 PGN,不含引擎與搜尋。
- 可以做什麼
- 讀取完整局面:輪走方、將軍、狀態、附證據的和棋、入堡、牽制、子力與殘局
- 列出所有合法著法(SAN 與 UCI),並依吃子、將軍、入堡、升變、安靜著法分組
- 解釋某著是否合法,給出全部原因及依據的格子,或說明它改變了什麼
- 依分組報告具名的局面事實、子力形成的殘局及理論結論、ECO 開局代碼
- 讀寫 PGN 棋局,並從你提供的 Polyglot 開局庫檔案中列出著法
- 適用情境
- 當助手需要依規則而非依評估來推理棋局時使用:檢查合法性、解釋和棋或可主張的權利、辨識開局與殘局,或解析與產生 PGN。它補充而非取代提供評分與最佳著法的引擎伺服器。
- 執行需求
- 以 PyPI 套件形式透過 uvx 在本機以 stdio 執行;需要 Python 3.12 或更新版本以及 uv/uvx。無需參數、驗證或環境變數。開局庫查詢需要你提供 Polyglot .bin 檔案路徑,未內建任何開局庫。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Chess Esca,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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.
來源:mcp/README.md,提交 5c801e7
工具
0版本歷史
1- v0.4.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分