Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Data Visualization

Cohort Retention & RFM Funnel Analyzer

Paste an order or event CSV and get the growth stack in one page: a cohort retention triangle with a heatmap, RFM quintile scoring mapped to the ten standard lifecycle segments, and a strict-order funnel.

html· HTML resultOpen tool

Quick start

Call this tool from your code in three languages.

cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/cohort-retention-rfm-funnel-analyzer' \
  -H 'Content-Type: application/json' \
  -d '{"ordersCsv":"user_id,date,amount\nu1,2026-01-05,120\nu1,2026-02-03,80\nu1,2026-03-02,60\nu1,2026-04-01,40\nu2,2026-01-08,200\nu2,2026-02-20,150\nu3,2026-01-15,90\nu4,2026-02-02,300\nu4,2026-03-05,250\nu4,2026-04-06,220\nu5,2026-02-10,60\nu6,2026-02-14,75\nu6,2026-03-20,50\nu7,2026-03-01,500\nu7,2026-04-02,400\nu8,2026-03-12,110\nu9,2026-03-25,45\nu10,2026-04-03,160","cohortPeriod":"month","periodsCount":3,"analysisDate":"2026-04-06","funnelSteps":"signup, cart, checkout, purchase — needs an event column"}'

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools

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/cohort-retention-rfm-funnel-analyzer

Parameters

NameTypeRequiredDescription
ordersCsvtextareaYes—
cohortPeriodselectYes—
periodsCountnumberNo—
analysisDatetextNo—
funnelStepstextNo—

Response format

HTML result

JSON
{
  "result": "<div>Processed HTML content</div>",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}

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-cohort-retention-rfm-funnel-analyzer": {
      "name": "cohort-retention-rfm-funnel-analyzer",
      "description": "Paste an order or event CSV and get the growth stack in one page: a cohort retention triangle with a heatmap, RFM quintile scoring mapped to the ten standard lifecycle segments, and a strict-order funnel.",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=cohort-retention-rfm-funnel-analyzer",
      "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": "cohort-retention-rfm-funnel-analyzer",
    "arguments": {
  "ordersCsv": "user_id,date,amount\nu1,2026-01-05,120\nu1,2026-02-03,80\nu1,2026-03-02,60\nu1,2026-04-01,40\nu2,2026-01-08,200\nu2,2026-02-20,150\nu3,2026-01-15,90\nu4,2026-02-02,300\nu4,2026-03-05,250\nu4,2026-04-06,220\nu5,2026-02-10,60\nu6,2026-02-14,75\nu6,2026-03-20,50\nu7,2026-03-01,500\nu7,2026-04-02,400\nu8,2026-03-12,110\nu9,2026-03-25,45\nu10,2026-04-03,160",
  "cohortPeriod": "month",
  "periodsCount": 3,
  "analysisDate": "2026-04-06",
  "funnelSteps": "signup, cart, checkout, purchase — needs an event column"
}
  }
}
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).

Questions or issues? Contact [email protected]

Browse tools
Open tool