Chess Analysis Assistant

by turlockmike
MIT License
3
5
  • Apple
  • Linux

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

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:

  1. Install required dependencies (Node.js 20+, Stockfish, Cairo)
  2. Configure Claude Desktop
  3. 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

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:

  1. Install Node.js (LTS version)
  2. Download Stockfish and add it to your PATH
  3. Install Cairo
Step 2: Install Chess Assistant
npm install -g chess-mcp
Step 3: Configure Claude Desktop
  1. Open Claude Desktop
  2. Navigate to the configuration file:
    • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%/Claude/claude_desktop_config.json
  3. Add this configuration:
{ "mcpServers": { "chess": { "command": "npx", "args": ["chess-mcp"] } } }
  1. Save and restart Claude Desktop

Using the Chess Assistant

  1. Open Claude Desktop
  2. Look for the tools icon (🔧) - it should show chess analysis tools
  3. 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:

  1. Make sure all requirements are installed correctly
  2. Verify Stockfish is accessible from your command line
  3. Check that all paths in your Claude Desktop configuration are correct
  4. 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
-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Helps you analyze chess positions and get professional evaluations using Stockfish.

  1. Requirements
    1. Quick Installation
      1. Installing via Smithery
      2. Mac and Linux Users
    2. Manual Installation (Windows or Advanced Users)
      1. Requirements
      2. Step-by-Step Installation
    3. Using the Chess Assistant
      1. Features
        1. Position Analysis
        2. Masters Database
      2. Need Help?
        1. Common Issues

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            The MCP Trader Server conducts comprehensive technical analysis on stocks, offering insights into trends, momentum indicators, volatility metrics, and volume analysis to support stock trading decisions.
            Last updated -
            29
            Python
            • Apple
          • A
            security
            A
            license
            A
            quality
            Provides tools to interact with the Farcaster network, allowing AI models to fetch casts, search channels, and analyze content.
            Last updated -
            3
            1
            JavaScript
            MIT License
            • Apple
          • A
            security
            A
            license
            A
            quality
            An MCP server that enables natural language interaction with the Lichess chess platform, allowing users to play games, analyze positions, manage their account, and participate in tournaments through Claude.
            Last updated -
            90
            2
            JavaScript
            MIT License
            • Apple
            • Linux
          • A
            security
            A
            license
            A
            quality
            Provides access to Chess.com player data, game records, and public information through standardized MCP interfaces, allowing AI assistants to search and analyze chess information.
            Last updated -
            10
            26
            Python
            MIT License
            • Linux
            • Apple

          View all related MCP servers

          ID: yqxlz9y5qj