Chess Analysis Assistant for Claude
This tool helps you analyze chess positions and get professional evaluations using Stockfish, right within Claude! You can:
- Get position evaluations
- See visual board representations
- Analyze different moves and variations
- Look up positions in the masters database (games played by 2200+ rated players)
Requirements
- Claude Desktopβ installed on your computer
- Git installed on your system
Quick Installation
Installing via Smithery
To install Chess Analysis Assistant for Claude Desktop automatically via Smitheryβ:
npx -y @smithery/cli install chess-mcp --client claude
Mac and Linux Users
Open Terminal and run this command:
curl -fsSL https://raw.githubusercontent.com/turlockmike/chess-mcp/master/install.sh | bash
Thatβs it! The script will:
- Install required dependencies (Node.js 20+, Stockfish, Cairo)
- Configure Claude Desktop
- Set up the Chess Assistant
Manual Installation (Windows or Advanced Users)
If you prefer to install manually or are using Windows, follow these steps:
Requirements
- Claude Desktopβ
- Node.jsβ version 20 or higher
- Stockfishβ chess engine
- Cairoβ graphics library (for board visualization)
Step-by-Step Installation
Step 1: Install Dependencies
Mac Users:
# Install Homebrew if you haven't already
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install required packages
brew install stockfish cairo pkg-config jq
Windows Users:
- Install Node.jsβ (LTS version)
- Download Stockfishβ and add it to your PATH
- Install Cairoβ
Step 2: Install Chess Assistant
npm install -g chess-mcp
Step 3: Configure Claude Desktop
- Open Claude Desktop
- Navigate to the configuration file:
- Mac:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%/Claude/claude_desktop_config.json
- Mac:
- Add this configuration:
{
"mcpServers": {
"chess": {
"command": "npx",
"args": ["chess-mcp"]
}
}
}
- Save and restart Claude Desktop
Using the Chess Assistant
- Open Claude Desktop
- Look for the tools icon (π§) - it should show chess analysis tools
- Try these example prompts:
- βAnalyze this position: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1β
- βShow me the current positionβ
- βWhatβs the best move in this position?β
- βLook up this position in the masters databaseβ
- βShow me master games from this position after 2000β
- βWhat are the most common moves played by masters in this position?β
Features
Position Analysis
- Engine evaluation using Stockfish
- Visual board representation
- Best move suggestions
- Move validation
Masters Database
- Search positions in games played by 2200+ rated players
- Filter games by date range
- See win/draw statistics
- View most common moves with success rates
- Browse recent master games with player ratings
Need Help?
If you run into any issues:
- Make sure all requirements are installed correctly
- Verify Stockfish is accessible from your command line
- Check that all paths in your Claude Desktop configuration are correct
- Restart Claude Desktop after making any changes
Common Issues
- βTools not showing up in Claudeβ: Make sure youβve configured Claude Desktop correctly
- βStockfish not foundβ: Verify Stockfish is installed and accessible from the command line
- βNode version errorβ: Make sure you have Node.js version 20 or higher installed
- βCanvas installation failedβ: Make sure Cairo is installed correctly for your operating system
Last updated on