Math & Numbers
Compare two independent samples with the nonparametric Mann-Whitney U rank-sum test
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/mann-whitney-u-test-calculator' \
-H 'Content-Type: application/json' \
-d '{"group1Values":"12, 15, 14, 18, 16","group2Values":"9, 11, 10, 13, 12","alternative":"two-sided","alpha":0.05,"decimalPlaces":4}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/mann-whitney-u-test-calculator| Name | Type | Required | Description |
|---|---|---|---|
| group1Values | textarea | No | — |
| group2Values | textarea | No | — |
| alternative | select | No | — |
| alpha | number | No | — |
| decimalPlaces | number | No | — |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-mann-whitney-u-test-calculator": {
"name": "mann-whitney-u-test-calculator",
"description": "Compare two independent samples with the nonparametric Mann-Whitney U rank-sum test",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=mann-whitney-u-test-calculator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "mann-whitney-u-test-calculator",
"arguments": {
"group1Values": "12, 15, 14, 18, 16",
"group2Values": "9, 11, 10, 13, 12",
"alternative": "two-sided",
"alpha": 0.05,
"decimalPlaces": 4
}
}
}Questions or issues? Contact [email protected]
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}