MCP Hub
Back to servers

Lichess MCP

Connects Claude to Lichess for playing chess games, analyzing positions with Stockfish cloud evaluation, and solving puzzles. Supports real-time gameplay including moves, challenges, draw offers, and accessing user profiles and game history.

glama
Updated
Apr 4, 2026

lichess-mcp

A Model Context Protocol (MCP) server that connects Claude to Lichess. Play chess, analyze positions, solve puzzles, and manage your games — all from Claude.

Installation

Claude Desktop

Add the following to your Claude Desktop config:

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "lichess-mcp": {
      "command": "npx",
      "args": ["-y", "lichess-mcp"]
    }
  }
}

Restart Claude Desktop after saving.

Claude Code

claude mcp add lichess-mcp -- npx -y lichess-mcp

Authentication

After installation, ask Claude to "start Lichess auth". A browser window will open for you to authorize the app with your Lichess account. Your token is cached locally at ~/.lichess-mcp-auth/token.json and reused automatically on future sessions.

Tools

Auth

ToolDescription
lichess_auth_startBegin OAuth login — opens a browser window
lichess_auth_statusCheck if you're logged in

Account

ToolDescription
lichess_get_my_profileYour ratings and account stats
lichess_get_userAny player's public profile
lichess_get_my_gamesYour recent game history

Games

ToolDescription
lichess_get_ongoing_gamesList your active games
lichess_create_challengeChallenge a player to a game
lichess_make_movePlay a move (UCI notation, e.g. e2e4)
lichess_stream_gameGet live board state for a game
lichess_resignResign a game
lichess_offer_drawOffer, accept, or decline a draw

Puzzles & Analysis

ToolDescription
lichess_get_daily_puzzleToday's Lichess puzzle
lichess_get_puzzleA specific puzzle by ID
lichess_cloud_evalStockfish cloud evaluation for a FEN position

Example prompts

  • "What's my current blitz rating?"
  • "Show me my last 5 games as white"
  • "Challenge @DrNykterstein to a 5+3 rated game"
  • "What's the best move in this position: rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1"
  • "Get today's puzzle"
  • "Resign my current game"

Requirements

License

MIT

Reviews

No reviews yet

Sign in to write a review