Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

chess-mcp

MCP.Pizza Chef: turlockmike

Chess-mcp is an MCP server designed to provide comprehensive chess analysis functionalities directly within Claude. It leverages the Stockfish engine to deliver professional-grade position evaluations, visual board representations, and detailed move and variation analysis. Additionally, it offers access to a masters database featuring games played by players rated 2200+, enabling users to study high-level chess positions. Chess-mcp integrates seamlessly with Claude Desktop and supports easy installation via Smithery or direct scripts for Mac and Linux users. This server is ideal for chess enthusiasts, coaches, and developers seeking to embed advanced chess insights into AI workflows.

Use This MCP server To

Evaluate chess positions with Stockfish engine Visualize chess boards and positions Analyze chess moves and variations Lookup master-level chess games database Integrate chess analysis into AI assistants Assist chess coaching with detailed evaluations

README

Chess Analysis Assistant for Claude

smithery badge 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:

  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

chess-mcp FAQ

How do I install chess-mcp on my system?
You can install chess-mcp easily via Smithery using 'npx -y @smithery/cli install chess-mcp --client claude' or run the provided install script on Mac/Linux terminals.
What chess engine does chess-mcp use for analysis?
Chess-mcp uses the Stockfish engine, a leading open-source chess engine, to provide accurate position evaluations and move analysis.
Do I need Claude Desktop to use chess-mcp?
Yes, chess-mcp requires Claude Desktop installed on your computer to function properly as it integrates directly with Claude's environment.
Can chess-mcp show visual chess boards?
Yes, chess-mcp provides visual board representations to help users better understand positions and variations.
Does chess-mcp support accessing historical master games?
Yes, it includes a masters database with games played by players rated 2200+, allowing users to study high-level chess positions.
Is chess-mcp compatible with other LLM providers besides Claude?
While primarily designed for Claude, chess-mcp can be adapted for use with other LLMs like OpenAI's GPT-4 and Anthropic's Claude with appropriate client integration.
What are the system requirements for chess-mcp?
You need Claude Desktop installed and Git on your system. The server runs on Mac and Linux environments with easy installation scripts.
How does chess-mcp enhance AI chess assistants?
By providing real-time position evaluations, move analysis, and master game lookups, chess-mcp enriches AI assistants with expert-level chess insights.