hass-mcp
MCP server that lets Claude and other LLMs query and control Home Assistant.
Install
See the repository for setupWhat it does
Hass-MCP is a Model Context Protocol server that connects AI assistants to a Home Assistant instance so they can inspect and act on a smart home. It exposes tools for reading entity states, turning devices on or off, calling services, listing automations, searching by name or area, and pulling domain-level summaries. History, long-term statistics, and a filtered error log are available for troubleshooting. It also supports reading and live-editing Lovelace dashboards over Home Assistant's WebSocket API, with a dry-run preview and automatic pre-save backups.
It is aimed at home-automation users who already run Home Assistant and want an assistant to answer questions or help build and debug automations. Setup needs a Home Assistant URL and a long-lived access token. It runs through Docker or uv/uvx and is documented for Claude Desktop, Cursor, and Claude Code as command-based clients. A stateless streamable HTTP mode serves network-based clients on an /mcp endpoint.
Limitations: dashboard editing requires an admin token and only works on storage-mode dashboards, and every edit rewrites the whole config. HTTP mode has no built-in authentication, so it must sit behind a proxy, VPN, or local binding, and private CA certificates must be installed or mounted explicitly.
Compatibility and authentication
- Connection
- Local
- Transports
- Unspecified
- Authentication
- Unknown
Security and permissions
- When you run the server locally, it runs with your user permissions.
- Authentication type: Unknown.
Repository data
- Stars
- 353
- Last push
- Nov 20, 2026
- License
- MIT
- Archived
- No
Other Home Assistant MCP servers
Compare serversFAQ
- What license does hass-mcp use?
- MIT
- Does hass-mcp run locally or remotely?
- It runs locally.
- Is hass-mcp an official server?
- It is listed as a community server.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/hass-mcp"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.