Chess.com MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add chess-mcp -- uvx --from git+https://github.com/Gelberm/chess-mcp.git chess
README.md

Interact with the Chess.com Public API for player profiles and statistics.

Chess.com MCP Server

A Model Context Protocol (MCP) server that provides tools to interact with the Chess.com Public API. This server enables LLMs (like Claude) to fetch real-time player profiles and statistics.

Features

This server exposes the following tools:

  • get_chess_player_profile(username: str): Fetches the profile information of a Chess.com player (e.g., ID, URL, name, followers, country, last online status).
  • get_chess_player_stats(username: str): Fetches the detailed statistics of a player (e.g., current ratings for rapid, blitz, bullet, win/loss records).

Installation & Usage

You can use this server with any MCP-compatible client, such as the Claude Desktop App.

Method 1: Run directly from GitHub (Recommended)

You can run this server directly from the GitHub repository using uv (a fast Python package manager) without manually cloning the code.

Add the following configuration to your Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "chess": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/Gelberm/chess-mcp.git",
        "chess"
      ]
    }
  }
}

Tools (2)

get_chess_player_profileFetches the profile information of a Chess.com player including ID, URL, name, followers, country, and last online status.
get_chess_player_statsFetches the detailed statistics of a player including current ratings for rapid, blitz, bullet, and win/loss records.

Configuration

claude_desktop_config.json
{"mcpServers": {"chess": {"command": "uvx", "args": ["--from", "git+https://github.com/Gelberm/chess-mcp.git", "chess"]}}}

Try it

What is the current rapid rating for the Chess.com user 'Hikaru'?
Can you look up the profile details for 'MagnusCarlsen' and tell me their country and follower count?
Compare the blitz and bullet ratings for the player 'GothamChess'.
Is the player 'DanielNaroditsky' currently online?

Frequently Asked Questions

What are the key features of Chess.com MCP Server?

Fetch real-time Chess.com player profile information. Retrieve detailed game statistics including ratings and win/loss records. Access player metadata like country, URL, and online status. Seamless integration with MCP-compatible clients like Claude Desktop.

What can I use Chess.com MCP Server for?

Analyzing the performance statistics of professional chess players. Quickly checking the current rating of a friend or opponent on Chess.com. Building a dashboard or report that tracks player progress over time. Integrating live chess data into AI-powered chess coaching or analysis workflows.

How do I install Chess.com MCP Server?

Install Chess.com MCP Server by running: uvx --from git+https://github.com/Gelberm/chess-mcp.git chess

What MCP clients work with Chess.com MCP Server?

Chess.com MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Chess.com MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare