Science & Education
π = i·M·R·T with van't Hoff factor, multi-unit readout and a molar-mass inversion mode.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/osmotic-pressure-calculator' \
-H 'Content-Type: application/json' \
-d '{"mode":"pressure","molarity":0.1,"temp":298.15,"tUnit":"K","iFactor":1,"pi":0,"piUnit":"torr","massConc":0}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST http://127.0.0.1:3003/en/api/tools/osmotic-pressure-calculator| Name | Type | Required | Description |
|---|---|---|---|
| mode | select | Yes | — |
| molarity | number | No | — |
| temp | number | Yes | — |
| tUnit | select | Yes | — |
| iFactor | number | Yes | — |
| pi |
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-osmotic-pressure-calculator": {
"name": "osmotic-pressure-calculator",
"description": "π = i·M·R·T with van't Hoff factor, multi-unit readout and a molar-mass inversion mode.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=osmotic-pressure-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": "osmotic-pressure-calculator",
"arguments": {
"mode": "pressure",
"molarity": 0.1,
"temp": 298.15,
"tUnit": "K",
"iFactor": 1,
"pi": 0,
"piUnit": "torr",
"massConc": 0
}
}
}Questions or issues? Contact [email protected]
| number |
| No |
| — |
| piUnit | select | Yes | — |
| massConc | number | No | — |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}