HA-MCP

An MCP server that runs inside Home Assistant and hands your AI client 87 admin-level tools

Configure and automate Home Assistant with Claude, ChatGPT, and other AI assistants.

Category
Applications
Audience
Everyone
Language
Python
Licence
MIT

Updated

HA-MCP is a Model Context Protocol server for Home Assistant that lets Claude, ChatGPT, or any other MCP client inspect and change a smart home. It is for people who already run Home Assistant and already pay for an AI assistant, and who would rather describe an automation in a sentence than assemble it by hand in the interface or in YAML. The project is Python, MIT licensed, and has collected about 7,100 stars and 446 forks since it was created in September 2025.

What it does

It hands your assistant a toolbox for the house. The README's own badge counts 87 tools, and the channel's write-up describes them as covering entities, automations, scenes, and more. That figure is the project's own count, not an independent audit.

Because the tools cover configuration and not only control, the assistant can do more than flip a switch: creating and editing automations and scenes is part of the surface, which is also why the permissions question below matters.

One change to know before upgrading: the top of the README flags a breaking change in v7.3.0, where the ha_config_set_yaml tool moved into the project's beta documentation. If you were writing raw YAML through the server, that path is now a beta feature rather than part of the default set.

How it works

The server runs in-process, inside Home Assistant itself, rather than as a separate service you have to host and point at the API. The project says this works on every installation type: Home Assistant OS, Container, Supervised, and Core.

Once it is running, it exposes a connect URL. You paste that URL into whatever MCP client you use, and the client sees the tools. Nothing in the setup is specific to one vendor; Claude and ChatGPT are the named examples, and any MCP client is meant to work.

Under the hood it is built with FastMCP, per the README badge, and the repository runs an end-to-end test workflow in GitHub Actions. There is a documentation site at homeassistant-ai.github.io/ha-mcp, and a GitHub Sponsors link for the author.

Getting started

The repository is github.com/homeassistant-ai/ha-mcp. What it needs is a working Home Assistant installation of any of the four supported types; beyond that the project does not list hardware requirements, and the README's Python version badge reads the number out of pyproject.toml rather than printing it in the text.

Installing is not a plain clone. The documented route is HACS or the Marketplace: install from there, create a Home Assistant access token and paste it in, then copy the connect URL into your AI client.

On cost: the server is free and MIT licensed, but the intelligence is not. You pay for whichever assistant you connect, through a Claude or ChatGPT plan or an API key. The materials do not describe running a local model against it, so do not count on a setup with no model bill.

When to use it / when not

The main catch is permissions. The server needs an administrator account, and the project's advice, repeated in the video, is to create a dedicated admin account for it instead of using your personal login. An admin token means the connected model can reconfigure the house, not merely read sensors, so that separate account is the whole safety margin.

Use it instead of clicking through the automation editor when the thing you want is awkward to express in the interface, or when you want the assistant to read current state and write the automation for you. Don't use it if you are not comfortable giving a cloud model administrative access to your home, or if all you want is spoken "turn off the lights" control, which Home Assistant's own voice assistant already handles without an extra integration.

Alternatives

The materials do not compare HA-MCP with any competing project, so treat this as the honest shape rather than a ranking: your realistic options are this server, Home Assistant's built-in assistant features, and editing the configuration yourself. Simply asking Claude or ChatGPT about Home Assistant without a server gets you advice and no access; the point of HA-MCP is the access.

Home Assistant users who already keep an AI assistant open all day are the people who should take this seriously. The install path is short (HACS, a token, a URL), it runs inside the installation they already have, the license is permissive, and the repository is being pushed to now rather than abandoned. Everyone else should read the admin-account line first and decide whether they want a model holding that key, because nothing else in the project softens it.

More in Applications

All of Applications →