hass-mcp

Hass-MCP is a Model Context Protocol server that integrates Home Assistant with AI assistants like Claude, enabling them to query, control, and summarize smart home devices and automations.

126
0

Hass-MCP

A Model Context Protocol (MCP) server designed to integrate Home Assistant with AI assistants like Claude, enabling them to interact with your smart home.

Overview

Hass-MCP empowers AI assistants to query device states, control entities (lights, switches), provide summaries, troubleshoot automations, search for entities, and create guided conversations for common tasks.

Features

Key features include entity management (state retrieval, control, search), domain summaries, automation support (listing, control), guided conversations using prompts, smart search, and token-efficient JSON responses.

Installation

Requires a Home Assistant instance with a Long-Lived Access Token and either Docker (recommended) or Python 3.13+ with uv.

Setting Up With Claude Desktop

Docker installation is recommended. Configuration involves pulling the Docker image and adding an MCP server configuration to Claude Desktop's claude_desktop_config.json, specifying the Docker command and environment variables for HA_URL and HA_TOKEN.

Usage Examples

Examples include querying device states, controlling entities, listing sensors, summarizing domains, creating automations, and troubleshooting.

Repository

VO
voska

voska/hass-mcp

Created

March 16, 2025

Updated

March 25, 2025

Language

Python

Category

AI