Interact with Home Assistant to control smart home devices, query states, manage automations, and troubleshoot your smart home setup.
Home Assistant becomes available to MCP clients through the home assistant mcp server. Interact with Home Assistant to control smart home devices, query states, manage automations, and troubleshoot your smart home setup.
A Model Context Protocol (MCP) server for Home Assistant integration with Claude and other LLMs.
Hass-MCP enables AI assistants like Claude to interact directly with your Home Assistant instance, allowing them to:
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| get_version | Get the Home Assistant version |
| get_entity | Get the state of a specific entity with optional field filtering |
| entity_action | Perform actions on entities (turn on, off, toggle) |
| list_entities | Get a list of entities with optional domain filtering and search |
| search_entities_tool | Search for entities matching a query |
| domain_summary_tool | Get a summary of a domain's entities |
| list_automations | Get a list of all automations |
| call_service_tool | Call any Home Assistant service |
| restart_ha | Restart Home Assistant |
| get_history | Get the state history of an entity (last N hours) |
| get_history_range | Get state-change history for an entity over an |
| get_statistics | Get long-term aggregated statistics (mean / min / max |
| get_statistics_range | Same, but for an explicit date/time range — |
| get_error_log | Get the Home Assistant error log, with optional |
| get_entities_by_area | List entities in a specific area / room |
| list_dashboards | List dashboards (the default plus any user dashboards), |
| get_dashboard_config | Get a dashboard's full config |
| set_dashboard_config | Replace a dashboard's full config (low-level) |
| list_view_sections | List the sections of a "sections"-type view |
| Storage | mode only. Only UI-managed ("storage") dashboards can be edited. |
| Whole | config writes. Home Assistant has no partial-edit API; every change |
{
"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_HA_TOKEN"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| HA_URL | Declared in the maintainer’s client configuration. | Check documentation |
| HA_TOKEN | Declared in the maintainer’s client configuration. | Check documentation |
Enables natural language interaction with Home Assistant entities using the Model Context Protocol.
Integrates with Home Assistant to provide smart home control capabilities via Model Context Protocol (MCP).
A Model Context Protocol (MCP) server that enables AI agents to interact with the 1NCE IoT connectivity management platform through natural language.
Agriculture Robotics tools for AI agents. Capabilities: robot safety check, spray plan calcu...
Amazon Alexa for Claude — Echo devices, announcements, routines, smart home, lists
Connect Claude, Cursor, Codex, and other AI tools to your robotics mission data.