Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Data Processing

Coefficient of Variation Calculator

Calculate the coefficient of variation (CV) for numerical columns to measure relative variability

text· Text resultOpen tool

Quick start

Call this tool from your code in three languages.

cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/coefficient-of-variation' \
  -H 'Content-Type: application/json' \
  -d '{"csvData":"Enter your CSV data here...\n\nExample:\nProduct,Sales_Amount,Sales_Quantity,Profit,Price\nA,1500.50,120,450.25,12.50\nB,2300.75,180,690.20,12.80\nC,890.25,95,267.15,9.35\nD,3200.00,210,960.50,15.25\nE,1750.80,155,525.30,11.30","selectedColumns":"Comma-separated column names. Leave empty to auto-detect numeric columns.","hasHeader":true,"includeInterpretation":true,"outputFormat":"report"}'

API reference

Send a POST request with your inputs as JSON. File parameters require a separate upload first.

Endpoint

HTTP
POST https://api.elysiatools.com/en/api/tools/coefficient-of-variation

Parameters

NameTypeRequiredDescription
csvDatatextareaYes—
selectedColumnstextNoSpecify which columns to analyze. If empty, all numeric columns will be automatically detected and analyzed.
hasHeadercheckboxNoTreat first row as column headers
includeInterpretationcheckboxNoInclude interpretation of CV values (low, medium, high variability)
outputFormatselectYes

MCP integration

Add this tool to your Model Context Protocol server so AI agents can list and call it.

Server configuration

Add this block to your MCP client configuration:

mcp.json
{
  "mcpServers": {
    "elysiatools-coefficient-of-variation": {
      "name": "coefficient-of-variation",
      "description": "Calculate the coefficient of variation (CV) for numerical columns to measure relative variability",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=coefficient-of-variation",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

List available tools

After connecting to the SSE endpoint, list the exposed tools:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Call this tool

Invoke the tool by its id, passing arguments built from its parameters:

tools/call
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "coefficient-of-variation",
    "arguments": {
  "csvData": "Enter your CSV data here...\n\nExample:\nProduct,Sales_Amount,Sales_Quantity,Profit,Price\nA,1500.50,120,450.25,12.50\nB,2300.75,180,690.20,12.80\nC,890.25,95,267.15,9.35\nD,3200.00,210,960.50,15.25\nE,1750.80,155,525.30,11.30",
  "selectedColumns": "Comma-separated column names. Leave empty to auto-detect numeric columns.",
  "hasHeader": true,
  "includeInterpretation": true,
  "outputFormat": "report"
}
  }
}
Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).
Browse toolsOpen tool

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools
—

Response format

Text result

JSON
{
  "result": "Processed text content",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}

Questions or issues? Contact [email protected]