Updated March 2026
Install Home Assistant
Pick your client, copy the command, done.
Conare saves your MCP configs so Claude Code remembers them next session. Free.
1
Add it to Claude Code
Run this in a terminal.
claude mcp add -e "HA_URL=${HA_URL}" -e "HA_TOKEN=${HA_TOKEN}" home-assistant -- uvx ha-mcpRequired:
HA_URLHA_TOKENEnvironment Variables
Set these before running Home Assistant.
VariableDescriptionRequired
HA_URLThe base URL of your Home Assistant instanceYesHA_TOKENLong-lived access token for Home AssistantYesAvailable Tools (3)
Once configured, Home Assistant gives your AI agent access to:
control_deviceTurn devices on or off or adjust their settings.entity_idactiondataquery_stateGet the current state or attributes of a specific entity.entity_idmanage_automationCreate, update, or debug Home Assistant automations.automation_idactiondetailsTry It Out
After setup, try these prompts with your AI agent:
→Create an automation that turns on the porch light at sunset
→Add a weather card to my dashboard
→The motion sensor automation isn't working, debug it
→Make my morning routine automation also turn on the coffee maker
→Create a script that sets movie mode: dim lights, close blinds, turn on TV
Alternative installation methods
Windows
irm https://raw.githubusercontent.com/homeassistant-ai/ha-mcp/master/scripts/install-windows.ps1 | iexYou'll forget this config in a week
Every Home Assistant env var, every tool, every gotcha — saved in Conare. Next time Claude Code asks, it already knows.