Skip to main content
Glama

export_user_games

Export chess games from a Lichess user account with customizable filters for analysis, opponent, time control, and game details.

Instructions

Export all games of a user

Input Schema

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

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/karayaman/lichess-mcp'

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