Skip to main content
Glama

Lichess MCP

export_games_by_ids

Extract multiple Lichess chess games by IDs into PGN format with customizable options for moves, tags, clocks, analysis, and openings. Supports batch processing of up to 300 game IDs.

Instructions

Export multiple games by IDs

Input Schema

NameRequiredDescriptionDefault
clocksNoInclude clock comments
evalsNoInclude analysis
idsYesGame IDs separated by commas. Up to 300 IDs.
movesNoInclude the PGN moves
openingNoInclude opening name
pgnInJsonNoInclude the full PGN within the JSON response
tagsNoInclude the PGN tags

Input Schema (JSON Schema)

{ "properties": { "clocks": { "default": false, "description": "Include clock comments", "type": "boolean" }, "evals": { "default": false, "description": "Include analysis", "type": "boolean" }, "ids": { "description": "Game IDs separated by commas. Up to 300 IDs.", "type": "string" }, "moves": { "default": true, "description": "Include the PGN moves", "type": "boolean" }, "opening": { "default": false, "description": "Include opening name", "type": "boolean" }, "pgnInJson": { "default": false, "description": "Include the full PGN within the JSON response", "type": "boolean" }, "tags": { "default": true, "description": "Include the PGN tags", "type": "boolean" } }, "required": [ "ids" ], "type": "object" }

Other Tools from Lichess MCP

Related Tools

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