Chess Detective MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Chess Detective MCP ServerAnalyze the current chess position and list legal moves."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Chess Detective Agent
An MCP powered chess investigation system that helps analyze chess positions, explore legal moves, compare decisions, and reconstruct games.
The Idea
Chess Detective treats chess analysis as an investigation. Instead of putting every capability into one function, specialized chess capabilities are exposed as independent MCP tools.
Related MCP server: Chess MCP Server
Architecture
User
↓
Chess Detective Agent
↓
MCP Client
↓
Chess Detective MCP Server
├── Inspect Position
├── Investigate Legal Moves
├── Compare Chess Moves
└── Reconstruct Chess Game
↓
python-chessMCP Tools
1. Inspect Chess Position
Analyzes a FEN position and returns:
Side to move
Check and checkmate status
Material distribution
Number of legal moves
Sample legal moves
2. Investigate Legal Moves
Examines the legal moves available in a position and identifies:
SAN notation
UCI notation
Captures
Checks
3. Compare Chess Moves
Investigates a played move against an alternative move.
4. Reconstruct Chess Game
Parses a PGN game and reconstructs:
Game metadata
Result
Move sequence
FEN before every move
Tech Stack
Python
MCP (Model Context Protocol)
FastMCP
python-chess
Installation
git clone https://github.com/Adarsh4777/chess-detective-agent.git
cd chess-detective-agent
python -m pip install -r requirements.txtRunning the Agent
python agent.pyThe agent starts a local MCP server and connects to it through an MCP client.
Example Workflow
Inspect Position
↓
Investigate Legal Moves
↓
Compare Candidate Moves
↓
Build Understanding of the PositionProject Structure
chess-detective-agent/
├── agent.py
├── server.py
├── chess_tools.py
├── requirements.txt
└── README.mdCurrent Status
Working prototype with:
Local MCP server
MCP client
Four specialized chess investigation tools
FEN analysis
Legal move investigation
Move comparison
PGN reconstruction
Future Work
Autonomous tool selection
Chess engine evaluation
Automatic critical moment detection
Full game post-mortem reports
Author
Adarsh Choudhary
This server cannot be deployed
Maintenance
Related MCP Connectors
Chess MCP for Claude: engine analysis, attack maps, game review. One URL, no install.
Lichess MCP — public read-only API for users, games, explorer, tablebase.
Chess.com MCP — wraps the Chess.com public API (free, no auth)
Stockfish chess eval: best move, score, principal variation, multipv. $0.005/call via x402.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides an interactive chess game experience through MCP tools with a web-based chessboard interface. Enables users to play chess games, make moves using standard algebraic notation, and manage persistent game state across sessions.17 npm5Apache 2.0
- FlicenseAqualityCmaintenanceEnables chess gameplay and interaction through MCP protocol. Allows users to play chess games, make moves, and manage chess sessions through natural language commands.2-
- FlicenseAqualityCmaintenanceEnables chess analysis and move generation using the Stockfish engine via MCP tools, allowing clients to evaluate positions, get best moves, apply moves, and visualize boards.7-
- FlicenseNot gradedqualityBmaintenanceEnables local Stockfish-powered chess game analysis, mistake classification, puzzle finding and generation, and study-resource recommendations through MCP tools.-