# three.ws Home

> three.ws Home is an open-source MCP server. Read and safely act on a real Home Assistant house: rooms, live state, scenes, gated actions. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://three.ws
- **Repository:** https://github.com/nirholas/three.ws/tree/HEAD/packages/home-mcp
- **MCP Registry name:** io.github.nirholas/home-mcp
- **Listing updated:** 2026-11-13

## About

Read and safely act on a real Home Assistant house: rooms, live state, scenes, gated actions.

## Install

### Claude Code (Terminal)

```sh
claude mcp add home-mcp --env HOME_ASSISTANT_URL='<HOME_ASSISTANT_URL>' --env HOME_ASSISTANT_TOKEN='<HOME_ASSISTANT_TOKEN>' -- npx -y @three-ws/home-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "home-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/home-mcp"
      ],
      "env": {
        "HOME_ASSISTANT_URL": "<HOME_ASSISTANT_URL>",
        "HOME_ASSISTANT_TOKEN": "<HOME_ASSISTANT_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "home-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/home-mcp"
      ],
      "env": {
        "HOME_ASSISTANT_URL": "<HOME_ASSISTANT_URL>",
        "HOME_ASSISTANT_TOKEN": "<HOME_ASSISTANT_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "home-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/home-mcp"
      ],
      "env": {
        "HOME_ASSISTANT_URL": "<HOME_ASSISTANT_URL>",
        "HOME_ASSISTANT_TOKEN": "<HOME_ASSISTANT_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "home-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/home-mcp"
      ],
      "env": {
        "HOME_ASSISTANT_URL": "<HOME_ASSISTANT_URL>",
        "HOME_ASSISTANT_TOKEN": "<HOME_ASSISTANT_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "home-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/home-mcp"
      ],
      "env": {
        "HOME_ASSISTANT_URL": "<HOME_ASSISTANT_URL>",
        "HOME_ASSISTANT_TOKEN": "<HOME_ASSISTANT_TOKEN>"
      }
    }
  }
}
```

## FAQ

### Is three.ws Home free?

Yes. three.ws Home is open source, so you can use and self-host it for free.

### How do I add three.ws Home to Claude Code?

Run this command in your terminal: claude mcp add home-mcp --env HOME_ASSISTANT_URL='<HOME_ASSISTANT_URL>' --env HOME_ASSISTANT_TOKEN='<HOME_ASSISTANT_TOKEN>' -- npx -y @three-ws/home-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/three-ws-home
