eight-sleep-mcp
v0.2.5Unofficial Eight Sleep MCP server: read sleep trends, temperature, alarms; gated pod control.
Values you need
| Variable | What it is | |
|---|---|---|
EIGHT_SLEEP_EMAIL | optional | Eight Sleep account email. Optional when configured with eight-sleep-mcp-server setup. |
EIGHT_SLEEP_PASSWORD | optional secret | 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 | optional | 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 | optional | Optional payload mode: summary, structured, or raw. Defaults to structured. |
EIGHT_SLEEP_CACHE | optional | Optional SQLite cache toggle. Set to true or sqlite to enable. |
EIGHT_SLEEP_TOKEN_PATH | optional | Optional local token path. Defaults to ~/.eight-sleep-mcp/tokens.json. |
EIGHT_SLEEP_CLIENT_ID | optional | Optional override for the Android-app client_id default. |
EIGHT_SLEEP_CLIENT_SECRET | optional secret | Optional override for the Android-app client_secret default. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add eight-sleep-mcp -- npx -y eight-sleep-mcp-unofficial@0.2.5Add to
claude_desktop_config.json{
"mcpServers": {
"eight-sleep-mcp": {
"args": [
"-y",
"eight-sleep-mcp-unofficial@0.2.5"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"eight-sleep-mcp": {
"args": [
"-y",
"eight-sleep-mcp-unofficial@0.2.5"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"eight-sleep-mcp": {
"args": [
"-y",
"eight-sleep-mcp-unofficial@0.2.5"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.eight-sleep-mcp]
command = "npx"
args = ["-y", "eight-sleep-mcp-unofficial@0.2.5"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: eight_sleep_profile_get, eight_sleep_profile_update, eight_sleep_onboarding, eight_sleep_data_inventory, eight_sleep_capabilities, eight_sleep_agent_manifest, eight_sleep_connection_status, eight_sleep_cache_status, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json