Calculate comprehensive descriptive statistics for numerical datasets including mean, median, standard deviation, quartiles, and distribution properties. Access via MCP in Cursor or Windsurf, or REST at `/v1/stats/describe`. Pass arrays of numbers to get instant statistical summaries — no manual calculations or library imports needed for AI agents analyzing data.
curl "https://tinyfn.io/v1/stats/describe" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/stats/describe', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/stats/describe',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's statistics tools:
{
"mcpServers": {
"tinyfn-stats": {
"url": "https://tinyfn.io/mcp/stats",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Returns count, mean, median, mode, standard deviation, variance, min/max values, quartiles (Q1, Q3), interquartile range, skewness, and kurtosis for comprehensive dataset analysis.
Call the describe_data function with your numerical array. The MCP tool processes the data locally and returns formatted statistical output without external API calls.
The tool filters out null, undefined, and non-numeric values automatically, then calculates statistics on valid numbers only. Empty arrays return appropriate null statistics.
Similar output format but designed for AI agents — no Python environment needed. Returns JSON-structured results optimized for programmatic use and cross-language compatibility.
Handles arrays up to 10,000 elements efficiently. For larger datasets, consider sampling or using dedicated analytics platforms for memory-intensive statistical computations.
Get your free API key and start using Describe Data in seconds.
Get Free API Key