Health
Calculate the maintenance dose that holds the average steady-state concentration at a target value: MD = Css,avg · CL · τ / F, where Css,avg is the target average concentration, CL is clearance, τ is the dosing interval, and F is bioavailability (1 for IV, <1 for oral). Derived from steady-state mass balance (rate in = rate out): the dose per interval equals the amount cleared over one interval, corrected for bioavailability. Targets the AVERAGE Css,avg — the peak Cmax,ss and trough Cmin,ss fluctuate around it depending on t½ and τ. Valid only for linear pharmacokinetics with fixed dose and interval — NOT for Michaelis-Menten drugs (phenytoin). Optional body-weight input converts the result to mg/kg. Not medical advice.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/maintenance-dose-calculator' \
-H 'Content-Type: application/json' \
-d '{"css":10,"clearance":2.8,"interval":12,"bioavailability":0.9,"weight":70,"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/maintenance-dose-calculator| Name | Type | Required | Description |
|---|---|---|---|
| css | number | Yes | Target average steady-state concentration. Must be positive. |
| clearance | number | Yes | Drug clearance in L/h. Must be positive. |
| interval | number | Yes | Time between consecutive doses in hours. Must be positive. |
| bioavailability | number | Yes | Fraction of dose reaching systemic circulation. IV=1, oral<1. Range (0, 1]. |
| weight | 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-maintenance-dose-calculator": {
"name": "maintenance-dose-calculator",
"description": "Calculate the maintenance dose that holds the average steady-state concentration at a target value: MD = Css,avg · CL · τ / F, where Css,avg is the target average concentration, CL is clearance, τ is the dosing interval, and F is bioavailability (1 for IV, <1 for oral). Derived from steady-state mass balance (rate in = rate out): the dose per interval equals the amount cleared over one interval, corrected for bioavailability. Targets the AVERAGE Css,avg — the peak Cmax,ss and trough Cmin,ss fluctuate around it depending on t½ and τ. Valid only for linear pharmacokinetics with fixed dose and interval — NOT for Michaelis-Menten drugs (phenytoin). Optional body-weight input converts the result to mg/kg. Not medical advice.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=maintenance-dose-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": "maintenance-dose-calculator",
"arguments": {
"css": 10,
"clearance": 2.8,
"interval": 12,
"bioavailability": 0.9,
"weight": 70,
"decimalPlaces": 4
}
}
}| Optional body weight to report the maintenance dose in mg/kg. |
| decimalPlaces | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Questions or issues? Contact [email protected]