Skip to content
Claude Code

Home Assistant for Claude Code

com.foreverworks/home-assistant

Read your Home Assistant's states, areas and history, and run its actions, approving locks first.

client:Claude Code transport:stdio runtime:npm

Install Home Assistant in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add home-assistant -e HOME_ASSISTANT_URL=<HOME_ASSISTANT_URL> -e HOME_ASSISTANT_TOKEN_FILE=<HOME_ASSISTANT_TOKEN_FILE> -e HOME_ASSISTANT_CONFIRM_DOMAINS=<HOME_ASSISTANT_CONFIRM_DOMAINS> -- npx -y @foreverworks/mcp-home-assistant

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Home Assistant in other clients