Chessagine — Claude Code MCP server: analysis and setup
Chessagine gives AI coding tools access to chess analysis, Lichess games and puzzles, opening data, and interactive board or PGN views.
no license 5,030 installs updated 2026-02-14
claude mcp add --transport http chessagine https://chessagine--jalpp.run.toolsWhat Chessagine does
Chessagine adds chess tools for position and game work. The server can ask Stockfish 18, Leela, or Maia2 for evaluations, return several move candidates, check move legality, and turn PGN into FEN positions. It also looks up opening information from a 12k-position book.
The tools retrieve Lichess games, studies, puzzles, and statistics, along with data from Chessboard Magic, TCEC, and correspondence chess. An agent can render one position or browse a full PGN with move navigation. Lichess study access requires LICHESS_STUDY_TOKEN or a token parameter.
What it helps with
- evaluate a position from FEN
- find Stockfish’s best move and alternatives
- retrieve a user’s Lichess games
- validate a move and calculate the resulting board state
- display a game in an interactive PGN viewer
Example prompts for the agent
- Analyze this FEN with Stockfish and give me several candidate moves.
- Fetch this Lichess user’s recent games and identify recurring openings.
- Render this PGN as an interactive viewer and explain the critical moves.
How to install Chessagine
Platform CLI: remote server
claude mcp add --transport http chessagine https://chessagine--jalpp.run.toolsPlatform CLI: remote server
codex mcp add chessagine --url https://chessagine--jalpp.run.toolsConfig file
{
"mcpServers": {
"chessagine": {
"url": "https://chessagine--jalpp.run.tools"
}
}
}Config file
{
"servers": {
"chessagine": {
"type": "http",
"url": "https://chessagine--jalpp.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http chessagine https://chessagine--jalpp.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Chessagine
How do I install Chessagine in Claude Code?
Run claude mcp add --transport http chessagine https://chessagine--jalpp.run.tools.
What does Chessagine do?
It connects an agent to Stockfish, Leela, and Maia2 analysis, Lichess games and puzzles, FEN and PGN tools, and interactive chess renders.
What is required to access Lichess studies?
Use LICHESS_STUDY_TOKEN or pass a token parameter when requesting a study.