Skip to main content
Glama

Muscle Oxygenation (SmO2) & NIRS Reperfusion Kinetics Skill

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

A sovereign personal agent capability for computational Near-Infrared Spectroscopy (NIRS) muscle oxygenation modeling, evaluating peripheral $SmO_2$ extraction capacity, and post-effort hyperemic reperfusion.

Architecture

flowchart TD
    NIRSSensor["NIRS Dual-Wavelength Photons (760nm & 850nm)"] --> SmO2Calc["SmO2 Saturation: [HbO2] / ([HbO2] + [HHb]) * 100%"]
    SmO2Calc --> Desaturation["Muscle Desaturation Profile (Nadir & Extraction %)"]
    Desaturation --> Reperfusion["Hyperemic Reperfusion Engine (Rebound Slope & t_1/2)"]
    Reperfusion --> HealthScore["Muscle Oxygenation Index (MOI: 0 - 100)"]
    HealthScore --> IntervalPacing["OpenClaw / Hermes Rest-to-Work Ratio & Pacing Recommendations"]

Related MCP server: Personal Agent Hydration Osmolality Electrolyte

Quickstart

from client import MuscleOxygenationClient

client = MuscleOxygenationClient()

# Assess muscle desaturation profile during effort
res = client.evaluate_muscle_desaturation_profile(
    baseline_smo2_pct=72.0,
    nadir_smo2_pct=18.5,
    thb_arbitrary_units=13.2,
    workload_watts=320.0
)

print("Extraction Ratio:", res["muscle_o2_extraction_pct"], "%")
print("Extraction Tier:", res["extraction_tier"])
print("Interpretation:", res["physiological_interpretation"])

MCP Server Integration

Add to your claude_desktop_config.json or OpenClaw tool registry:

{
  "mcpServers": {
    "muscle-oxygenation": {
      "command": "python",
      "args": ["/path/to/genpark-personal-agent-muscle-oxygenation-nirs-smo2-skill/mcp_server.py"]
    }
  }
}

License

MIT License.

Related MCP Connectors

Related MCP Servers