Skip to main content
Glama
respiratory-muscle-strength

respiratory-muscle-strength

by Alpha-Park

Respiratory Muscle Strength (MIP/MEP) Skill

License: MIT Python 3.10+ Zero Dependencies OpenClaw Ready MCP Protocol

A sovereign personal agent capability for computational respiratory physiology, evaluating Maximal Inspiratory (MIP) and Expiratory (MEP) Pressures in cmH2O, Black & Hyatt models, and diaphragmatic pump strength.

Architecture

flowchart TD
    PatientData["Demographics: Age & Sex"] --> NormativeModel["Black & Hyatt Prediction Equations (MIP_pred & MEP_pred)"]
    MIPMEPData["Measured Static Pressures: MIP (cmH2O) & MEP (cmH2O)"] --> RatioEngine["Percentage of Predicted Force: (Measured / Predicted) * 100%"]
    NormativeModel --> RatioEngine
    RatioEngine --> DMRI["Diaphragmatic Muscle Resilience Index (DMRI: 0 - 100)"]
    DMRI --> IMTPlan["OpenClaw / Hermes Inspiratory Muscle Training (50% MIP) Prescriptions"]

Related MCP server: respiratory-muscle-strength

Quickstart

from client import RespiratoryMuscleStrengthClient

client = RespiratoryMuscleStrengthClient()

# Assess respiratory pressures (32-year-old male)
res = client.evaluate_respiratory_pressures(
    measured_mip_cmh2o=132.0,
    measured_mep_cmh2o=245.0,
    age_years=32.0,
    is_female=False
)

print("MIP % Predicted:", res["pct_predicted_mip"], "%")
print("MEP % Predicted:", res["pct_predicted_mep"], "%")
print("Resilience Score:", res["diaphragmatic_resilience_index"], "/ 100")
print("Status:", res["status"])

MCP Server Integration

Add to your claude_desktop_config.json or OpenClaw tool registry:

{
  "mcpServers": {
    "respiratory-muscle-strength": {
      "command": "python",
      "args": ["/path/to/genpark-personal-agent-respiratory-muscle-strength-mip-mep-skill/mcp_server.py"]
    }
  }
}

License

MIT License.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables evaluation of pulmonary gas diffusion by calculating hemoglobin-adjusted DLCO, percent predicted DLCO, transfer coefficient (KCO), and a pulmonary diffusion resilience score from clinical inputs.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables computing maximal inspiratory and expiratory pressure percentages against Black & Hyatt predicted values from age and sex, then deriving a 0–100 diaphragmatic resilience index and status. Also produces inspiratory muscle training prescriptions at 50% of measured MIP for personal-agent use.
      7
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables deterministic calculation of HCVR slope, central respiratory chemosensitivity, and CO2 tolerance from end-tidal CO2 and spirometry inputs. It also provides chemoreflex loop-gain stratification for personal-agent actions.
      7
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables deterministic, non-invasive evaluation of respiratory system inertance, dynamic compliance, resonant frequency, and mechanical work of breathing through an MCP-compatible interface.
      MIT