Chess MCP Server
Enables AI assistants to play, analyze, and track chess games with full rule validation and support for standard algebraic notation. It provides tools for position evaluation and game state persistence during user sessions.
README
Chess MCP Server
A Model Context Protocol (MCP) server that enables AI assistants to play and analyze chess games.
Overview
This MCP server provides chess functionality through the Model Context Protocol, allowing AI assistants like Claude to:
- Play chess games with proper move validation
- Analyze positions and suggest moves
- Track game state and history
- Support standard chess notation
Installation
Prerequisites
- Python 3.8 or higher
uvxpackage runner
Setup
Add the following configuration to your MCP settings file (typically claude_desktop_config.json):
{
"mcpServers": {
"chess": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/chatkausik/Chess-mcp-server-build.git",
"chess"
]
}
}
}
Configuration File Location
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Usage
Once configured, the chess server will be available to Claude through the MCP protocol. You can:
- Start a new game: Ask Claude to begin a chess game
- Make moves: Use standard algebraic notation (e.g., "e4", "Nf3", "O-O")
- Analyze positions: Request analysis of the current board state
- Review game history: View previous moves and positions
Features
- ♟️ Full chess rule implementation
- ✅ Move validation and legal move generation
- 📊 Position evaluation and analysis
- 📝 Game history tracking
- 🎯 Support for standard chess notation
- 🔄 Game state persistence during session
Example Interactions
User: Let's play chess. I'll be white.
Claude: I'll start a new game. Make your first move!
User: e4
Claude: Good opening! I'll respond with e5.
User: Analyze the position
Claude: [Provides analysis of current board state]
Development
Repository
Source code: https://github.com/chatkausik/Chess-mcp-server-build
Contributing
Contributions are welcome! Please feel free to submit issues or pull requests to the GitHub repository.
Technical Details
This server uses:
- MCP Protocol: Model Context Protocol for AI integration
- Python Chess Library: For game logic and validation
- uvx: For package execution and management
Troubleshooting
If you encounter issues:
- Ensure
uvxis installed and accessible in your PATH - Verify the configuration file is in the correct location
- Restart Claude after making configuration changes
- Check that you have an active internet connection for initial installation
License
Please refer to the repository for license information.
Support
For bugs, feature requests, or questions, please open an issue on the GitHub repository.
Made with ♟️ by the chess MCP community
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.