MCP Catalogs
Home

mcp-server-home-assistant

by allenporter·67·Score 37

MCP server for Home Assistant that enables AI models to interact with home automation systems.

home-automationdeveloper-toolsai-llm
10
Forks
5
Open issues
15 mo ago
Last commit
2d ago
Indexed

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:

you:Control smart home devices through conversational AI
you:Query home environment data (temperature, occupancy, etc.)
you:Create home automation triggered by AI models
you:What Home Assistant features does this server expose?
you:Can I use this with other AI assistants besides Claude?

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

mcp-server-smart-homeha-apihome-assistant-js-sdk

Installation

Installation

  1. Install the [home-assistant-model-context-protocol](https://github.com/allenporter/home-assistant-model-context-protocol) custom component in your Home Assistant instance
  2. Create a [Long Lived Access Token](https://www.home-assistant.io/docs/authentication/#your-account-profile)
  3. Clone this repository to your local machine
  4. 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.