Skip to main content
Glama
respiratory-muscle-strength

respiratory-muscle-strength

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: salivary-alpha-amylase

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.

Related MCP Connectors

Related MCP Servers