Health
Drug Half-Life Concentration Calculator
Estimate plasma drug concentration at a chosen time after an IV bolus using a one-compartment model with first-order elimination: C(t) = (Dose / Vd) · e^(-k·t), where k = ln2 / t½. Includes initial concentration C0, elimination rate constant k, percent remaining, and number of half-lives elapsed. Valid only for linear pharmacokinetics — NOT for Michaelis-Menten drugs (phenytoin, high-dose ethanol) or multi-compartment distribution. Reference: theophylline Vd ≈ 0.45 L/kg, t½ ≈ 8 h. Not medical advice.
Quick start
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/drug-half-life-dose' \
-H 'Content-Type: application/json' \
-d '{"dose":400,"vd":31.5,"halfLife":8,"time":8,"decimalPlaces":4}'API reference
Send a POST request with your inputs as JSON. File parameters require a separate upload first.
Endpoint
POST https://api.elysiatools.com/en/api/tools/drug-half-life-doseParameters
| Name | Type | Required | Description |
|---|---|---|---|
| dose | number | Yes | IV bolus dose. Must be positive. |
| vd | number | Yes | Apparent volume of distribution. Must be positive. |
| halfLife | number | Yes | Elimination half-life in hours. Must be positive. |
| time | number | Yes | Time elapsed since the IV bolus, in hours. Cannot be negative. |
| decimalPlaces | number | No |
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:
{
"mcpServers": {
"elysiatools-drug-half-life-dose": {
"name": "drug-half-life-dose",
"description": "Estimate plasma drug concentration at a chosen time after an IV bolus using a one-compartment model with first-order elimination: C(t) = (Dose / Vd) · e^(-k·t), where k = ln2 / t½. Includes initial concentration C0, elimination rate constant k, percent remaining, and number of half-lives elapsed. Valid only for linear pharmacokinetics — NOT for Michaelis-Menten drugs (phenytoin, high-dose ethanol) or multi-compartment distribution. Reference: theophylline Vd ≈ 0.45 L/kg, t½ ≈ 8 h. Not medical advice.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=drug-half-life-dose",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}List available tools
After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Call this tool
Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "drug-half-life-dose",
"arguments": {
"dose": 400,
"vd": 31.5,
"halfLife": 8,
"time": 8,
"decimalPlaces": 4
}
}
}