coolprop_fluid_properties
Pack: coolprop · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/coolprop_fluid_properties for the schema, then POST the same URL with its arguments for the data.
Thermophysical properties of a pure fluid, computed from two independent state variables (PropsSI-style — give e.g. temperature + pressure, get density, enthalpy, entropy, viscosity, thermal conductivity, specific heat, phase, …). Covers ~124 fluids (water, refrigerants, hydrocarbons, cryogens, …) via CoolProp (open-source, MIT), computed in-process rather than looked up from a table — valid over each fluid’s full equation-of-state range, not just tabulated points. No aliases: call coolprop_list_fluids for exact names (e.g. “CarbonDioxide”, not “CO2”).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
fluid | string | yes | Exact CoolProp fluid name, e.g. “Water”, “Nitrogen”, “R134a”, “CarbonDioxide” — see coolprop_list_fluids for the full list (no aliases) |
input1_name | string | yes | First independent state variable code: T (temperature, K), P (pressure, Pa), D (mass density, kg/m3), H (mass enthalpy, J/kg), S (mass entropy, J/kg/K), U (mass internal energy, J/kg), or Q (vapor quality, 0-1) |
input1_value | number | yes | Value for input1_name, SI units |
input2_name | string | yes | Second independent state variable code — must differ from input1_name. Same code set as input1_name. |
input2_value | number | yes | Value for input2_name, SI units |
outputs | array | yes | Property codes to compute, up to 12 per call: T, P, D (density kg/m3), H (enthalpy J/kg), S (entropy J/kg/K), U (internal energy J/kg), Q (vapor quality), CPMASS (isobaric specific heat J/kg/K), CVMASS (isochoric specific heat J/kg/K), VISCOSITY (Pa·s), CONDUCTIVITY (W/m/K), PRANDTL, M (molar mass kg/mol), Phase (liquid/gas/supercritical/twophase/…) |
items | string | no |
Example call
Arguments
{
"fluid": "Water",
"input1_name": "T",
"input1_value": 298.15,
"input2_name": "P",
"input2_value": 101325,
"outputs": [
"D",
"H",
"S",
"VISCOSITY",
"CONDUCTIVITY",
"Phase"
]
}
curl
curl -X POST https://gateway.pipeworx.io/coolprop/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"coolprop_fluid_properties","arguments":{"fluid":"Water","input1_name":"T","input1_value":298.15,"input2_name":"P","input2_value":101325,"outputs":["D","H","S","VISCOSITY","CONDUCTIVITY","Phase"]}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('coolprop_fluid_properties', {
"fluid": "Water",
"input1_name": "T",
"input1_value": 298.15,
"input2_name": "P",
"input2_value": 101325,
"outputs": [
"D",
"H",
"S",
"VISCOSITY",
"CONDUCTIVITY",
"Phase"
]
});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the coolprop pack
{
"mcpServers": {
"coolprop": {
"url": "https://gateway.pipeworx.io/coolprop/mcp"
}
}
}
See Getting Started for client-specific install steps.