mcp-stockfish

sonirico/mcp-stockfish

3.2

If you are the rightful owner of mcp-stockfish and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

mcp-stockfish is a Model Context Protocol server that connects AI systems with the Stockfish chess engine, enabling advanced chess analysis through a structured protocol.

mcp-stockfish serves as a bridge between AI models and the Stockfish chess engine, utilizing the Model Context Protocol (MCP) to facilitate communication. This server allows AI systems to leverage Stockfish's powerful chess analysis capabilities, making it easier to integrate advanced chess computations into AI applications. By supporting multiple concurrent sessions, mcp-stockfish enables efficient handling of numerous chess positions simultaneously, catering to the needs of AI systems that require extensive chess analysis. Built on the mcp-go framework, this server ensures robust error handling and seamless integration with existing systems. It supports full UCI (Universal Chess Interface) commands, allowing users to interact with Stockfish using standard chess engine commands. Additionally, mcp-stockfish is containerized with Docker, providing a convenient setup for deployment in various environments.

Features

  • Concurrent Sessions: Supports multiple Stockfish instances simultaneously.
  • Full UCI Support: Provides comprehensive command support for chess engine interaction.
  • Error Handling: Ensures reliable operation with proper error management.
  • JSON Communication: Utilizes JSON for structured data exchange.
  • Docker Ready: Easily deployable in containerized environments.

Usages

usage with Claude Desktop

{
  "mcpServers": {
    "chess": {
      "command": "mcp-stockfish",
      "env": {
        "MCP_STOCKFISH_LOG_LEVEL": "info"
      }
    }
  }
}