API & MCP

Everything a person can do on Game Event Replay, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Game Event Replay

Replay your own match events with named teams, score corrections, lead changes, tied scores and an explicit match duration.

Inputs of Game Event Replay
FieldTypeDefaultDescription
eventstable[{"minute":3,"second":20,"team":"home","points":1,"note":"Goal"},{"minute":8,"seGame events
homeNametext"Home"Home team
awayNametext"Away"Away team
durationMinutesnumber0Match duration (minutes, 0 = last event)

Example request

Try an example

curl -X POST https://fielddaygamereplay.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{}'

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": {
    "fieldday-game-replay": { "type": "http", "url": "https://fielddaygamereplay.usefulweb.site/mcp" }
  }
}