Lichess MCP

by karayaman
Verified

export_user_games

Export all games of a user

Input Schema

NameRequiredDescriptionDefault
accuracyNoInclude accuracy
analysedNoOnly games with or without computer analysis
clocksNoInclude clock comments
colorNoOnly games played as this color
evalsNoInclude analysis
finishedNoInclude finished games
lastFenNoInclude last position FEN
literateNoInclude textual annotations
maxNoMaximum number of games to download
movesNoInclude moves
ongoingNoInclude ongoing games
openingNoInclude opening
perfTypeNoOnly games in these speeds or variants
ratedNoOnly rated (true) or casual (false) games
sinceNoDownload games played since timestamp
sortNoSort order of gamesdateDesc
tagsNoInclude tags
untilNoDownload games played until timestamp
usernameYesThe username
vsNoOnly games against this opponent

Input Schema (JSON Schema)

{ "properties": { "accuracy": { "default": false, "description": "Include accuracy", "type": "boolean" }, "analysed": { "description": "Only games with or without computer analysis", "type": "boolean" }, "clocks": { "default": false, "description": "Include clock comments", "type": "boolean" }, "color": { "description": "Only games played as this color", "enum": [ "white", "black" ], "type": "string" }, "evals": { "default": false, "description": "Include analysis", "type": "boolean" }, "finished": { "default": true, "description": "Include finished games", "type": "boolean" }, "lastFen": { "default": false, "description": "Include last position FEN", "type": "boolean" }, "literate": { "default": false, "description": "Include textual annotations", "type": "boolean" }, "max": { "description": "Maximum number of games to download", "type": "number" }, "moves": { "default": true, "description": "Include moves", "type": "boolean" }, "ongoing": { "default": false, "description": "Include ongoing games", "type": "boolean" }, "opening": { "default": false, "description": "Include opening", "type": "boolean" }, "perfType": { "description": "Only games in these speeds or variants", "enum": [ "ultraBullet", "bullet", "blitz", "rapid", "classical", "correspondence", "chess960", "crazyhouse", "antichess", "atomic", "horde", "kingOfTheHill", "racingKings", "threeCheck" ], "type": "string" }, "rated": { "description": "Only rated (true) or casual (false) games", "type": "boolean" }, "since": { "description": "Download games played since timestamp", "type": "number" }, "sort": { "default": "dateDesc", "description": "Sort order of games", "enum": [ "dateAsc", "dateDesc" ], "type": "string" }, "tags": { "default": true, "description": "Include tags", "type": "boolean" }, "until": { "description": "Download games played until timestamp", "type": "number" }, "username": { "description": "The username", "type": "string" }, "vs": { "description": "Only games against this opponent", "type": "string" } }, "required": [ "username" ], "type": "object" }