Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Health

Medication Dose/Rate Calculator (mg/kg/hr etc.)

Convert bidirectionally between a prescribed clinical dose and an infusion-pump rate (mL/hr). Supports weight-based (mcg/kg/min, mg/kg/hr, units/kg/hr) and flat (units/hr) dosing. Two directions: Dose → Rate and Rate → Dose. ALL high-alert infusions require independent double-checking (ISMP). Derived from Macklin 2011, ISMP, Royal Marsden 9th ed. 2015, and MDCalc. Not medical advice.

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/medication-dose-rate' \
  -H 'Content-Type: application/json' \
  -d '{"direction":"dose-to-rate","doseUnit":"mcg/kg/min","concUnit":"mg/mL","drugAmount":400,"volume":250,"weight":70,"dose":5,"rate":0,"decimalPlaces":2}'

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/medication-dose-rate

Parameters

NameTypeRequiredDescription
directionselectYes—
doseUnitselectYes—
concUnitselectYes—
drugAmountnumberYesTotal drug amount in the bag/syringe, expressed in the SAME unit family as the concentration (mg/mcg/units). E.g. dopamine 400 mg.
volumenumberYesTotal diluent volume in the bag/syringe (mL).

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-medication-dose-rate": {
      "name": "medication-dose-rate",
      "description": "Convert bidirectionally between a prescribed clinical dose and an infusion-pump rate (mL/hr). Supports weight-based (mcg/kg/min, mg/kg/hr, units/kg/hr) and flat (units/hr) dosing. Two directions: Dose → Rate and Rate → Dose. ALL high-alert infusions require independent double-checking (ISMP). Derived from Macklin 2011, ISMP, Royal Marsden 9th ed. 2015, and MDCalc. Not medical advice.",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=medication-dose-rate",
      "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": "medication-dose-rate",
    "arguments": {
  "direction": "dose-to-rate",
  "doseUnit": "mcg/kg/min",
  "concUnit": "mg/mL",
  "drugAmount": 400,
  "volume": 250,
  "weight": 70,
  "dose": 5,
  "rate": 0,
  "decimalPlaces": 2
}
  }
}
Browse toolsOpen tool

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools
weightnumberNoPatient weight in kg. REQUIRED for weight-based dose units (mcg/kg/min, mg/kg/hr, units/kg/hr); ignored for flat units/hr.
dosenumberNoPrescribed dose, in the selected 'Dose Rate Unit'. Used in 'Dose → Rate' direction.
ratenumberNoPump rate in mL/hr. Used in 'Rate → Dose' direction.
decimalPlacesnumberNo—

Response format

JSON result

JSON
{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
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]