Education
Autosomal Recessive Inheritance Risk Calculator
Compute per-child and cumulative autosomal recessive disease risk from parental statuses (carrier / affected / non-carrier / unknown via population carrier rate), including the 2/3 carrier rule. Derived from Griffiths, Hartl & Clark 2007, StatPearls. Educational use only.
json· JSON resultOpen tool
Quick start
Call this tool from your code in three languages.
cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/autosomal-recessive-risk' \
-H 'Content-Type: application/json' \
-d '{"parent1Status":"carrier","parent2Status":"carrier","carrierRate":0.04,"childCount":2,"decimalPlaces":4}'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/autosomal-recessive-riskParameters
| Name | Type | Required | Description |
|---|---|---|---|
| parent1Status | select | Yes | Genotype status of the first parent. |
| parent2Status | select | Yes | Genotype status of the second parent. |
| carrierRate | number | Yes | Population carrier frequency c used when a parent's status is unknown (P(Aa) = c, P(aa) = c²). |
| childCount | number | Yes | Number of children for the cumulative at-least-one-affected risk. |
| decimalPlaces | number |
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-autosomal-recessive-risk": {
"name": "autosomal-recessive-risk",
"description": "Compute per-child and cumulative autosomal recessive disease risk from parental statuses (carrier / affected / non-carrier / unknown via population carrier rate), including the 2/3 carrier rule. Derived from Griffiths, Hartl & Clark 2007, StatPearls. Educational use only.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=autosomal-recessive-risk",
"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": "autosomal-recessive-risk",
"arguments": {
"parent1Status": "carrier",
"parent2Status": "carrier",
"carrierRate": 0.04,
"childCount": 2,
"decimalPlaces": 4
}
}
}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).