Skip to main content
Glama
alphaparkinc

Cerebral Tissue Oxygenation NIRS rSO2 MCP Server

Frontal Cerebral Regional Tissue Oxygenation (NIRS rSO2) Skill

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

Zero-dependency sovereign personal agent skill for non-invasive calculation of frontal cerebral tissue oxygen saturation (rSO2), Fractional Tissue Oxygen Extraction (FTOE), and cognitive endurance kinetics.

flowchart TD
    FrontalNIRS["Multi-Wavelength Prefrontal NIRS Sensors"] --> BeerLambert["Modified Beer-Lambert HbO2/HbR Absorption"]
    BeerLambert --> rSO2_FTOE["rSO2 Saturation & FTOE Extraction Modeling"]
    rSO2_FTOE --> ReserveScore["Prefrontal Oxygenation Reserve Engine"]
    ReserveScore --> Agent["OpenClaw / Hermes Personal Agent Actions"]

Features

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

  • NIRS Standard Equations: Implements validated spectroscopic equations for regional cerebral oxygenation.

  • Cognitive Exhaustion Stratification: Quantitative evaluation of microvascular supply vs demand in intense work.

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

Related MCP server: Cardiac Systolic Time Intervals (PEP/LVET) & Inotropy Skill

Quickstart

from client import CerebralTissueOxygenationClient

client = CerebralTissueOxygenationClient()
result = client.evaluate_cerebral_oxygenation(
    frontal_rso2_pct=69.5,
    systemic_spo2_pct=99.0,
    baseline_rso2_pct=70.0
)
print("Frontal rSO2:", result["frontal_rso2_pct"], "%")
print("Classification:", result["classification"])

License

Apache-2.0

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables deterministic, non-invasive calculation of pre-ejection period and left ventricular ejection time, with rate-corrected indices and inotropic performance classification exposed as JSON-RPC tools for LLM and agent workflows.
    7
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables LLMs and autonomous agents to compute validated pupillometric metrics—constriction velocity, amplitude percentage, and redilation rate—and assess autonomic balance and central nervous system alertness through deterministic JSON-RPC tools.
    7
    MIT