lichess-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Read-only access to public Lichess data: players, games, the daily puzzle, cloud engine evaluations, master-game opening statistics and endgame tablebases. Positions are given in FEN.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_playerA | Public profile of a Lichess player: title, rating and number of games in every time control and variant they have played, overall win/loss/draw record, and when they joined and were last seen. Use it to answer questions about how strong someone is or what they play most. |
| get_recent_gamesA | Most recent games of a Lichess player, newest first, with opponents, ratings, result, how the game ended and the opening. Also returns the player's win/loss/draw record over the games returned. Set withMoves to true only when the moves themselves are needed: they make the result much longer. |
| get_gameA | One Lichess game by id or URL: players, ratings, result, opening and the full list of moves in SAN. Use it after get_recent_games when the moves of a specific game are needed. |
| get_daily_puzzleA | Today's Lichess puzzle: the position to solve in FEN, whose turn it is, the rating, the themes and the solution as a list of moves in UCI notation (the solver's move first, then the forced reply, and so on). |
| get_cloud_evalA | Stockfish evaluation of a position from the Lichess cloud database, with the best line or lines. Scores are always from White's point of view: positive favours White, negative favours Black. Only positions that someone has analysed on Lichess are stored, mostly openings and well-known positions; an unknown position returns an error and is not worth retrying. |
| explore_mastersA | Opening statistics from over-the-board games between masters (rated 2200 or more): how often the position was reached, how often White won, drew and lost, and the most played next moves with their own results. Use it to answer what theory recommends in an opening position. It covers master games only, not online games. |
| probe_tablebaseA | Perfect-play result of an endgame with 7 pieces or fewer (kings included) from the Syzygy tablebases: whether the side to move wins, draws or loses, and every legal move with the result it leads to, best first. A "cursed-win" is a win that the 50-move rule turns into a draw; a "blessed-loss" is the same seen from the other side. |
| get_leaderboardB | Current top players on Lichess for one time control or variant, with title and rating. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Each tool targets a clearly different resource or analysis source: player profile, recent games, single game, daily puzzle, cloud engine eval, master opening stats, Syzygy tablebase, and leaderboard. The three position-analysis tools could superficially overlap, but their descriptions sharply distinguish cloud Stockfish, OTB master statistics, and endgame tablebases.
All tool names use snake_case and follow a verb_noun structure: get_player, get_recent_games, get_game, get_cloud_eval, explore_masters, probe_tablebase, etc. The verbs vary appropriately by operation while remaining predictable and consistent.
Eight tools is well-scoped for a Lichess data server, covering player lookup, game retrieval, puzzles, position analysis, and leaderboards without obvious padding. Each tool has a distinct role in the set.
The surface covers the core Lichess analysis workflows: player info, recent and specific games, daily puzzle, cloud eval, masters opening data, tablebases, and leaderboards. Minor gaps remain around player search, broader game history/date filtering, and non-daily puzzle lookup, but agents can work around these for most tasks.