Statistics of numbers: mean, median, standard deviation, percentiles
Descriptive statistics for a list of numbers: count, sum, mean, median, mode, min, max, range, population and sample variance and standard deviation, quartiles with IQR, and the 90th, 95th and 99th percentiles (linear interpolation). Up to 10,000 numbers, comma or space separated. Use to summarise measurements, latencies, prices or scores without a spreadsheet.
Inputs
| Name | Type | Description |
|---|---|---|
values (required) | string | Numbers separated by commas, spaces or new lines |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/math/stats?values=12%2C%2015%2C%2015%2C%2018%2C%2021%2C%2024%2C%2030%2C%2045"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/math/stats?values=12%2C%2015%2C%2015%2C%2018%2C%2021%2C%2024%2C%2030%2C%2045&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"count": 8,
"sum": 180,
"mean": 22.5,
"median": 19.5,
"mode": [
15
],
"min": 12,
"max": 45,
"range": 33,
"variance": 101.25,
"stdDev": 10.0623058987,
"sampleVariance": 115.7142857143,
"sampleStdDev": 10.757057484,
"q1": 15,
"q3": 25.5,
"iqr": 10.5,
"p90": 34.5,
"p95": 39.75,
"p99": 43.95
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is math_stats, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp