Lichess
liveGamesSportsLichess public API — players, ratings, top lists, cloud eval, tablebase, opening explorer. Keyless.
10tools
0msauth
free tier50 calls/day
Tools
userrequired: usernamePlayer profile.
Parameters
NameTypeDescription
usernamereqstring—Try it
Response
usersrequired: usernamesBulk lookup (up to 300).
Parameters
NameTypeDescription
usernamesreqarray—Try it
Response
user_statusrequired: usernamesOnline / playing status.
Parameters
NameTypeDescription
usernamesreqarray—Try it
Response
user_performancerequired: username, perfSingle-variant performance + best rated game.
Parameters
NameTypeDescription
usernamereqstring—perfreqstring—Try it
Response
top_playersrequired: perfTop-rated players for one variant.
Parameters
NameTypeDescription
perfreqstring—limitoptnumber—Try it
Response
leaderboardsTop-10 across all variants.
No parameters required.
Try it
Response
tv_channelsCurrently-featured TV games.
No parameters required.
Try it
Response
cloud_evalrequired: fenStockfish cloud evaluation for a FEN.
Parameters
NameTypeDescription
fenreqstring—multi_pvoptnumber—Try it
Response
tablebaserequired: fenSyzygy tablebase lookup.
Parameters
NameTypeDescription
fenreqstring—variantoptstring—Try it
Response
opening_explorerrequired: scopeLichess/Masters/Player opening DB.
Parameters
NameTypeDescription
scopereqstring—fenoptstring—playoptstring—playeroptstring—speedsoptstring—ratingsoptstring—movesoptnumber—Try it
Response
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
List available tools
bash
curl -X POST https://gateway.pipeworx.io/lichess/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Call a tool
bash
curl -X POST https://gateway.pipeworx.io/lichess/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"user","arguments":{"username": "octocat"}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("user", {"username":"example"});ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("lichess public api — players, ratings, top lists, cloud eval, tablebase, opening explorer");