MCP Chess Server

by jiayao
Apache 2.0
4

MCP Chess Server

This MCP let's you play chess against any LLM.

Installation

To use this chess server, add the following configuration to your MCP config:

{ "mcpServers": { "chess": { "command": "uvx", "args": [ "mcp-chess" ] } } }

Usage

Play a game:

Find a position in a PGN for game analysis:

Available Tools

The server provides the following tools:

  • get_board_visualization(): Provides the current state of the chessboard as an image. The board orientation automatically flips based on the user's assigned color.
  • get_turn(): Indicates whose turn it is ('white' or 'black').
  • get_valid_moves(): Lists all legal moves for the current player in UCI notation (e.g., 'e2e4', 'g1f3'). Returns an empty list if the game is over.
  • make_move(move_san: str): Makes a move on the board using Standard Algebraic Notation (SAN) (e.g., 'e4', 'Nf3', 'Bxe5'). Returns the move in SAN and UCI, the new board FEN, and game status.
  • new_game(user_plays_white: bool = True): Starts a new game, resetting the board. By default, the user plays white. Sets the user's color for board orientation. Returns a confirmation message.
  • find_position_in_pgn(pgn_string: str, condition: str): Finds the first board position in a PGN string matching a condition (e.g., "bishop on a3") and returns an image of that board state. The condition format is "piece_type on square_name". Valid piece types are "pawn", "knight", "bishop", "rook", "queen", "king".
-
security - not tested
A
license - permissive license
-
quality - not tested

A server that enables users to play chess against any LLM, with features for visualizing the board, making moves in standard notation, and analyzing positions from PGN files.

  1. Installation
    1. Usage
      1. Available Tools

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          This is a server that lets your LLMs (like Claude) talk directly to your BigQuery data! Think of it as a friendly translator that sits between your AI assistant and your database, making sure they can chat securely and efficiently.
          Last updated -
          1
          215
          37
          JavaScript
          MIT License
        • A
          security
          F
          license
          A
          quality
          A server that enables browser automation using Playwright, allowing interaction with web pages, capturing screenshots, and executing JavaScript in a browser environment through LLMs.
          Last updated -
          12
          9,719
          1
          TypeScript
        • A
          security
          A
          license
          A
          quality
          An MCP server that enables natural language interaction with the Lichess chess platform, allowing users to play games, analyze positions, manage their account, and participate in tournaments through Claude.
          Last updated -
          90
          2
          JavaScript
          MIT License
          • Apple
          • Linux
        • -
          security
          F
          license
          -
          quality
          A server that adds Bitcoin payment capabilities to LLMs, enabling sending/receiving payments, creating charges, managing wallets, and performing other Bitcoin Lightning Network operations.
          Last updated -
          4
          TypeScript
          • Apple
          • Linux

        View all related MCP servers

        ID: 6tbljokzmw