mcp-server-home-assistant
by allenporter·★ 67·Score 37
MCP server for Home Assistant that enables AI models to interact with home automation systems.
Overview
This MCP server provides a bridge between AI models and Home Assistant, a popular home automation platform. It exposes Home Assistant's functionality through the Model Context Protocol, allowing AI assistants to control smart home devices, query sensor data, and trigger automations. The server uses Home Assistant's WebSocket API and requires authentication via API tokens.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this if you use Claude Desktop and want to control or query your Home Assistant smart home devices through natural language.
When NOT to choose this
Don't choose this if you're not using Home Assistant, need more comprehensive home automation features, or require read/write access beyond what Home Assistant provides.
Comparable tools
Installation
Installation
- Install the [home-assistant-model-context-protocol](https://github.com/allenporter/home-assistant-model-context-protocol) custom component in your Home Assistant instance
- Create a [Long Lived Access Token](https://www.home-assistant.io/docs/authentication/#your-account-profile)
- Clone this repository to your local machine
- Edit your
claude_desktop_config.json:
{
"mcpServers": {
"Home-assistant": {
"command": "uv",
"args": [
"--directory",
"<path_to_repo>",
"run",
"mcp-server-home-assistant",
"-v",
"-v"
],
"env": {
"HOME_ASSISTANT_WEB_SOCKET_URL": "http://localhost:8123/api/websocket",
"HOME_ASSISTANT_API_TOKEN": "your_api_token_here"
}
}
}
}FAQ
- What Home Assistant features does this server expose?
- The server exposes Home Assistant's tools and resources through MCP, allowing AI models to interact with devices, queries states, and trigger automations.
- Can I use this with other AI assistants besides Claude?
- While the documentation specifically mentions Claude Desktop, the MCP protocol is designed to be compatible with any MCP client that supports the protocol.
Compare mcp-server-home-assistant with
Last updated · Auto-generated from public README + GitHub signals.