Eight Sleep connector for AI agents

A connector that lets an AI agent you have chosen to use (for example Muse, Meta's personal AI agent, a general-purpose assistant such as Claude or ChatGPT, or a coding agent such as Cursor's cloud agents) answer questions about your sleep and your Pod, using the same data you already see in the Eight Sleep app, and, if you allow it, manage your alarms and your side of the Pod.

Everything the connector returns is a measurement or a setting from your account and your Pod: sleep stages, scores, heart rate, HRV, respiratory rate, snoring, device status, temperature settings, alarms. Measurements, not medical advice. No tool in this connector diagnoses, treats, or offers medical guidance.

How linking works

  1. You sign in with your Eight Sleep account and review the data the agent is requesting.
  2. You explicitly consent to share that data with the agent and, if it asks to make changes, to let it control your device. Nothing is shared or changed before you do.
  3. The agent can then call the tools below, on your behalf, for as long as the connection stays active.
  4. You can revoke access at any time from Data Sharing in the Eight Sleep app's settings. Revoking stops the agent from making further calls, reading or changing; it takes effect within five minutes.

What the connector can read

ToolReturnsScope
get_sleep_days Daily sleep summaries: scores, durations, stage percentages, bedtime and wake times, heart rate, HRV, respiratory rate and snoring, one entry per day. read_sleep
get_sleep_sessions Every sleep session (main sleep and naps) in a date range, with stage detail and snoring. read_sleep
get_sleep_session A single sleep session by id. read_sleep
get_device_status The name you gave your Pod in the Eight Sleep app, its product type, whether it has reported recently, which side of the bed you sleep on, your account timezone, and away mode. read_device
get_temperature_settings Your current temperature settings: schedule type, current state and level, bedtime/night/dawn levels. read_device
list_alarms Your alarms: time, repeat days, thermal, vibration and sound wake, smart wake, whether the next ring is skipped, and when each next rings. Needs an Eight Sleep membership. read_device

What the connector can change, if you allow it

These tools change settings on your own account and your own side of the bed, never anyone else's. Your agent is told to confirm each change with you before making it, and every change tells you what changed and how to undo it. Temperatures use the app's dial, from -10 (coolest) to +10 (warmest).

ToolChangesScope
create_alarm, update_alarm, delete_alarm Create, change, turn on or off, skip the next ring of, or delete one of your alarms. Needs an Eight Sleep membership and your timezone set in the app. Works while your Pod is offline: the change reaches the Pod when it reconnects. write_device
set_pod_power Turn your side of the Pod on or off. Needs an online Pod. write_device
set_temperature Set your side's level for the rest of this part of the night, like turning the dial in the app. Needs an online Pod that is on. write_device
update_temperature_schedule Change your every-night levels and your bedtime on chosen weekdays. Needs an online Pod and an Eight Sleep membership. write_device

An online Pod is one that has reported in during the last 10 minutes. On a Pod 6 or later, the cover on your side must also be connected to turn the Pod on or off or to set its level. Nothing changes while away mode is on. An agent can make up to 10 change requests every 5 minutes and 50 a day, whether or not each one goes through. The connector cannot stop or snooze a ringing alarm, turn Autopilot or away mode on or off, move the base, or cancel a therapy session.

Every agent, Muse included, can make changes once you connect it with "control your device" allowed. If you connected Muse before it could make changes, reconnect it once to allow them.

Scopes

Access is split into three scopes, and an agent only gets the ones you grant:

A connection made before write_device existed can only read. To allow changes, disconnect Eight Sleep in your agent and connect it again, and allow "control your device" when asked. Until you do, the agent cannot make changes, and one that tries will ask you to reconnect.

Discovery, for developers

This connector implements the Model Context Protocol over streamable HTTP at https://public-api.8slp.net/mcp. Protected Resource Metadata (RFC 9728) is published anonymously at:

which points at the authorization server's own metadata, published by auth-api at:

Rate limits

Calls are capped per agent connection at 60 per minute by default, and the API additionally enforces a 60-per-60-second ceiling per access token at the network edge. Both exist to keep any one connection from overwhelming the service; a well-behaved agent asking a handful of questions per conversation will never see either limit.