Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

Eight Sleep MCP

by davidmosiahversion 0.2.5i★ –iRuns on your computer
Registry nameio.github.davidmosiah/eight-sleep-mcp

Install

Overview

Description from the maker (original English)

Unofficial Eight Sleep MCP server: read sleep trends, temperature, alarms; gated pod control.

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Clinics & health
  • You need to fill in: EIGHT_SLEEP_PASSWORD, EIGHT_SLEEP_CLIENT_SECRET

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: EIGHT_SLEEP_EMAIL, EIGHT_SLEEP_PASSWORD, EIGHT_SLEEP_ALLOW_MUTATIONS, EIGHT_SLEEP_PRIVACY_MODE, EIGHT_SLEEP_CACHE, EIGHT_SLEEP_TOKEN_PATH, EIGHT_SLEEP_CLIENT_ID, EIGHT_SLEEP_CLIENT_SECRET

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "eight-sleep": {
      "command": "npx",
      "args": [
        "-y",
        "eight-sleep-mcp-unofficial"
      ],
      "env": {
        "EIGHT_SLEEP_EMAIL": "your-value",
        "EIGHT_SLEEP_PASSWORD": "your-value",
        "EIGHT_SLEEP_ALLOW_MUTATIONS": "your-value",
        "EIGHT_SLEEP_PRIVACY_MODE": "your-value",
        "EIGHT_SLEEP_CACHE": "your-value",
        "EIGHT_SLEEP_TOKEN_PATH": "your-value",
        "EIGHT_SLEEP_CLIENT_ID": "your-value",
        "EIGHT_SLEEP_CLIENT_SECRET": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add eight-sleep --env EIGHT_SLEEP_EMAIL=your-value --env EIGHT_SLEEP_PASSWORD=your-value --env EIGHT_SLEEP_ALLOW_MUTATIONS=your-value --env EIGHT_SLEEP_PRIVACY_MODE=your-value --env EIGHT_SLEEP_CACHE=your-value --env EIGHT_SLEEP_TOKEN_PATH=your-value --env EIGHT_SLEEP_CLIENT_ID=your-value --env EIGHT_SLEEP_CLIENT_SECRET=your-value -- npx -y eight-sleep-mcp-unofficial

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "eight-sleep": {
      "command": "npx",
      "args": [
        "-y",
        "eight-sleep-mcp-unofficial"
      ],
      "env": {
        "EIGHT_SLEEP_EMAIL": "your-value",
        "EIGHT_SLEEP_PASSWORD": "your-value",
        "EIGHT_SLEEP_ALLOW_MUTATIONS": "your-value",
        "EIGHT_SLEEP_PRIVACY_MODE": "your-value",
        "EIGHT_SLEEP_CACHE": "your-value",
        "EIGHT_SLEEP_TOKEN_PATH": "your-value",
        "EIGHT_SLEEP_CLIENT_ID": "your-value",
        "EIGHT_SLEEP_CLIENT_SECRET": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "eight-sleep": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "eight-sleep-mcp-unofficial"
      ],
      "env": {
        "EIGHT_SLEEP_EMAIL": "your-value",
        "EIGHT_SLEEP_PASSWORD": "your-value",
        "EIGHT_SLEEP_ALLOW_MUTATIONS": "your-value",
        "EIGHT_SLEEP_PRIVACY_MODE": "your-value",
        "EIGHT_SLEEP_CACHE": "your-value",
        "EIGHT_SLEEP_TOKEN_PATH": "your-value",
        "EIGHT_SLEEP_CLIENT_ID": "your-value",
        "EIGHT_SLEEP_CLIENT_SECRET": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • EIGHT_SLEEP_EMAIL env
    Eight Sleep account email. Optional when configured with eight-sleep-mcp-server setup.
  • EIGHT_SLEEP_PASSWORD secret env
    Eight Sleep account password. Prefer the setup command so this secret is stored in ~/.eight-sleep-mcp/config.json (chmod 600) instead of MCP client config.
  • EIGHT_SLEEP_ALLOW_MUTATIONS env
    Set to true to enable write tools (set_temperature, set_side, set_away_mode, snooze/dismiss alarm). Default false (read-only).
  • EIGHT_SLEEP_PRIVACY_MODE env
    Optional payload mode: summary, structured, or raw. Defaults to structured.
  • EIGHT_SLEEP_CACHE env
    Optional SQLite cache toggle. Set to true or sqlite to enable.
  • EIGHT_SLEEP_TOKEN_PATH env
    Optional local token path. Defaults to ~/.eight-sleep-mcp/tokens.json.
  • EIGHT_SLEEP_CLIENT_ID env
    Optional override for the Android-app client_id default.
  • EIGHT_SLEEP_CLIENT_SECRET secret env
    Optional override for the Android-app client_secret default.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 10, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account davidmosiah, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Clinics & healthi

  • More stars than 0% of the other 1050 servers in this category
  • Published to the registry more recently than 12% of the other 1050 servers in this category
  • Basic checks equal to or better than 100% of the other 1050 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Eight Sleep MCP safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: EIGHT_SLEEP_PASSWORD, EIGHT_SLEEP_CLIENT_SECRET

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.2.5) reached the registry 5 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Mirobody, FHIR MCP Server, Langcare MCP FHIR

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Mirobody

Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.

by thetahealthGrowing↓ 290/wk★ 1.4KUpdated 2 days ago

Runs on your computer✓ thetahealth.ai

FHIR MCP Server

MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications

by wso2Growing↓ 823/wk★ 137Updated 11 days ago

Runs on your computer

Langcare MCP FHIR

An MCP FHIR server written in Go for EMR systems like Epic and Cerner

by langcareEarly↓ 297/wk★ 70Updated 9 months ago

Runs on your computer

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Eight Sleep MCP

Give your AI agent your Eight Sleep sleep trends, temperature program and alarms — and optionally let it tune the pod overnight.

Local-first MCP server — credentials never leave your machine .

⚡ 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.


HTTP (v2 stateless)

Default is stdio. Optional Streamable HTTP — no session id, JSON responses, loopback only:

npx -y eight-sleep-mcp-unofficial --http

GET http://127.0.0.1:3000/health

POST http://127.0.0.1:3000/mcp (sessionless)

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.

Why this exists

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.

Setup in 60 seconds

npx -y eight-sleep-mcp-unofficial setup   # interactive: email + password

npx -y eight-sleep-mcp-unofficial login # persists the auth token npx -y eight-sleep-mcp-unofficial doctor # verifies you're ready

Then add this to your MCP client config:

{

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

For Claude Desktop, run setup --client claude and the snippet is written for you.

Try it with your agent

Three things to ask first:

Use eight_sleep_connection_status to check setup, then run eight_sleep_get_me.

Tell me what device you find.

Call eight_sleep_get_trends for the last 7 days, response_format=json.

What's my best night and worst night, and why?

Call eight_sleep_get_temperature. Summarize the current smart schedule

(bedtime, initial sleep, final sleep) and tell me if I should tune it.

Data availability

This package talks to the Eight Sleep mobile-app API. It does not access continuous biometric sensor streams or BLE.

DataToolSource
User & deviceeight_sleep_get_me, eight_sleep_get_user, eight_sleep_get_current_deviceclient-api.8slp.net /users/...
Temperature programeight_sleep_get_temperatureapp-api.8slp.net /v1/users/{id}/temperature
Sleep trendseight_sleep_get_trendsclient-api.8slp.net /users/{id}/trends
Alarmseight_sleep_get_alarmsapp-api.8slp.net /v2/users/{id}/alarms
Adjustable baseeight_sleep_get_baseapp-api.8slp.net /v1/users/{id}/base
Workflow tools
ToolWhat it does
eight_sleep_nightly_summaryMulti-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_contextReturns 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.

Mutation tools (write gate)

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.

ActionTool
Set heating leveleight_sleep_set_temperature
Turn side on/offeight_sleep_set_side
Toggle away modeeight_sleep_set_away_mode
Snooze alarmeight_sleep_snooze_alarm
Dismiss alarmeight_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.

Privacy

  • Credentials stored in ~/.eight-sleep-mcp/config.json with chmod 600.
  • Auth tokens stored in ~/.eight-sleep-mcp/tokens.json with chmod 600.
  • Sensitive fields (email, device serial, shipping address, payment last-four) are redacted from tool responses by default.
  • 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.

Environment variables

VarPurpose
EIGHT_SLEEP_EMAILAccount email.
EIGHT_SLEEP_PASSWORDAccount password.
EIGHT_SLEEP_ALLOW_MUTATIONSEnable write tools (keep unset in default snippets).
EIGHT_SLEEP_PRIVACY_MODEsummary / structured / raw.
EIGHT_SLEEP_CACHELegacy compatibility key; authenticated response caching is disabled and this value is ignored.
EIGHT_SLEEP_TOKEN_PATHOverride token storage path.
EIGHT_SLEEP_CLIENT_ID / EIGHT_SLEEP_CLIENT_SECRETOverride Android-app credential defaults (advanced).

Stability

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.

Credits

📧 Contact & Support

  • 📨 support@delx.ai — general questions, integration help, partnerships
  • 🐛 Bug reports / feature requests — GitHub Issues
  • 🐦 Updates — @delx369 on X
  • 🌐 Site — wellness.delx.ai

License

MIT — see LICENSE.

Skill or MCP

Same package, two doors. MCP registers tools on stdio/HTTP. The skill can drive the same tools through the CLI when the client has no MCP:

npx -y eight-sleep-mcp-unofficial call eight_sleep_connection_status --json '{}'

Copy skill/SKILL.md into your agent skills dir.

Ask PopNx