Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

home-assistant-mcp

MCP server by Coolver Community

Lets AI assistants in Cursor, VS Code and Claude Code analyze and build Home Assistant automations, scripts, dashboards and themes. It is built for Home Assistant users who run the HA Vibecode Agent add-on.

  • Score 73
  • 58 stars
  • 333 a week
  • MIT
  • Updated

Install home-assistant-mcp

Built from the published package, never by AI.

claude mcp add home-assistant-mcp -e HA_AGENT_URL=YOUR_HA_AGENT_URL -e HA_AGENT_KEY=YOUR_HA_AGENT_KEY -- npx -y @coolver/home-assistant-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install home-assistant-mcp in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the home-assistant-mcp block.

About

home-assistant-mcp is an MCP server from Coolver that lets AI assistants in IDEs such as Cursor, VS Code and Claude Code work with a Home Assistant setup. It connects to the HA Vibecode Agent add-on running inside Home Assistant, which gives access to configuration, entities, automations, scripts, helpers, dashboards, themes, logs and HACS. The assistant can analyze your setup, create or refactor automations and scripts, and update Lovelace dashboards and themes.

The MCP server runs on your computer next to your IDE and talks to the agent through a controlled API instead of SSH. Changes are versioned in Git with commit messages that explain what changed and why, and they can be rolled back. The project suits Home Assistant owners who want AI to build automations for them, or who prefer to write their own and use the assistant for testing, deployment and log analysis.

Written from the project's README and checked against it.

Tools it gives your assistant

  • Analyze your setupReads your full configuration, including entities, automations, scripts and helpers.
  • Build intelligenceCreates interconnected automations, helpers, sensors and scripts based on your devices and areas.
  • Dashboards and UICreates and updates Lovelace dashboards, cards, views and themes programmatically.
  • Safe operationsTracks changes in Git, validates configuration before apply and supports rollback.
  • Extend with the communityInstalls and configures HACS and updates HACS repositories and integrations.
  • Monitor and troubleshootAnalyzes Home Assistant logs to help diagnose problems in your setup.

What you need

  • Home Assistant running
  • HA Vibecode Agent v2.2.0+ add-on installed and started
  • Agent Key from the HA Vibecode Agent
  • Node.js v20.0.0 or higher on the computer running your IDE
  • AI-enabled editor such as Cursor, VS Code with GitHub Copilot or Claude Code
SettingNeededWhat it is
HA_AGENT_URLEnvironment variableRequiredURL of your on-board Home Assistant Vibecode Agent add-on (generated after installation of the add-on)
HA_AGENT_KEYEnvironment variable, secretRequiredAccess key generated by the Home Assistant Vibecode Agent add-on after installation

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Install smart climate control for my radiators
  • Analyze my automations and explain how they currently behave
  • Create a Lovelace dashboard for my living room with history graphs

Good to know

  • Node.js must be installed on your computer, not on the Home Assistant server.
  • Requires the HA Vibecode Agent add-on to be running in Home Assistant.
  • The Agent Key is stored in your local IDE config and should not be committed to git.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to home-assistant-mcp

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

home-assistant-mcp: common questions

Does this MCP server work without the Home Assistant add-on?

No. The source says the MCP server works together with the HA Vibecode Agent add-on, which runs inside Home Assistant and provides access to its APIs.

Why does this project not use SSH to connect to Home Assistant?

The author says SSH-only tools force the AI to generate and run a new script on every request, which is unpredictable. This design uses a stable API exposed by the agent inside Home Assistant.

Can the assistant change my setup without review?

The source says changes are validated before they are applied, tracked in Git and can be rolled back. It also says the user decides how much to delegate to AI.

How do I install home-assistant-mcp?

In Claude Code run claude mcp add home-assistant-mcp -e HA_AGENT_URL=YOUR_HA_AGENT_URL -e HA_AGENT_KEY=YOUR_HA_AGENT_KEY -- npx -y @coolver/home-assistant-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is home-assistant-mcp the official server?

home-assistant-mcp is a community project by Coolver, not verified by a company domain.

Is home-assistant-mcp free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is home-assistant-mcp safe to use?

It scores 73 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to home-assistant-mcp?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does home-assistant-mcp work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

home-assistant-mcp Install

Add to stack

Loading.