npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

chess-mcp

v0.0.7

Published

Chess MCP server with position evaluation, move validation, and masters database

Downloads

477

Readme

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

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