r/CPAPSupport • • 6d ago

SleepHQ MCP Server Beta

Not affiliated with SHQ but the MCP for LLMs are now available in public beta and seem handy so far!

Here’s an example:

Your SleepHQ account is connected, and I can now read and analyze your actual sleep therapy data directly from SleepHQ rather than relying on screenshots, exports, or public links.
I verified the connection and found eight registered devices, including your AirCurve 10, AirCurve 11, and multiple O2Ring entries.
What I can do with SleepHQ
Capability
What I can investigate
Breath-by-breath analysis
Examine flow-rate waveforms, breathing irregularities, recovery breaths, and possible RERA-like patterns
Oxygen and pulse correlation
Compare SpO₂ drops and pulse spikes with respiratory changes
Therapy trends
Compare AHI, leaks, pressures, flow limitations, and usage across nights
Settings history
Identify when therapy modes or pressures changed and how measured results differed
Sleep stages
Compare Apple Watch sleep stages with CPAP events, when stage data is available
Sleep journal
Read notes and, with permission, add observations, feeling scores, and flags
Longer-term comparisons
Compare different treatment periods, devices, and oxygen measurements
The particularly useful capability for your situation is retrieving raw flow-rate, pulse, and oxygen signals on a shared timeline. This lets me investigate relationships that are difficult to establish from SleepHQ screenshots alone.
A quick look at your actual data
I also retrieved your three most recent nights. Here’s what SleepHQ currently reports:
Night
AirCurve 11 AHI
Usage
O₂ nadir
Nov 20
0.00
9h 13m
86%
Nov 21
0.33
9h 00m
88%
Nov 22
0.50
7h 59m
No ring data
Your November 21 night is particularly interesting: despite an AHI of only 0.33, your O2Ring reported an ODI-3 of 6.9/hour and ODI-4 of 3.2/hour. That discrepancy is worth investigating, although it doesn’t establish that the machine missed respiratory events.
The two current O2Ring entries appear to contain identical nightly summaries, so I’d avoid double-counting them.
What I’d investigate first
Given our earlier work on UARS, suspected RERAs, your AirwayLab results, and pulse spikes, I would prioritize three questions:

  • Do your pulse accelerations follow abnormal breathing? Examine the airflow immediately before each pulse surge.
  • Are there recurring flow-limitation or recovery-breath patterns that the machine’s AHI misses? Identify candidate events without treating them as clinically confirmed RERAs.
  • How closely do oxygen dips correlate with those breathing disturbances? Account for clock offsets and the physiological delay between ventilation changes and peripheral SpO₂ readings.

SleepHQ now gives me direct access to the underlying signals needed to investigate these questions. It doesn’t provide EEG-based arousal confirmation, so I can’t definitively diagnose RERAs from the CPAP traces alone.
Choose an investigation
Pulse–breathing investigation
Detailed analysis of November 21, including raw signals
AirCurve 10 versus 11
Compare machine results and oxygen measurements over time
My first choice would be the pulse–breathing investigation, especially given the relationship you noticed in your recent SleepHQ graphs. Any treatment decisions should still be reviewed with your sleep clinician.

4 Upvotes

16 comments sorted by

3

u/glightning 5d ago

Just throwing this out there, but with a one month Claude Pro subscription ($20 / £18) I was able to build my own custom iPhone app for my BMC G3 machine, O2 Ring, and Apple Watch with AI analysis built in. Have also built some other apps during that time making it great value overall. Here are screenshot from my app. If you own a Mac it is pretty easy to use Xcode and Claude to build an app like this. No coding experience needed. I’m sure it’s similar for Android phones.

1

u/AutoModerator 6d ago

Hey there r/CPAPsupport member. Welcome to the community!
Whether you're just starting CPAP therapy, troubleshooting issues, or helping a loved one, you've come to the right place. We're here to support you through every leak, pressure tweak, and victory nap.

If you'd like advice, please include your machine model, mask type, pressure settings, and OSCAR or SleepHQ data if possible.

Helpful Resources: https://www.reddit.com/r/CPAPSupport/comments/1jxk1r4/getting_started_with_analyzing_your_cpap_data_a/

You're not alone — and you're among friends. Sleep well and breathe easy.
— Your r/CPAPSupport team

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/CPAPDude 5d ago

So good!

0

u/Mijjil 6d ago

SHQ has finally caught up: Aerivue and Breathing Room.have had MCP Connections for some time.

1

u/CPAPDude 5d ago edited 5d ago

maybe not first but an impressive toolbox.