Homeassistant Assistant logo

Homeassistant Assistant

Connects AI coding clients to live Home Assistant entities, official docs, ESPHome guidance, and read-only configuration snapshots.

Install Homeassistant Assistant

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://YOUR-HOME-ASSISTANT/api/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

homeassistant-assistant connects Claude Code, GitHub Copilot CLI, and VS Code with GitHub Copilot to a live Home Assistant installation through MCP. It retrieves exposed entities with GetLiveContext, consults official Home Assistant and ESPHome documentation, and supports tasks such as creating automations, scripts, scenes, and ESPHome YAML. Optional read-only SSH snapshots add access to configuration files, logs, and other data that the Home Assistant MCP integration does not expose. Use it when an agent needs to work from the actual devices and configuration in a Home Automation setup rather than inferred entity names or outdated YAML patterns.

Use cases

  • Generate automations from the entities in a Home Assistant installation
  • Troubleshoot configuration problems using live states, logs, and traces
  • Summarize device states by area or function
  • Author ESPHome device YAML from official documentation
  • Review release changes against configured devices

Key features

  • Live entity context through GetLiveContext
  • Official Home Assistant and ESPHome documentation lookup
  • Automation, script, scene, and blueprint YAML guidance
  • Optional read-only SSH configuration snapshots
  • Read-only guard for destructive SSH commands
  • Home Assistant release notes matched to a setup

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

6/6 checks healthy over the last 23d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars5Stargazers on the source repository.
Last commit8d agoMost recent push to the default branch.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Homeassistant Assistant works

What homeassistant-assistant does

homeassistant-assistant provides skills and a safety hook for Claude Code, GitHub Copilot CLI, and VS Code with GitHub Copilot. It is intended for working with an existing Home Assistant installation, not for developing Home Assistant Core.

The entry-point homeassistant skill checks live entity information before routing a request to a more specific skill. Supported workflows include generating Home Assistant automation, script, scene, and blueprint YAML; summarizing current states by area or function; troubleshooting configuration and runtime problems; authoring ESPHome device YAML; and reviewing Home Assistant release changes against the connected setup.

Answers can be grounded in the official Home Assistant and ESPHome documentation. The documentation lookup uses a sitemap to identify the relevant page and cites the section used.

How it works

The agent connects to Home Assistant's Model Context Protocol Server integration at an /api/mcp endpoint. Requests begin with GetLiveContext, which supplies the devices and entities visible to the agent. Home Assistant's Device control tools only include entities exposed through Settings → Voice assistants → Expose.

The project also includes a read-only SSH workflow. When configured, it refreshes files in a local ha-data/ directory, including automations, scripts, scenes, ESPHome YAML, Zigbee2MQTT data, and logs. Configuration snapshots older than 24 hours are refreshed, and troubleshooting refreshes them before debugging. A hook checks shell commands run through Bash or PowerShell and blocks destructive SSH commands aimed at the Home Assistant host.

Setup and configuration

Home Assistant 2026.11 or later is required, with the Model Context Protocol Server integration enabled. Add the integration, expose the entities the agent should access, and use the Home Assistant URL followed by /api/mcp. The connection requires an HTTPS URL matching Home Assistant's configured internal or external URL. Authentication takes place in a browser through Home Assistant OAuth; the setup does not require manually creating or copying a token.

Install the plugin for Claude Code or GitHub Copilot CLI, then add the HTTP MCP server and sign in through the browser. For VS Code, clone the repository, open it as a workspace, and add the HTTP server through MCP: Add Server. Python 3 is required for the SSH read-only guard. SSH snapshots additionally require a passwordless homeassistant host alias in ~/.ssh/config.

Tools and capabilities

  • Retrieve live Home Assistant entities and states through GetLiveContext.
  • Use Home Assistant device-control tools for exposed entities.
  • Produce automation, script, scene, and blueprint YAML with explanations and customization ideas.
  • Inspect states by area or function.
  • Walk through configuration validation, logs, traces, Developer Tools, and debug logging.
  • Create ESPHome device YAML using the esphome.io documentation sitemap.
  • Compare a Home Assistant release with the connected devices and configurations through /ha-release-notes.
  • Refresh optional read-only snapshots over SSH.
  • Block destructive SSH commands from supported shell environments.

Limitations and notes

The MCP connection exposes live entity state, but it does not provide automation, script, or scene definitions, configuration files, or logs. Those require the optional SSH snapshot workflow. Only entities exposed in Home Assistant are visible to the default device-control tools. The SSH workflow depends on the exact homeassistant host alias and is read-only by design. The project targets existing Home Assistant installations rather than Home Assistant Core development.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Homeassistant Assistant

homeassistant-assistant is an MCP server that connects AI agents to Home Assistant through its Model Context Protocol Server integration. Its main tools retrieve live entity context with GetLiveContext and provide device control for exposed entities, while companion skills support automations, troubleshooting, ESPHome YAML, documentation lookup, and release review.

Install the plugin through Claude Code or GitHub Copilot CLI, or clone the repository and open it in VS Code. Add your Home Assistant `/api/mcp` endpoint over HTTPS, then complete the browser-based Home Assistant sign-in. Home Assistant 2026.11 or later with its MCP integration is required.

homeassistant-assistant supports Claude Code, GitHub Copilot CLI, and VS Code with GitHub Copilot. Claude Code and Copilot CLI install the project as a plugin, while VS Code loads the skills and hook from the cloned repository.

Only entities exposed under Home Assistant's Voice assistants settings are visible to the default Device control tools. Open **Settings → Voice assistants → Expose** and expose the entities the agent should use, then verify that the MCP connection points to the correct `/api/mcp` URL.

It can read them through optional SSH snapshots, not through the live MCP entity context. Configure passwordless SSH with a host alias named exactly `homeassistant`; the project then refreshes read-only data in `ha-data/`, including automations, scripts, scenes, configuration files, ESPHome YAML, Zigbee2MQTT data, and logs.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHomeassistant Assistant AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/homeassistant-assistant?style=directory)](https://allmcps.com/mcp/homeassistant-assistant)
HTML Embed
<a href="https://allmcps.com/mcp/homeassistant-assistant"><img src="https://allmcps.com/api/badge/homeassistant-assistant?style=directory" alt="Homeassistant Assistant on AllMCPs" /></a>