Koskamo

Eight Sleep MCP

An unofficial local-first MCP server that connects AI agents to Eight Sleep pods. It allows agents to read sleep trends, temperature schedules, alarms, and adjustable base states. Write operations like setting temperature or side are gated behind explicit environment variables to prevent accidental changes. Credentials remain local.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Eight Sleep MCP logo, by Delx WellnessCommunity listingLocal stdioSource reviewed; not executedPublished by Delx Wellness
Vendor documentation

What you can do with it

  • Review nightly sleep scores and trends
  • Adjust bedtime temperature programs
  • Check and snooze morning alarms
  • Automate away-mode for travel

Source and maintenance

Community listingRegistry 0.2.5
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

eight-sleep-mcp-unofficial 0.2.5

npm
eight-sleep-mcp-unofficial package definition
{
  "version": "0.2.5",
  "transport": "stdio",
  "identifier": "eight-sleep-mcp-unofficial",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "EIGHT_SLEEP_EMAIL",
      "format": "string",
      "description": "Eight Sleep account email. Optional when configured with eight-sleep-mcp-server setup."
    },
    {
      "name": "EIGHT_SLEEP_PASSWORD",
      "format": "string",
      "description": "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."
    },
    {
      "name": "EIGHT_SLEEP_ALLOW_MUTATIONS",
      "format": "string",
      "description": "Set to true to enable write tools (set_temperature, set_side, set_away_mode, snooze/dismiss alarm). Default false (read-only)."
    },
    {
      "name": "EIGHT_SLEEP_PRIVACY_MODE",
      "format": "string",
      "description": "Optional payload mode: summary, structured, or raw. Defaults to structured."
    },
    {
      "name": "EIGHT_SLEEP_CACHE",
      "format": "string",
      "description": "Optional SQLite cache toggle. Set to true or sqlite to enable."
    },
    {
      "name": "EIGHT_SLEEP_TOKEN_PATH",
      "format": "string",
      "description": "Optional local token path. Defaults to ~/.eight-sleep-mcp/tokens.json."
    },
    {
      "name": "EIGHT_SLEEP_CLIENT_ID",
      "format": "string",
      "description": "Optional override for the Android-app client_id default."
    },
    {
      "name": "EIGHT_SLEEP_CLIENT_SECRET",
      "format": "string",
      "description": "Optional override for the Android-app client_secret default."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "eight-sleep-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "eight-sleep-mcp-unofficial@0.2.5"
      ],
      "env": {
        "EIGHT_SLEEP_EMAIL": "<YOUR_EIGHT_SLEEP_EMAIL>",
        "EIGHT_SLEEP_PASSWORD": "<YOUR_EIGHT_SLEEP_PASSWORD>",
        "EIGHT_SLEEP_ALLOW_MUTATIONS": "<YOUR_EIGHT_SLEEP_ALLOW_MUTATIONS>",
        "EIGHT_SLEEP_PRIVACY_MODE": "<YOUR_EIGHT_SLEEP_PRIVACY_MODE>",
        "EIGHT_SLEEP_CACHE": "<YOUR_EIGHT_SLEEP_CACHE>",
        "EIGHT_SLEEP_TOKEN_PATH": "<YOUR_EIGHT_SLEEP_TOKEN_PATH>",
        "EIGHT_SLEEP_CLIENT_ID": "<YOUR_EIGHT_SLEEP_CLIENT_ID>",
        "EIGHT_SLEEP_CLIENT_SECRET": "<YOUR_EIGHT_SLEEP_CLIENT_SECRET>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "eight-sleep-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "eight-sleep-mcp-unofficial@0.2.5"
      ],
      "env": {
        "EIGHT_SLEEP_EMAIL": "<YOUR_EIGHT_SLEEP_EMAIL>",
        "EIGHT_SLEEP_PASSWORD": "<YOUR_EIGHT_SLEEP_PASSWORD>",
        "EIGHT_SLEEP_ALLOW_MUTATIONS": "<YOUR_EIGHT_SLEEP_ALLOW_MUTATIONS>",
        "EIGHT_SLEEP_PRIVACY_MODE": "<YOUR_EIGHT_SLEEP_PRIVACY_MODE>",
        "EIGHT_SLEEP_CACHE": "<YOUR_EIGHT_SLEEP_CACHE>",
        "EIGHT_SLEEP_TOKEN_PATH": "<YOUR_EIGHT_SLEEP_TOKEN_PATH>",
        "EIGHT_SLEEP_CLIENT_ID": "<YOUR_EIGHT_SLEEP_CLIENT_ID>",
        "EIGHT_SLEEP_CLIENT_SECRET": "<YOUR_EIGHT_SLEEP_CLIENT_SECRET>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "eight-sleep-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "eight-sleep-mcp-unofficial@0.2.5"
      ],
      "env": {
        "EIGHT_SLEEP_EMAIL": "<YOUR_EIGHT_SLEEP_EMAIL>",
        "EIGHT_SLEEP_PASSWORD": "<YOUR_EIGHT_SLEEP_PASSWORD>",
        "EIGHT_SLEEP_ALLOW_MUTATIONS": "<YOUR_EIGHT_SLEEP_ALLOW_MUTATIONS>",
        "EIGHT_SLEEP_PRIVACY_MODE": "<YOUR_EIGHT_SLEEP_PRIVACY_MODE>",
        "EIGHT_SLEEP_CACHE": "<YOUR_EIGHT_SLEEP_CACHE>",
        "EIGHT_SLEEP_TOKEN_PATH": "<YOUR_EIGHT_SLEEP_TOKEN_PATH>",
        "EIGHT_SLEEP_CLIENT_ID": "<YOUR_EIGHT_SLEEP_CLIENT_ID>",
        "EIGHT_SLEEP_CLIENT_SECRET": "<YOUR_EIGHT_SLEEP_CLIENT_SECRET>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "eight-sleep-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "eight-sleep-mcp-unofficial@0.2.5"
      ],
      "env": {
        "EIGHT_SLEEP_EMAIL": "<YOUR_EIGHT_SLEEP_EMAIL>",
        "EIGHT_SLEEP_PASSWORD": "<YOUR_EIGHT_SLEEP_PASSWORD>",
        "EIGHT_SLEEP_ALLOW_MUTATIONS": "<YOUR_EIGHT_SLEEP_ALLOW_MUTATIONS>",
        "EIGHT_SLEEP_PRIVACY_MODE": "<YOUR_EIGHT_SLEEP_PRIVACY_MODE>",
        "EIGHT_SLEEP_CACHE": "<YOUR_EIGHT_SLEEP_CACHE>",
        "EIGHT_SLEEP_TOKEN_PATH": "<YOUR_EIGHT_SLEEP_TOKEN_PATH>",
        "EIGHT_SLEEP_CLIENT_ID": "<YOUR_EIGHT_SLEEP_CLIENT_ID>",
        "EIGHT_SLEEP_CLIENT_SECRET": "<YOUR_EIGHT_SLEEP_CLIENT_SECRET>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Eight Sleep MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.