API & MCP

Everything a person can do on Elo/Glicko Rating Lab, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Elo/Glicko Rating Lab

Enter game results (win, draw, loss) grouped into rating periods and see the ratings under Elo (fixed K or FIDE-style K), Glicko-1 and Glicko-2, implemented exactly as in Mark Glickman's papers, with the rating deviation and volatility, a rating history chart and the win probability between any two players.

Inputs of Elo/Glicko Rating Lab
FieldTypeDefaultDescription
games (required)table—Games. One row per game. The score is from the first player's point of view. Games with the same period number form one Glicko rating period.
playerstable—Starting ratings (optional). Players not listed start at 1500, RD 350, volatility 0.06 (Glickman's defaults for unrated players).
eloKselect (10, 16, 20, 24, 32, 40, fide)"32"Elo K-factor
taunumber0.5Glicko-2 τ (volatility constraint). Glickman suggests 0.3–1.2; smaller values change the volatility more slowly.
glickoCnumber34.6Glicko-1 c (RD growth per idle period). 34.6 lets an RD of 50 grow back to 350 in 100 periods.
playerAtext—Win probability: player A. Default: the two highest-rated players.
playerBtext—Win probability: player B
chartSystemselect (glicko2, glicko1, elo)"glicko2"Chart

Example request

Glickman's worked example (1500 vs 1400, 1550, 1700)

curl -X POST https://eloglickoratinglab.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"games":[{"period":1,"player":"Player","opponent":"A","score":"1"},{"period":1,"player":"Player","opponent":"B","score":"0"},{"period":1,"player":"Player","opponent":"C","score":"0"}],"players":[{"name":"Player","rating":1500,"rd":200,"volatility":0.06},{"name":"A","rating":1400,"rd":30},{"name":"B","rating":1550,"rd":100},{"name":"C","rating":1700,"rd":300}],"tau":0.5}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "elo-glicko-rating-lab": { "type": "http", "url": "https://eloglickoratinglab.usefulweb.site/mcp" }
  }
}