MCP.so
Sign In
Servers

Hass-MCP

@voska

Control and query Home Assistant from Claude and other LLMs — a Model Context Protocol (MCP) server.

Overview

What is Hass-MCP?

Hass-MCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude to interact directly with a Home Assistant instance. It enables querying device states, controlling entities, troubleshooting automations, and more.

How to use Hass-MCP?

Install via Docker (recommended) or Python 3.13+ with uv. Configure the HA_URL and HA_TOKEN environment variables with your Home Assistant URL and a long-lived access token. Add the server to your MCP client (e.g., Claude Desktop, Cursor, Claude Code CLI) using the provided configurations.

Key features of Hass-MCP

  • Entity management: get states, control devices, search entities
  • Domain summaries for high-level entity type info
  • Automation support: list and control automations
  • Guided conversations for common tasks via prompts
  • Smart search for entities by name, type, or state
  • Token‑efficient JSON responses to minimize usage

Use cases of Hass-MCP

  • Ask your AI for the current state of any device or sensor
  • Control lights, switches, and other entities by voice or text
  • Troubleshoot failing automations and misbehaving entities
  • Generate optimized smart home routines based on usage patterns
  • Audit entity naming consistency and dashboard layouts

FAQ from Hass-MCP

What prerequisites are needed to run Hass-MCP?

A Home Assistant instance with a long-lived access token. You also need Docker or Python 3.13+ with uv installed.

Can I use Hass-MCP with clients other than Claude?

Yes. The README includes setup instructions for Cursor, Claude Code CLI, and any MCP client that supports the streamable HTTP transport.

Does Hass-MCP support HTTP transport, and is it secure?

Yes, it supports MCP streamable HTTP transport. However, HTTP mode exposes full Home Assistant control over the network without built‑in authentication, so you must put it behind a reverse proxy, VPN, or bind to localhost only.

Where does user data live when using Hass-MCP?

All data is queried directly from the user's Home Assistant instance. The server does not store or log data externally.

Are there any known limitations of Hass-MCP?

The README does not mention explicit limits. It notes token‑efficient JSON responses but does not detail maximum entity count or rate limits.

Tags

More from AI & Agents