mcp-chess

mcp-chess

3.4

If you are the rightful owner of mcp-chess 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.

The MCP Chess Server allows users to play chess against any LLM, providing tools for game visualization and analysis.

The MCP Chess Server is a model context protocol server designed to facilitate playing chess against language learning models (LLMs). It offers a range of tools to visualize the chessboard, determine the current player's turn, list valid moves, and make moves using Standard Algebraic Notation (SAN). Additionally, it allows users to start new games and analyze positions within a PGN (Portable Game Notation) file. The server is configured through the MCP configuration file, enabling seamless integration with existing MCP setups. This server is ideal for chess enthusiasts looking to challenge LLMs or analyze games using advanced computational tools.

Features

  • Play chess against any LLM with real-time board visualization.
  • Determine the current player's turn and list all valid moves.
  • Make moves using Standard Algebraic Notation (SAN) and receive updates in UCI and FEN formats.
  • Start new games with customizable player color settings.
  • Analyze specific positions within a PGN file using condition-based search.

Tools

  1. get_board_visualization

    Provides the current state of the chessboard as an image, with automatic orientation based on the user's color.

  2. get_turn

    Indicates whose turn it is ('white' or 'black').

  3. get_valid_moves

    Lists all legal moves for the current player in UCI notation.

  4. make_move

    Makes a move on the board using SAN and returns the move in SAN and UCI, the new board FEN, and game status.

  5. new_game

    Starts a new game, resetting the board and setting the user's color for board orientation.

  6. find_position_in_pgn

    Finds the first board position in a PGN string matching a condition and returns an image of that board state.