Overview
Eight Sleep MCP is a Model Context Protocol (MCP) server designed for accessing data from the Eight Sleep Pod, enabling users to manage their sleep data and device settings effectively.
To use Eight Sleep MCP, clone the repository from GitHub, install the necessary dependencies, and configure your user ID along with other environment variables. You can then run the server to interact with your Eight Sleep Pod data.
- Access to user profile and preferences - Device control for the Eight Sleep Pod - Temperature control settings - Detailed sleep data retrieval and analysis - Alarm management functionalities
- Monitoring sleep patterns and scores over time.
- Adjusting temperature settings for optimal sleep comfort.
- Managing alarms and sleep schedules.
- Analyzing heart rate and respiratory data during sleep.
Add to your AI client
Use these steps to connect Eight Sleep MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"8sleep-mcp-elizabethtrykin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-8sleep-mcp-elizabethtrykin"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"8sleep-mcp-elizabethtrykin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-8sleep-mcp-elizabethtrykin"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"8sleep-mcp-elizabethtrykin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-8sleep-mcp-elizabethtrykin"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"8sleep-mcp-elizabethtrykin": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-8sleep-mcp-elizabethtrykin"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"8sleep-mcp-elizabethtrykin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-8sleep-mcp-elizabethtrykin"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"8sleep-mcp-elizabethtrykin": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-8sleep-mcp-elizabethtrykin"
]
}
}
}