hass-mcp

MCP.Pizza Chef: voska

Once it is set up, you can ask Claude or Cursor what is happening at home — which lights are on, whether a door sensor is open, what the thermostat reads — and then tell it to change things. It can turn devices on and off, list and trigger automations, search for a device by name, and edit your Home Assistant dashboards. You need your own Home Assistant and a long-lived access token, plus Docker or Python.

Data
Other

Use This MCP server To

Ask which lights are still on before bed Turn off every downstairs light in one sentence Get a plain summary of my whole smart home Find the sensor whose battery is running low Figure out why a morning automation never ran Add a card to my dashboard without opening the editor

README

Hass-MCP

MCP Toplist

A Model Context Protocol (MCP) server for Home Assistant integration with Claude and other LLMs.

Hass-MCP MCP server

Overview

Hass-MCP enables AI assistants like Claude to interact directly with your Home Assistant instance, allowing them to:

  • Query the state of devices and sensors
  • Control lights, switches, and other entities
  • Get summaries of your smart home
  • Troubleshoot automations and entities
  • Search for specific entities
  • Create guided conversations for common tasks

Screenshots

hass-mcp FAQ

Which apps does this work in?
It has setup instructions for Claude Desktop, Claude Code, and Cursor, and it can also run over the network for tools like LibreChat or OpenWebUI.
Do I need a key or a password?
You need a long-lived access token, which you create for free inside your own Home Assistant profile page. Nothing here is paid.
Can I use this to turn off my lights just by asking?
Yes — name a room or a device in plain words and it will switch things off for you.
How hard is the setup?
You paste a short block into your assistant's settings, and you need either Docker or Python 3.13 on the same machine, so plan on a bit of tinkering.
Do I need Home Assistant already running?
Yes. It only talks to a Home Assistant you already own — it cannot control smart devices on its own.
Is this project still being maintained?
Yes. It had commits in the last few days, and the dashboard-editing feature is recent work.
Is it safe to leave running?
By default it only listens on your own computer. The authors warn you not to open the network mode to the wider internet without a password in front of it.