Skip to main content
Glama
alphaparkinc

Pulmonary Dynamic Hyperinflation (IC Tracking) Skill

Pulmonary Dynamic Hyperinflation (IC Tracking) Skill

License: Apache-2.0 Python 3.10+ Zero Dependencies MCP Protocol Ready OpenClaw Certified

Zero-dependency sovereign personal agent skill for non-invasive evaluation of exertional Inspiratory Capacity drop (Delta IC), End-Expiratory Lung Volume (EELV) air trapping, and ventilatory mechanics reserve.

flowchart TD
    RestingIC["Resting Inspiratory Capacity (IC_rest) Baseline"] --> ExertionRamp["Physical Exertion / Hyperventilation Challenge"]
    ExertionRamp --> ExertionalIC["Serial Exertional Inspiratory Capacity Maneuvers (IC_ex)"]
    ExertionalIC --> DeltaIC_Calc["Delta IC (L) & End-Expiratory Lung Volume Shift (EELV)"]
    DeltaIC_Calc --> IRV_Encroachment["Inspiratory Reserve Volume (IRV) Compression Analysis"]
    IRV_Encroachment --> DynamicScore["Exertional Ventilatory Mechanics & Dyspnea Risk Score"]
    DynamicScore --> Agent["OpenClaw / Hermes Personal Agent Paced Breathing Coaching"]

Features

  • Deterministic Math: Pure Python standard library implementation with zero external dependencies.

  • Cardiopulmonary Exercise Testing (CPET) Standards: Implements validated equations for serial IC tracking, EELV shifts, and IRV ceiling limits.

  • Dynamic Air Trapping & Dyspnea Prevention: Early detection of mechanical diaphragm disadvantage during intense workouts or cardio intervals.

  • Model Context Protocol (MCP): Native JSON-RPC tool integration for LLMs and autonomous agents.

Related MCP server: Forced Oscillation Technique (FOT / IOS) MCP Server

Quickstart

from client import PulmonaryDynamicHyperinflationClient

client = PulmonaryDynamicHyperinflationClient()
result = client.evaluate_dynamic_hyperinflation(
    resting_inspiratory_capacity_l=3.4,
    exertional_inspiratory_capacity_l=3.45,
    total_lung_capacity_l=6.5
)
print("Delta IC:", result["delta_ic_l"], "L")
print("Ventilatory Score:", result["ventilatory_mechanics_score"])
print("Classification:", result["classification"])

License

Apache-2.0

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables personal agents to deterministically compute respiratory chemoreflex sensitivity from end-tidal CO2 and ventilation changes, classify CO2 tolerance, and assess loop-gain stability through native JSON-RPC tools.
    7
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables deterministic calculation and classification of respiratory impedance, peripheral airway resistance (R5–R20), and reactance from oscillometry measurements through JSON-RPC tools for LLM and agent workflows.
    7
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables non-invasive deterministic evaluation of respiratory inertance, dynamic compliance, resonant frequency, and mechanical work of breathing through an MCP JSON-RPC tool for LLM and autonomous-agent use.
    7
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables agents to compute single-breath nitrogen washout results — closing volume (CV/VC %), closing capacity (CC/TLC %), Phase III alveolar slope, and a peripheral small airway patency score — from vital capacity, residual volume, and age inputs. Exposes these deterministic, dependency-free calculations as JSON-RPC tools for LLMs and autonomous agents.
    7
    MIT