Lichess: Opening Explorer
lichess_opening_explorerQuery a chess position across master, Lichess, or player opening databases to retrieve opening names, win/draw/loss totals, and common next moves.
Instructions
Look up a position in the Lichess Opening Explorer. db=masters (OTB master games), lichess (Lichess games, filterable by speeds/ratings), or player (a specific user's games — requires player and color). Returns the opening name, win/draw/loss totals, and the most common next moves.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"db": "<db>",
"fen": "<fen>"
},
"name": "lichess_opening_explorer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | Yes | Which database to query | |
| fen | Yes | FEN of the position to look up | |
| play | No | Comma-separated UCI moves from the FEN (alternative drill-down) | |
| color | No | Side the player had — used with db=player | |
| moves | No | Number of next moves to return (default upstream) | |
| player | No | Username — required when db=player | |
| speeds | No | Comma-separated speeds for lichess/player db (e.g. blitz,rapid) | |
| ratings | No | Comma-separated rating bands for the lichess db (e.g. 2000,2200) | |
| variant | No | Variant for the lichess/player db (e.g. standard, chess960) |