Unofficial Eight Sleep MCP server: read sleep trends, temperature, alarms; gated pod control.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
β‘ One-command install with Delx Wellness for Hermes:
npx -y delx-wellness-hermes setupβ preconfigures this connector alongside the rest of the wellness catalog.Or wire it standalone into Claude Desktop / Cursor / OpenClaw / any MCP client β see the install section below.
Default is stdio. Optional Streamable HTTP β no session id, JSON responses, loopback only:
Env: EIGHT_SLEEP_MCP_HOST, EIGHT_SLEEP_MCP_PORT, EIGHT_SLEEP_MCP_TRANSPORT=http.
Local-first MCP server that connects AI agents to your Eight Sleep pod β sleep sessions, temperature program, alarms, adjustable base β with an explicit mutation gate for write actions.
Unofficial project. Not affiliated with, endorsed by, or supported by Eight Sleep, Inc. Eight Sleep is a trademark of its respective owner. Use this only with your own Eight Sleep account.
Eight Sleep does not publish a stable public API. This package talks to the same private endpoints (auth-api.8slp.net, client-api.8slp.net, app-api.8slp.net) the mobile app uses, following the path well documented by upstream community projects (lukas-clarke/eight_sleep, mezz64/pyEight, steipete/eightctl).
Part of Delx Wellness β a registry of local-first wellness MCP connectors.
If this connector helps your agent workflow, please star the repo. Stars make the project easier for other AI builders to discover and help Delx keep shipping local-first wellness infrastructure.
Eight Sleep ships great sleep telemetry β nightly score, presence intervals, tnt, smart-temperature schedule β but it lives inside a closed iOS/Android app with no public API. Bringing it into your agent today means reverse-engineering OAuth, juggling token refresh, normalizing endpoint shapes, and handling timezone quirks.
This package does all of that locally, exposes Eight Sleep through the Model Context Protocol, and lets any MCP-compatible agent read your sleep context (and write pod commands, if you opt in) with one config snippet. Credentials and tokens stay on your machine.
Then add this to your MCP client config:
For Claude Desktop, run setup --client claude and the snippet is written for you.
Three things to ask first:
This package talks to the Eight Sleep mobile-app API. It does not access continuous biometric sensor streams or BLE.
| Data | Tool | Source |
|---|---|---|
| User & device | eight_sleep_get_me, eight_sleep_get_user, eight_sleep_get_current_device | client-api.8slp.net /users/... |
| Temperature program | eight_sleep_get_temperature | app-api.8slp.net /v1/users/{id}/temperature |
| Sleep trends | eight_sleep_get_trends | client-api.8slp.net /users/{id}/trends |
| Alarms | eight_sleep_get_alarms | app-api.8slp.net /v2/users/{id}/alarms |
| Adjustable base | eight_sleep_get_base | app-api.8slp.net /v1/users/{id}/base |
| Tool | What it does |
|---|---|
eight_sleep_nightly_summary | Multi-night summary: best night, worst night, mean score, nights under 70 / over 85 β one call instead of post-processing raw get_trends. |
eight_sleep_wellness_context | Returns a normalized delx-wellness-context/v1 payload so other Delx Wellness tools (Nourish, Exercise Catalog, Telegram coaches) can read sleep context without knowing the Eight Sleep API. |
Off by default. To enable, re-run setup with --allow-mutations or enable EIGHT_SLEEP_ALLOW_MUTATIONS. Do not put the assignment in default MCP snippets.
| Action | Tool |
|---|---|
| Set heating level | eight_sleep_set_temperature |
| Turn side on/off | eight_sleep_set_side |
| Toggle away mode | eight_sleep_set_away_mode |
| Snooze alarm | eight_sleep_snooze_alarm |
| Dismiss alarm | eight_sleep_dismiss_alarm |
When the gate is off, mutation tools return an explicit mutations disabled error so agents can detect it and ask the user to opt in.
~/.eight-sleep-mcp/config.json with chmod 600.~/.eight-sleep-mcp/tokens.json with chmod 600.EIGHT_SLEEP_PRIVACY_MODE:
summary β minimal fields only.structured (default) β preserves complete nested sleep fields and future upstream additions while redacting identifiers.raw β full upstream payload (debugging only).Trend requests validate real YYYY-MM-DD dates, range order and IANA timezone names before any network call.
Call eight_sleep_privacy_audit at any time to inspect the current posture without exposing secrets.
| Var | Purpose |
|---|---|
EIGHT_SLEEP_EMAIL | Account email. |
EIGHT_SLEEP_PASSWORD | Account password. |
EIGHT_SLEEP_ALLOW_MUTATIONS | Enable write tools (keep unset in default snippets). |
EIGHT_SLEEP_PRIVACY_MODE | summary / structured / raw. |
EIGHT_SLEEP_CACHE | sqlite to enable on-disk response cache. |
EIGHT_SLEEP_TOKEN_PATH | Override token storage path. |
EIGHT_SLEEP_CLIENT_ID / EIGHT_SLEEP_CLIENT_SECRET | Override Android-app credential defaults (advanced). |
Eight Sleep changes mobile-app endpoints without notice. This connector tracks upstream community projects (lukas-clarke/eight_sleep, steipete/eightctl, mezz64/pyEight) for breakage signals. If a tool starts returning 4xx unexpectedly, check those repos and the project issues for the latest known-good shape.
lukas-clarke/eight_sleep β Home Assistant integration, most current reference for V2 endpoints.mezz64/pyEight β original Python library; auth + endpoint discovery.steipete/eightctl β CLI variant with extracted client credentials.LiamSnow/opensleep β full open-source firmware (deeper than this MCP goes).MIT β see LICENSE.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/eight-sleep-mcp)<a href="https://allmcps.com/mcp/eight-sleep-mcp"><img src="https://allmcps.com/api/badge/eight-sleep-mcp?style=directory" alt="Eight Sleep MCP on AllMCPs" /></a>