Lichess
liveGamesSportsLichess public API — players, ratings, top lists, cloud eval, tablebase, opening explorer. Keyless.
Tools
userrequired: usernameFetch a Lichess player's public profile by username, including ratings across all variants (bullet, blitz, rapid, classical, chess960, etc.) and account metadata.
usernamereqstring—Try it
usersrequired: usernamesBulk lookup of up to 300 users by username.
usernamesreqarray—Try it
user_statusrequired: usernamesOnline / playing status for the given usernames (up to 100).
usernamesreqarray—Try it
user_performancerequired: username, perfSingle-variant performance + best rated game for a user.
usernamereqstring—perfreqstring—Try it
top_playersrequired: perfLichess leaderboard for a single chess variant: the highest-rated Lichess accounts in one perf (bullet, blitz, rapid, classical, correspondence, chess960, crazyhouse, atomic, antichess, horde, kingOfT
perfreqstring—limitoptnumber—Try it
leaderboardsFetch the top-10 rated players across every Lichess variant in a single call; returns one ranked list per variant (bullet, blitz, rapid, classical, and more).
No parameters required.
Try it
tv_channelsCurrently-featured TV games per variant.
No parameters required.
Try it
cloud_evalrequired: fenStockfish cloud evaluation for a FEN position.
fenreqstring—multi_pvoptnumber—Try it
tablebaserequired: fenSyzygy tablebase lookup (≤7 pieces). Variant: standard (default), atomic, antichess.
fenreqstring—variantoptstring—Try it
opening_explorerrequired: scopeOpening explorer. scope: "lichess" (community), "masters" (top 2200+ humans), "player" (single user). As of mid-2026 Lichess began requiring a Personal API Token on every explorer.lichess.ovh request
scopereqstring—fenoptstring—playoptstring—playeroptstring—speedsoptstring—ratingsoptstring—movesoptnumber—Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/lichess/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'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.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("user", {"username":"example"});// Or ask in plain English:
const answer = await px.ask("lichess public api — players, ratings, top lists, cloud eval, tablebase, opening explorer");