Lichess

liveGamesSports

Lichess public API — players, ratings, top lists, cloud eval, tablebase, opening explorer. Keyless.

10tools
0msauth
free tier50 calls/day

Tools

userrequired: username

Fetch a Lichess player's public profile by username, including ratings across all variants (bullet, blitz, rapid, classical, chess960, etc.) and account metadata.

Parameters
NameTypeDescription
usernamereqstring—
▶Try it
usersrequired: usernames

Bulk lookup of up to 300 users by username.

Parameters
NameTypeDescription
usernamesreqarray—
▶Try it
user_statusrequired: usernames

Online / playing status for the given usernames (up to 100).

Parameters
NameTypeDescription
usernamesreqarray—
▶Try it
user_performancerequired: username, perf

Single-variant performance + best rated game for a user.

Parameters
NameTypeDescription
usernamereqstring—
perfreqstring—
▶Try it
top_playersrequired: perf

Lichess 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

Parameters
NameTypeDescription
perfreqstring—
limitoptnumber—
▶Try it
leaderboards

Fetch 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_channels

Currently-featured TV games per variant.

No parameters required.

▶Try it
cloud_evalrequired: fen

Stockfish cloud evaluation for a FEN position.

Parameters
NameTypeDescription
fenreqstring—
multi_pvoptnumber—
▶Try it
tablebaserequired: fen

Syzygy tablebase lookup (≤7 pieces). Variant: standard (default), atomic, antichess.

Parameters
NameTypeDescription
fenreqstring—
variantoptstring—
▶Try it
opening_explorerrequired: scope

Opening 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

Parameters
NameTypeDescription
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.

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");