Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LICHESS_API_TOKENNoA Lichess personal access token. Raises your rate limit and unlocks your own private data. Nothing here requires it.
LICHESS_MCP_TIMEOUTNoPer-request timeout in seconds.30
LICHESS_MCP_MIN_INTERVALNoSeconds between requests. Lichess asks for 1 req/sec; lower it only with a token and a good reason.1.0
LICHESS_MCP_HTTP_LOG_LEVELNoSet to INFO to log every outgoing request.WARNING
LICHESS_MCP_MAX_RETRY_AFTERNoLongest 429 back-off to sit out before reporting the rate limit to the caller.60

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_user_profileA

Look up a Lichess player: ratings in every format they play, title, country, account stats, and their current win/loss/draw streak.

search_playersA

Autocomplete Lichess usernames from a partial string. Use this to resolve a half-remembered or misspelled username before calling other tools.

get_recent_gamesB

Fetch a player's most recent games with PGN, result, opponent, opening and accuracy. Optionally filter to one time format or one colour.

get_game_analysisA

Computer analysis of a single Lichess game: per-player accuracy and average centipawn loss, plus every blunder, mistake and inaccuracy with the move that was played, the engine's preferred move, and the evaluation swing.

get_opening_statsB

Win/draw/loss breakdown for one player in a specific opening, as a given colour. Scans the player's recent games and aggregates by opening name.

get_puzzle_of_dayA

Today's Lichess daily puzzle: the FEN to solve, whose move it is, the puzzle rating, its tactical themes, and the solution in UCI and SAN.

analyze_positionA

Evaluate a chess position given as a FEN using Lichess' cloud engine cache. Returns the top engine lines with evaluations, in readable SAN notation.

get_tournament_infoA

Details and standings for a Lichess arena or Swiss tournament: name, time control, player count, games played, and the leaderboard.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Lichess API referenceHow this server maps to Lichess' HTTP API: conventions, endpoints behind each tool, rate limits, and known gaps.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Anay704/lichess-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server