C
Chess.com
community
search
Access Chess.com player data, game records, and other public information through standardized MCP interfaces, allowing AI assistants to search and analyze chess information.
Chess.com MCP Server
A Model Context Protocol (MCP) server for Chess.com's Published Data API.
This provides access to Chess.com player data, game records, and other public information through standardized MCP interfaces, allowing AI assistants to search and analyze chess information.
Features
- Access player profiles, stats, and game records
- Search games by date and player
- Check player online status
- Get information about clubs and titled players
- No authentication required (uses Chess.com's public API)
- Docker containerization support
- Provide interactive tools for AI assistants
The list of tools is configurable, so you can choose which tools you want to make available to the MCP client.
Usage
Docker (Recommended)
The easiest way to run chess-mcp with Claude Desktop is using Docker. If you don't have Docker installed, you can get it from Docker's official website.
Edit your Claude Desktop config file:
- Mac:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%/Claude/claude_desktop_config.json
- Linux:
~/.config/Claude/claude_desktop_config.json
Then add the following configuration:
{ "mcpServers": { "chess": { "command": "docker", "args": [ "run", "--rm", "-i", "pab1it0/chess-mcp" ] } } }
Running with UV
Alternatively, you can run the server directly using UV. Edit your Claude Desktop config file (locations listed above) and add the server configuration:
{ "mcpServers": { "chess": { "command": "uv", "args": [ "--directory", "<full path to chess-mcp directory>", "run", "src/chess_mcp/main.py" ] } } }
Note: if you seein Claude Desktop, you may need to specify the full path toError: spawn uv ENOENT
or set the environment variableuv
in the configuration.NO_UV=1
Development
Contributions are welcome! Please open an issue or submit a pull request if you have any suggestions or improvements.
This project uses
uv
to manage dependencies. Install uv
following the instructions for your platform:curl -LsSf https://astral.sh/uv/install.sh | sh
You can then create a virtual environment and install the dependencies with:
uv venv source .venv/bin/activate # On Unix/macOS .venv\Scripts\activate # On Windows uv pip install -e .
Testing
The project includes a test suite that ensures functionality and helps prevent regressions.
Run the tests with pytest:
# Install development dependencies uv pip install -e ".[dev]" # Run the tests pytest # Run with coverage report pytest --cov=src --cov-report=term-missing
Available Tools
Player Information
- Get a player's profile from Chess.comget_player_profile
- Get a player's stats from Chess.comget_player_stats
- Check if a player is currently online on Chess.comis_player_online
- Get a list of titled players from Chess.comget_titled_players
Games
- Get a player's ongoing games on Chess.comget_player_current_games
- Get a player's games for a specific month from Chess.comget_player_games_by_month
- Get a list of available monthly game archives for a player on Chess.comget_player_game_archives
- Download PGN files for all games in a specific month from Chess.comdownload_player_games_pgn
Clubs
- Get information about a club on Chess.comget_club_profile
- Get members of a club on Chess.comget_club_members
License
MIT
Related Servers
Aiven
official
Navigate your [Aiven projects](https://go.aiven.io/mcp-server) and interact with the PostgreSQL®, Apache Kafka®, ClickHouse® and OpenSearch® services
View DetailsApify
official
[Actors MCP Server](https://apify.com/apify/actors-mcp-server): Use 3,000+ pre-built cloud tools to extract data from websites, e-commerce, social media, search engines, maps, and more
View Details