A [Model Context Protocol][mcp] (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. [mcp]: https://modelcontextprotocol.io/introduction/introduction - [x] Access player profiles, stats, and game records - [x] Sea
Add this skill
npx mdskills install pab1it0/chess-mcpWell-documented MCP server with comprehensive Chess.com API tools, clear setup, but over-scoped permissions.
1# Chess.com MCP Server23A [Model Context Protocol][mcp] (MCP) server for Chess.com's Published Data API.45This 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.67https://github.com/user-attachments/assets/3b33361b-b604-465c-9f6a-3699b690775789[mcp]: https://modelcontextprotocol.io/introduction/introduction1011## Features1213- [x] Access player profiles, stats, and game records14- [x] Search games by date and player15- [x] Check player online status16- [x] Get information about clubs and titled players17- [x] No authentication required (uses Chess.com's public API)18- [x] Docker containerization support19- [x] Provide interactive tools for AI assistants2021The list of tools is configurable, so you can choose which tools you want to make available to the MCP client.2223## Usage2425### Docker (Recommended)2627The easiest way to run chess-mcp with [Claude Desktop](https://claude.ai/desktop) is using Docker. If you don't have Docker installed, you can get it from [Docker's official website](https://www.docker.com/get-started/).282930Edit your Claude Desktop config file:31* Mac: `~/Library/Application Support/Claude/claude_desktop_config.json`32* Windows: `%APPDATA%/Claude/claude_desktop_config.json`33* Linux: `~/.config/Claude/claude_desktop_config.json`3435Then add the following configuration:3637```json38{39 "mcpServers": {40 "chess": {41 "command": "docker",42 "args": [43 "run",44 "--rm",45 "-i",46 "pab1it0/chess-mcp"47 ]48 }49 }50}51```5253### Running with UV5455Alternatively, you can run the server directly using UV. Edit your Claude Desktop config file (locations listed above) and add the server configuration:5657```json58{59 "mcpServers": {60 "chess": {61 "command": "uv",62 "args": [63 "--directory",64 "<full path to chess-mcp directory>",65 "run",66 "src/chess_mcp/main.py"67 ]68 }69 }70}71```7273> Note: if you see `Error: spawn uv ENOENT` in [Claude Desktop](https://claude.ai/desktop), you may need to specify the full path to `uv` or set the environment variable `NO_UV=1` in the configuration.7475## Development7677Contributions are welcome! Please open an issue or submit a pull request if you have any suggestions or improvements.7879This project uses [`uv`](https://github.com/astral-sh/uv) to manage dependencies. Install `uv` following the instructions for your platform:8081```bash82curl -LsSf https://astral.sh/uv/install.sh | sh83```8485You can then create a virtual environment and install the dependencies with:8687```bash88uv venv89source .venv/bin/activate # On Unix/macOS90.venv\Scripts\activate # On Windows91uv pip install -e .92```9394### Testing9596The project includes a test suite that ensures functionality and helps prevent regressions.9798Run the tests with pytest:99100```bash101# Install development dependencies102uv pip install -e ".[dev]"103104# Run the tests105pytest106107# Run with coverage report108pytest --cov=src --cov-report=term-missing109```110111## Available Tools112113### Player Information114- `get_player_profile` - Get a player's profile from Chess.com115- `get_player_stats` - Get a player's stats from Chess.com116- `is_player_online` - Check if a player is currently online on Chess.com117- `get_titled_players` - Get a list of titled players from Chess.com118119### Games120- `get_player_current_games` - Get a player's ongoing games on Chess.com121- `get_player_games_by_month` - Get a player's games for a specific month from Chess.com122- `get_player_game_archives` - Get a list of available monthly game archives for a player on Chess.com123- `download_player_games_pgn` - Download PGN files for all games in a specific month from Chess.com124125### Clubs126- `get_club_profile` - Get information about a club on Chess.com127- `get_club_members` - Get members of a club on Chess.com128129## License130131MIT132133---134135[mcp]: https://modelcontextprotocol.io
Full transparency — inspect the skill content before installing.