chess-uci-mcp logo

chess-uci-mcp

by AnglerfishChess

chess-uci-mcp is an MCP bridge that provides an interface to UCI chess engines like Stockfish. It allows you to integrate powerful chess analysis capabilities into your MCP setup.

View on GitHub

Last updated: N/A

What is chess-uci-mcp?

chess-uci-mcp is a bridge that connects MCP (Message Communication Protocol) to UCI (Universal Chess Interface) chess engines. This allows MCP applications to leverage the analytical power of chess engines like Stockfish.

How to use chess-uci-mcp?

To use chess-uci-mcp, you need a UCI-compatible chess engine installed (e.g., Stockfish). Configure your MCP setup (e.g., Claude Desktop) by adding a server configuration with the correct command and arguments, specifying the path to your chess engine binary. The README provides examples for using uvx (recommended) or uv to run the bridge.

Key features of chess-uci-mcp

  • Provides an interface to UCI chess engines

  • Supports Stockfish and other UCI-compatible engines

  • Offers MCP commands for chess analysis

  • Uses uvx or uv for dependency management and execution

  • Allows setting the chess position using FEN strings

Use cases of chess-uci-mcp

  • Integrating chess analysis into MCP-based applications

  • Analyzing chess positions within Claude Desktop

  • Developing chess-related tools and services using MCP

  • Automated chess analysis and evaluation

  • Providing chess engine functionality to AI assistants

FAQ from chess-uci-mcp

What is UCI?

UCI stands for Universal Chess Interface, a communication protocol for chess engines.

What is MCP?

MCP stands for Message Communication Protocol.

Which chess engines are supported?

Any UCI-compatible chess engine should work, but it has been tested with Stockfish 17.

How do I install Stockfish?

You can download it from https://stockfishchess.org/download/ or use brew install stockfish on macOS.

Where do I configure the MCP server?

The configuration depends on your MCP setup. For Claude Desktop, it's in claude_desktop_config.json.