MCP Chess Server
Provides access to Chess.com public player data, including user profiles and statistics such as rating history and performance metrics.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Chess Server get Magnus Carlsen's rating history"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Chess Server
Overview
This repository provides a Model Context Protocol (MCP) server that exposes Chess.com data through Anthropic's FastMCP framework. The server runs over stdio and can be launched locally or directly from Claude Desktop.
Related MCP server: Chess.com MCP Server
Capabilities
get_chess_player_profile: Returns the public profile for a Chess.com username by callinghttps://api.chess.com/pub/player/{username}viarequests.get_chess_player_stats: Retrieves rating history and performance metrics fromhttps://api.chess.com/pub/player/{username}/stats.
Both tools are registered with FastMCP('Chess.com') in chess.server and are available to any MCP-compatible client once the server is running.
Prerequisites
Python 3.13 or newer
Git
uv for dependency management
Claude Desktop (or another MCP client)
Setup
1. Clone the repository
git clone <your-repo-url>
cd mcp-build-chess2. Install dependencies in editable mode
uv pip install -e .Tip: create an isolated environment with
uv venv .venvand activate it before installing.
3. Validate the server locally
uv run python -m chess.serverThe server will start and wait on stdio. Use Ctrl+C to stop it once you've confirmed it launches without errors.
Claude Desktop Integration
Update claude_desktop_config.json so Claude Desktop can launch the server from this repository:
claude coinfiguration form local
{
"mcpServers": {
"Chess_Server": {
"command": "uv",
"args": [
"--directory",
"W:\\ITversity\\MCP Claude\\code\\mcp-build-chess\\src\\chess",
"run",
"chess"
]
}
}
}##claude configuration from git repo
{
"mcpServers": {
"Chess_Server_git": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/Ramakrishna-Gedala/mcp_chess.git@main",
"chess-server"
]
}
}
}Replace the cwd value with the absolute path to your cloned repository. macOS and Linux users should specify their own path syntax (for example, /Users/you/src/mcp-build-chess). After saving the config, restart Claude Desktop so it picks up the new server configuration.
Available Tools
2 toolsget_chess_player_profileB
Get the public profile for a Chess.com player by username.
Inputs: username (required).
get_chess_player_statsB
Get the stats for a Chess.com player by username.
Inputs: username (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have distinct purposes: one retrieves a player's profile (likely general info), and the other retrieves stats (likely performance data). While both target the same resource (a Chess.com player), the actions are clearly differentiated, making misselection unlikely. However, the overlap in domain could cause minor confusion if an agent needs both types of data, but descriptions help clarify.
Both tools follow a consistent verb_noun pattern with 'get_chess_player_' as a prefix, followed by 'profile' or 'stats'. This predictable naming scheme makes it easy for agents to understand and navigate the tool set without ambiguity or mixed conventions.
With only 2 tools, the server feels thin for a chess domain, as it lacks operations like creating games, making moves, or accessing game history. While it might be narrowly scoped to player data retrieval, the limited count suggests incomplete coverage for typical chess-related tasks, bordering on under-scoped.
The tool set is severely incomplete for a chess server, as it only provides read-only access to player data with no ability to interact with games, boards, or other chess elements. There are significant gaps in CRUD/lifecycle coverage, such as missing create, update, or delete operations, which will likely cause agent failures in broader chess-related workflows.
Maintenance
Related MCP Connectors
Chess.com MCP — wraps the Chess.com public API (free, no auth)
Chess ratings explained, an Elo calculator, and any Chess.com or Lichess player's recent games.
Lichess MCP — public read-only API for users, games, explorer, tablebase.
Free chess tools for AI agents: Stockfish best move, evaluation, openings and game analysis.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides Chess.com player data integration, enabling AI assistants to fetch real-time chess player profiles and comprehensive statistics including ratings, game counts, and performance metrics from Chess.com's public API.2MIT
- FlicenseBqualityDmaintenanceProvides tools to interact with the Chess.com Public API for fetching real-time player profiles and detailed game statistics. It enables LLMs to access information like player ratings, win/loss records, and current online status.2-
- -licenseNot gradedqualityNot gradedmaintenanceProvides access to Chess.com's public API, allowing AI assistants to fetch player information and statistics.-
- FlicenseBqualityDmaintenanceEnables querying Chess.com player profiles and stats using the Chess.com API.2-