API & MCP

Everything a person can do on Reaction Time Statistics, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

  • POST https://mindquarryreactionstats.usefulweb.site/api/v1/calculate – run Reaction Time Statistics
  • GET https://mindquarryreactionstats.usefulweb.site/api/v1/tool – inputs, output schema, examples
  • OpenAPI 3.1: /openapi.json · /openapi.yaml
  • Errors: application/problem+json; 422 includes per-field errors.

Reaction Time Statistics

Paste reaction times (from Mindquarry, a lab task, a game or a stopwatch) and get the raw mean, median, standard deviation and percentiles, plus the three common ways to deal with outliers side by side: fixed cut-offs for anticipations and lapses, mean ± k standard deviations, and median ± k scaled median absolute deviations, and a trimmed mean. Every value is flagged with the rule that removed it.

Inputs of Reaction Time Statistics
FieldTypeDefaultDescription
timestextarea"412 388 455 401 367 1290 395 420 140 433\n398 377 409 441 386 392 415 2405 404 Reaction times. One value per line or separated by spaces, commas, tabs or semicolons.
unitselect (ms, s)"ms"Unit of the values
decimalCommabooleanfalseValues use a decimal comma (0,412)
minMsnumber150Faster than this is an anticipation
maxMsnumber3000Slower than this is a lapse
sdKnumber2.5SD rule: mean ± k × SD, k =
madKnumber3MAD rule: median ± k × MAD, k =
trimPercentnumber10Trimmed mean: cut from each end

Example request

20 simple reaction times with an anticipation and two lapses

curl -X POST https://mindquarryreactionstats.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"times":"412 388 455 401 367 1290 395 420 140 433\n398 377 409 441 386 392 415 2405 404 399"}'

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)

  • Streamable HTTP endpoint: https://mindquarryreactionstats.usefulweb.site/mcp – protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake).
  • Tools: mindquarry_reaction_stats
  • Local stdio connector: node src/mcp-stdio.ts --tool=mindquarry-reaction-stats
{
  "mcpServers": {
    "mindquarry-reaction-stats": { "type": "http", "url": "https://mindquarryreactionstats.usefulweb.site/mcp" }
  }
}