原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Eight Sleep MCP

作者:davidmosiah版本 0.2.5i★ –i在你的电脑上运行
注册名称io.github.davidmosiah/eight-sleep-mcp

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 诊所与健康
  • 你需要填写:EIGHT_SLEEP_PASSWORD, EIGHT_SLEEP_CLIENT_SECRET

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: 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

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 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"
      }
    }
  }
}

在终端中运行这条命令

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

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.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"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "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"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • EIGHT_SLEEP_EMAIL env
    Eight Sleep account email. Optional when configured with eight-sleep-mcp-server setup.
  • EIGHT_SLEEP_PASSWORD 机密 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 机密 env
    Optional override for the Android-app client_secret default.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月10日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 davidmosiah 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“诊所与健康”中的其他服务器比较i

  • 星标数多于此分类中其他 1061 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1061 个服务器的 12% 更新
  • 基础检查结果等于或优于此分类中其他 1061 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Eight Sleep MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:EIGHT_SLEEP_PASSWORD, EIGHT_SLEEP_CLIENT_SECRET

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.2.5)于5个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Mirobody, FHIR MCP Server, Langcare MCP FHIR

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Mirobody

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

作者:thetahealth正在增长↓ 290/周★ 14083天前更新

在你的电脑上运行✓ thetahealth.ai

FHIR MCP Server

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

作者:wso2正在增长↓ 823/周★ 13712天前更新

在你的电脑上运行

Langcare MCP FHIR

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

作者:langcare起步阶段↓ 297/周★ 709个月前更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

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.

问 PopNx