Loading...

This MCP server enables playing chess against an LLM, providing tools to manage games, analyze positions, and visualize the board.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
This MCP server enables playing chess against an LLM, providing tools to manage games, analyze positions, and visualize the board.
This server is relatively safe for general use. The primary risk lies in potential resource exhaustion of the LLM or unexpected behavior due to invalid moves. Exercise caution when providing PGN strings to find_position_in_pgn.
Performance is primarily limited by the LLM's processing speed and the complexity of the chess positions. Complex PGN analysis may take longer.
Cost depends on the LLM's pricing model. Each move and PGN analysis will likely incur a cost.
{
"mcpServers": {
"chess": {
"command": "uvx",
"args": [
"mcp-chess"
]
}
}
}get_board_visualization()Provides an image of the current chessboard state.
Read-only operation with no side effects.
get_turn()Returns whose turn it is to move.
Read-only operation.
get_valid_moves()Lists all legal moves for the current player.
Read-only operation.
make_move(move_san: str)Makes a move on the board using Standard Algebraic Notation.
Modifies the game state, but is constrained by chess rules.
new_game(user_plays_white: bool = True)Starts a new chess game, resetting the board.
Resets the game state.
find_position_in_pgn(pgn_string: str, condition: str)Finds a board position in a PGN matching a given condition.
Reads and processes a PGN string, but doesn't modify any system files.
None
This server is relatively safe for general use. The primary risk lies in potential resource exhaustion of the LLM or unexpected behavior due to invalid moves. Exercise caution when providing PGN strings to `find_position_in_pgn`.
The server has read and write access to the chess game state, but it is sandboxed within the MCP environment.
Production Tip
Monitor the LLM's response time to ensure a smooth user experience.
The server uses Standard Algebraic Notation (SAN) for input and UCI notation for internal representation.
No, this server only supports playing against the LLM.
Draw offers are not currently supported.
The server may return an error or attempt to correct the move. The behavior is not guaranteed.
No, saving and loading games is not currently supported.
There might be a limit, but it is not documented. Shorter PGN strings are recommended.
The LLM's chess playing ability is determined by its training data and architecture. You cannot directly improve it through this server.