Best for
- Home Assistant users who want natural language control of their smart home
- Developers who enjoy using AI assistants like Claude
- Users who need quick troubleshooting of automations and entities
Hass-MCP is feature-rich, covering entity management, automations, history, logs, and more, with token efficiency. However, security risks are prominent, especially in HTTP mode, which requires strict protection. It suits users who want AI control of their home, but careful permission and network configuration is needed.
Hass-MCP is a Model Context Protocol (MCP) server for integrating Home Assistant with Claude and other large language models. It lets AI assistants directly read device states, control lights and switches, get smart home summaries, troubleshoot automations, and search entities, with lean JSON responses to minimize token usage.
{
"mcpServers": {
"hass-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"HA_URL",
"-e",
"HA_TOKEN",
"voska/hass-mcp"
],
"env": {
"HA_URL": "http://homeassistant.local:8123",
"HA_TOKEN": "YOUR_LONG_LIVED_TOKEN"
}
}
}
}