com.engscript/mcp

EngScript Engineering MCP

Engineering calculation MCP server for oil and gas engineering applications.

1.0.0
Version
remote
Transport
58
Tools

Security review

Review passed

Reviewed Jan 1, 2000.

  • tools: 58 tools scanned
  • metadata: scanned

No findings.

Tools (58)

  • MIXTURE

    Primary thermodynamic property calculator. Use this tool first for all mixture property calculations. Supports hydrocarbons and non-hydrocarbon chemicals (PR EOS flash calculation).

  • CARBON

    Calculate thermodynamic properties of hydrocarbon mixture. Supports hydrocarbons and non-hydrocarbon chemicals (PR EOS flash calculation).

  • STEAM

    Calculate thermodynamic and transport properties of steam based on IAPWS

  • PSYCHROMETRIC

    Psychrometric properties of moist air

  • FUELGAS

    Calculate MW, LHV and HHV of fuel gas from composition

  • FLUEGAS

    Calculate enthalpy of flue gas from composition

  • EMISSIONFACTOR

    Calculate CO2 emission conversion factor from gas composition

  • REFRIGERANT

    Calculate refrigerant thermodynamic properties using CoolProp. Provide Fluid name and any 2 state variables from: T, P, rho, H, S, U. Returns all remaining properties: T, P, rho, H, S, U, Cp, Cv, viscosity, conductivity, molecular weight.

  • PTV

    Calculate gas molar volume using equation of state

  • MtoV

    Convert mass flow rate to volumetric flow rate at standard condition

  • VtoM

    Convert volumetric flow rate to mass flow rate at standard condition and normal condition Sm3/hr, Nm3/hr, SCFH

  • Pmean

    Calculate mean pressure between inlet and outlet

  • PIPEFF

    Calculate Darcy friction factor based on Reynolds number and pipe roughness

  • STEAMPH

    Calculate mass flow from pin-hole on the steam piping

  • STEAMLEAK

    Calculate steam leak mass flow and flow condition (CHOKED / SUBCRITICAL) based on upstream and downstream conditions

  • PIPEINSUL

    Calculate optimal pipe insulation thickness to limit outer surface temperature (burn protection) and minimise heat loss. Uses cylindrical heat conduction + external convection model, solved via scipy.optimize.brentq. Returns exact minimum thickness and nearest commercial 5 mm step.

  • PIPESTEAM

    Calculate steam pipe sizing: pipe diameter, velocity, pressure drop

  • PIPEWATER

    Calculate water pipe sizing: pipe diameter, velocity, pressure drop

  • PIPEAIR

    Calculate compressed air pipe sizing: pipe diameter, velocity, pressure drop

  • PIPENITROGEN

    Calculate nitrogen pipe sizing: pipe diameter, velocity, pressure drop

  • PIPEFLOWGAS

    Calculate isothermal gas pipe flow: density, volumetric flow rate, mass flow rate from pressure drop

  • PIPEFLOWLIQ

    Calculate liquid pipe flow: volumetric flow rate and mass flow rate from pressure drop

  • CVGAS

    Calculate gas control valve Cv and Kv from flow conditions

  • CVLIQ

    Calculate liquid control valve Cv and Kv from flow conditions

  • CVSTEAM

    Calculate steam control valve Cv and Kv from flow conditions

  • ORIFICEGAS

    Gas orifice sizing / differential pressure / flow rate calculation based on ISO 5167 orifice. Exactly ONE of [M, dP, D2] must be set to '?' — that variable will be calculated.

  • ORIFICELIQ

    Liquid orifice sizing / differential pressure / flow rate calculation based on ISO 5167 orifice. Exactly ONE of [M, dP, D2] must be set to '?' — that variable will be calculated.

  • VENTURIGAS

    Gas Venturi tube sizing / differential pressure / flow rate calculation based on ISO 5167 Venturi meter (as cast convergent venturi tube). Exactly ONE of [M, dP, D2] must be set to '?' — that variable will be calculated.

  • VENTURILIQ

    Liquid Venturi tube sizing / differential pressure / flow rate calculation based on ISO 5167 Venturi meter (as cast convergent venturi tube). Exactly ONE of [M, dP, D2] must be set to '?' — that variable will be calculated.

  • PSVGAS

    Calculate required PSV (pressure safety valve) relief area for gas/vapor service per API 520

  • PSVSTEAM

    Calculate required PSV (pressure safety valve) relief area for steam service per API 520

  • PSVLIQ

    Calculate required PSV (pressure safety valve) relief area for liquid service per API 520

  • PUMPBHP

    Calculate pump brake horsepower

  • COMPPOLYEFF

    Calculate polytropic efficiency of compressor

  • TBNEFF

    Calculate steam turbine isentropic efficiency

  • STGEFF

    Calculate multistage steam turbine isentropic efficiency

  • HTRINOUTEFF

    Calculate fired heater heat duty and efficiency from inlet/outlet conditions and composition

  • HTRLOSSEFF

    Calculate fired heater loss efficiency from ambient temperature, stack gas temperature and excess oxygen

  • HEXRF

    Heat exchanger fouling resistance back-calculation from shell/tube-side operating conditions.

  • LMTD

    Calculate LMTD of heat exchanger

  • STEAMFLASH

    Calculate flash steam flow from pressure reduction

  • DESUPERHEATER

    Calculate boiler feed water flow and total flow from pressure and temperature reduction through desuperheater. Also returns the inlet/outlet/BFW specific enthalpies (h_in, h_out, h_bfw) used in the mass balance, always in Btu/lb.

  • HPADEPRESS

    Calculate depressurization gas volume and hold time for high pressure air storage vessel

  • GN2DEPRESS

    Calculate depressurization gas volume and hold time for gaseous nitrogen storage vessel

  • LN2DEPRESS

    Calculate depressurization gas volumn abd hold time and saturation temperature for liquid nitrogen storage vessel

  • STMDEPRESS

    Calculate depressurization steam volumn and hold time for steam accumulator

  • CTWREVAPOR

    Cooling tower evaporation rate: mass removal rate (MR) and heat removal rate (QR)

  • CTWRLG

    Cooling tower L/G ratio calculation

  • CTWRNTU

    Cooling tower NTU and characteristic C value calculation

  • CTWRCAPA

    Cooling tower capacity evaluation

  • CTWRCAPADSNTST

    Cooling tower capacity evaluation: design vs test

  • DVR

    Data Validation and Reconciliation

  • advDVR

    Advanced Data Validation and Reconciliation including gross error detection and elimation

  • BALANCE

    General mass/energy balance solver using GEKKO

  • FORMULA

    Generic formula calculator with unit conversion and IF-THEN-ELSE

  • SOLVE

    Solve nonlinear equations with unknown variables using fsolve

  • ECONOMIC

    Economic analysis: NPV, IRR, Simple Payback, Profitability Index, EAC

  • advECONOMIC

    Advanced Economic analysis with inflation, depreciation, and tax: NPV, IRR, Simple Payback, Profitability Index, NCF