lichess_game
Export one Lichess game by 8- or 12-character ID as JSON, including players, ratings, winner, moves, clocks, opening, and optional analysis for replay or research.
Instructions
Export one Lichess game. Returns one game by ID as a source JSON record with players, ratings, status, winner, clock, moves, opening and analysis summary. Accepts the 8-character game ID or the 12-character full ID. Ongoing games are delayed by three moves. Flags choose the moves, full PGN, tags, clocks, evaluations, accuracy, opening, division and annotations. Person-level records (usernames, names, ratings) are returned as published under the maintainer's 2026-11-23 approval. Requests use the shared cross-replica serial gate and honor Lichess's 60-second minimum cooldown after HTTP 429.
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": {
"id": "<id>"
},
"name": "lichess_game"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Lichess game ID: 8 characters, or the 12-character full ID | |
| tags | No | Include the PGN tags in the pgn field; source default true | |
| evals | No | Include analysis evaluations when available; source default true | |
| moves | No | Include the moves; source default true | |
| clocks | No | Include clock times; source default true | |
| opening | No | Include the opening name; source default true | |
| accuracy | No | Include accuracy percent when available; source default false | |
| division | No | Include the middlegame and endgame plies; source default true | |
| literate | No | Insert textual annotations into the pgn field; source default false | |
| pgnInJson | No | Include the full PGN in a pgn field; source default false |