convez.ai
MCP ServerUtilidadesIntermediário
jiayao

MCP Chess Server

jiayao/mcp-chess

Jogue xadrez contra IA com visualização interativa do tabuleiro

Ver no GitHub
InicialPluginScore · de 0 a 100

Servidor MCP que permite jogar xadrez contra qualquer LLM. Oferece ferramentas para visualizar o tabuleiro, listar movimentos válidos, fazer lances e analisar posições em arquivos PGN.

Instalação

$npx convez-ai jiayao/mcp-chess

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
24
Forks
9
Acompanhando
1
Saúde
42%
Último commit
há 1 ano
Versão
—
Issues abertas
2
Contribuidores
1

Casos de uso

  • Jogar xadrez contra LLMs em conversas Claude
  • Analisar posições e movimentos de partidas em notação PGN
  • Aprender xadrez com feedback de IA durante o jogo

Veredito

MCP bem construído que integra xadrez ao ecossistema Claude de forma funcional. Ideal para quem quer jogar ou estudar xadrez conversacionalmente, mas tem escopo limitado a esse domínio específico.

README

A tradução para o português deste README ainda está na fila.

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: Chess starting position with black pieces

A few moves later

Find a position in a PGN for game analysis:

Find a position in a PGN

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".
Ver o original no GitHub

Bom para

Relacionados