AI Agents MCP Servers Workflows Blog Submit
H

Home Assistant MCP

IoT Free Open Source

Control Home Assistant with AI via MCP. Manage smart home devices, create automations, query sensor states, and monitor your home.

What is Home Assistant MCP?

Home Assistant MCP is a Model Context Protocol server for Home Assistant, the world's most popular open-source home automation platform. It enables AI assistants to control your smart home, query device states, create automations, and monitor your home environment.

Smart Home Control

Turn on lights, adjust thermostats, lock doors, and control any device connected to Home Assistant — all through natural language conversations with your AI assistant.

Automation Creation

Describe the automation you want, and Home Assistant MCP helps create it with proper triggers, conditions, and actions using Home Assistant's YAML automation format.

Configuration

{
  "mcpServers": {
    "homeassistant": {
      "command": "npx",
      "args": ["home-assistant-mcp"],
      "env": {
        "HA_URL": "http://homeassistant.local:8123",
        "HA_TOKEN": "your_long_lived_access_token"
      }
    }
  }
}

Use Cases

Home Assistant MCP is perfect for smart home enthusiasts who want voice-free AI control, advanced automation creation, energy monitoring analysis, and comprehensive home security management.

Key Features

  • Control smart home devices (lights, switches, climate)
  • Query sensor states and history
  • Create and manage automations
  • Monitor energy consumption
  • Manage scenes and scripts
  • Access Home Assistant event stream