Chess MCP logo

Chess MCP

Chess position analysis MCP server powered by chess-api.com (Stockfish 18 NNUE). Provides best move search, multi-variant analysis, and position evaluation for any FEN position.

chess
game
|

Chess Analysis MCP Server

A Model Context Protocol server that provides chess position analysis powered by chess-api.com (Stockfish 18 NNUE engine).

Tools

get-best-move

Analyzes a chess position and returns the single best move with evaluation details.

  • Input: FEN string, optional depth (1-18), optional maxThinkingTime (1-100ms)
  • Output: best move (SAN + LAN), eval score, win chance, mate detection, continuation line, ASCII board

analyze-position

Deep analysis returning multiple candidate moves ranked by evaluation.

  • Input: FEN string, optional variants (1-5), depth, maxThinkingTime, searchmoves filter
  • Output: ranked list of candidate moves with eval, win chance, piece info, capture/castling/promotion flags

evaluate-position

Quick position evaluation without move recommendation.

  • Input: FEN string
  • Output: eval score, win chance percentage, advantage (white/black/equal), mate detection, summary

Example

{
  "fen": "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1"
}

→ Best move: e5 (eval +0.27, balanced position, depth 12)
PlaygroundUpdated Mar 22, 2026