Skip to main content
Glama
Alpha-Park

Pulmonary Dynamic Flow-Volume Loop (FEF25-75) Skill

by Alpha-Park

Pulmonary Dynamic Flow-Volume Loop (FEF25-75) Skill

License Python OpenClaw GenPark MCP

Dynamic Spirometry Flow-Volume Loop and Maximum Mid-Expiratory Flow ($\text{FEF}_{25-75%} / \text{MMEF}$) Analyzer based on respiratory mechanics.

flowchart TD
    A[Maximal Flow-Volume Loop: FVC, FEV1, FEF25-75] --> B[Compute FEV1/FVC % & % Predicted FEF25-75]
    A --> C[Calculate FEF50 / FIF50 Ratio]
    B & C --> D{Pattern Evaluation}
    D -- FEV1/FVC < 70% --> E[Classical Obstructive Defect]
    D -- FEF50/FIF50 > 1.5 --> F[Variable Extrathoracic Obstruction]
    D -- FEF25-75 < 65% & Normal FEV1/FVC --> G[Isolated Small Airway Disease]

Features

  • Zero PIP Dependencies: Implemented strictly with Python Standard Library (math, json, sys, typing).

  • Small Airway Sensitivity: Detects subtle peripheral bronchiolar narrowing overlooked by standard $\text{FEV}_1$.

  • Anatomical Differential: Discriminates extrathoracic vs intrathoracic upper airway limitations.

  • Dual Architecture: Native Python import and Model Context Protocol (MCP) JSON-RPC 2.0 stdio server.

Related MCP server: Respiratory Inertance & Dynamic Compliance Skill

Quickstart

python example_usage.py

License

Apache-2.0

Related MCP Connectors

Related MCP Servers

  • 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 closing volume, closing capacity, age-predicted reference intervals, and peripheral small airway patency through deterministic JSON-RPC tools.
    7
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables deterministic calculation of exertional Inspiratory Capacity drop, End-Expiratory Lung Volume air trapping, and ventilatory mechanics reserve through JSON-RPC tools for LLMs and autonomous agents.
    7
    MIT