Skip to main content
Glama

export_game

Export chess games from Lichess in PGN or JSON format with customizable options for moves, analysis, tags, and annotations.

Instructions

Export one game in PGN or JSON format

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gameIdYesThe game ID
movesNoInclude the PGN moves
pgnInJsonNoInclude the full PGN within the JSON response
tagsNoInclude the PGN tags
clocksNoInclude clock comments in the PGN moves
evalsNoInclude analysis evaluation comments
accuracyNoInclude accuracy percentages
openingNoInclude opening name
literateNoInclude textual annotations

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