user_performance

Pack: lichess · Endpoint: https://gateway.pipeworx.io/lichess/mcp

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

Parameters

NameTypeRequiredDescription
usernamestringyes
perfstringyesbullet | blitz | rapid | classical | correspondence | chess960 | crazyhouse | antichess | atomic | horde | kingOfTheHill | racingKings | threeCheck | ultraBullet

Example call

Arguments

{
  "username": "hikaru",
  "perf": "blitz"
}

curl

curl -X POST https://gateway.pipeworx.io/lichess/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"user_performance","arguments":{"username":"hikaru","perf":"blitz"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('user_performance', {
  "username": "hikaru",
  "perf": "blitz"
});

More examples

{
  "username": "magnuschess",
  "perf": "classical"
}

Response shape

FieldTypeDescription
statobject
ranknumberRanking in variant
percentilenumberPercentile ranking
bestWinsarrayBest wins
Full JSON Schema
{
  "type": "object",
  "properties": {
    "stat": {
      "type": "object",
      "properties": {
        "rating": {
          "type": "number",
          "description": "Current rating"
        },
        "rd": {
          "type": "number",
          "description": "Rating deviation"
        },
        "prog": {
          "type": "number",
          "description": "Progress"
        },
        "prov": {
          "type": "boolean",
          "description": "Provisional"
        },
        "plays": {
          "type": "number",
          "description": "Games played"
        },
        "score": {
          "type": "number",
          "description": "Score"
        }
      }
    },
    "rank": {
      "type": "number",
      "description": "Ranking in variant"
    },
    "percentile": {
      "type": "number",
      "description": "Percentile ranking"
    },
    "bestWins": {
      "type": "array",
      "description": "Best wins",
      "items": {
        "type": "object",
        "properties": {
          "gameId": {
            "type": "string",
            "description": "Game ID"
          },
          "opponentRating": {
            "type": "number",
            "description": "Opponent rating"
          },
          "opponentName": {
            "type": "string",
            "description": "Opponent username"
          }
        }
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "lichess": {
      "url": "https://gateway.pipeworx.io/lichess/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026