---
title: Eight Sleep MCP connector
description: Smart-mattress sleep trends, temperature schedule, alarms and base.
canonical: https://wellness.delx.ai/connectors/eight-sleep
content_signal: ai-train=no, search=yes, ai-input=yes
---

# Eight Sleep MCP Connector

A local-first MCP connector that lets agents read your Eight Sleep nightly score, smart-temperature program, alarms and adjustable-base state — and optionally tune the pod, gated behind an explicit mutation flag.

## Install

```bash
npx -y eight-sleep-mcp-unofficial setup
npx -y eight-sleep-mcp-unofficial doctor
```

## Agent client config

```json
{
  "mcpServers": {
    "eight_sleep": {
      "command": "npx",
      "args": ["-y", "eight-sleep-mcp-unofficial"]
    }
  }
}
```

## Signals

- Sleep Trends
- Temperature Program
- Alarms
- Adjustable Base

## Data availability

- User profile and assigned bed side: available. Email and device serial redacted by default.
- Smart-temperature schedule (bedtime / initial sleep / final sleep): available. Includes currentLevel, currentDeviceLevel and isOn.
- Sleep trends (nightly score, stages, tnt, presence): available. Date-range query against client-api.8slp.net.
- Alarms and recommended next alarm: available. Includes thermal + vibration toggles.
- Adjustable base angle and preset: available. Returns leg/torso angles when the pod has the adjustable base.
- Write tools (temperature, side, away mode, alarm snooze/dismiss): opt_in. Off by default; require EIGHT_SLEEP_ALLOW_MUTATIONS=true.
- Continuous biometric streams or BLE: not_available. Not exposed by the mobile-app API surface.

## MCP tools

### Start here

- `eight_sleep_connection_status`
- `eight_sleep_get_me`
- `eight_sleep_nightly_summary`
- `eight_sleep_wellness_context`

### Reads

- `eight_sleep_get_user`
- `eight_sleep_get_current_device`
- `eight_sleep_get_temperature`
- `eight_sleep_get_alarms`
- `eight_sleep_get_trends`
- `eight_sleep_get_base`

### Workflows

- `eight_sleep_nightly_summary`
- `eight_sleep_wellness_context`

### Mutations (gated)

- `eight_sleep_set_temperature`
- `eight_sleep_set_side`
- `eight_sleep_set_away_mode`
- `eight_sleep_snooze_alarm`
- `eight_sleep_dismiss_alarm`

### Meta and diagnostics

- `eight_sleep_capabilities`
- `eight_sleep_agent_manifest`
- `eight_sleep_data_inventory`
- `eight_sleep_privacy_audit`
- `eight_sleep_cache_status`
- `eight_sleep_logout`

## Prompts

- `eight_sleep_nightly_review`
- `eight_sleep_bedtime_temperature_plan`
- `eight_sleep_morning_alarm_check`

## Resources

- `eight-sleep://capabilities`
- `eight-sleep://agent-manifest`
- `eight-sleep://inventory`

## Privacy

- Email/password stored locally in ~/.eight-sleep-mcp/config.json (chmod 600).
- Bearer token stored locally in ~/.eight-sleep-mcp/tokens.json (chmod 600).
- Email, device serial, addresses and payment last-four redacted from responses by default.
- Mutations require EIGHT_SLEEP_ALLOW_MUTATIONS=true — agents cannot accidentally change pod state.
- Profile and goals persist locally to ~/.delx-wellness/profile.json (mode 0600); shared with all 15 Delx Wellness connectors and never uploaded.

## Best for

- Nightly score review
- Bedtime temperature experiments
- Alarm + thermal wake check
- Travel away-mode automation

## Known limits

- Unofficial — Eight Sleep can change mobile-app endpoints without notice.
- Password auth is needed because no public OAuth grant exists.
- No continuous biometric streams or BLE access.

## Links

- GitHub: https://github.com/davidmosiah/eight-sleep-mcp
- npm: https://www.npmjs.com/package/eight-sleep-mcp-unofficial
- Provider docs: https://www.eightsleep.com/
