Configure and automate Home Assistant with Claude, ChatGPT, and other AI assistants.
# Add to your Claude Code skills
git clone https://github.com/homeassistant-ai/ha-mcpha-mcp is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by homeassistant-ai. Configure and automate Home Assistant with Claude, ChatGPT, and other AI assistants. It has 8,211 GitHub stars.
ha-mcp's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/homeassistant-ai/ha-mcp" and add it to your Claude Code skills directory (see the Installation section above).
ha-mcp is primarily written in Python. It is open-source under homeassistant-ai on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ha-mcp against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Breaking change (v7.3.0):
ha_config_set_yamlhas been moved to beta.

The recommended way to run ha-mcp is the HA-MCP integration. It installs into Home Assistant through the built-in Marketplace, runs the full server in-process, and works on every Home Assistant installation type — Home Assistant OS, Supervised, Container, and Core — with full feature parity. It is the easiest setup in every case: setup asks for an administrator access token and how clients may connect.
Add it to Home Assistant via the Marketplace (the preferred install):
Quick start:
Only the current stable Home Assistant release is officially supported. Older releases down to 2026.11.0, the technical floor, may or may not run but are not officially supported. A beta release may be supported, but that is not guaranteed; where it is, a fallback keeps current stable working.
homeassistant-ai/ha-mcp-integration repository? It keeps receiving the same releases. Keep GitHub connected in the Marketplace for its background checks on that custom repository.
Older installed releases may still appear as HA-MCP Custom Component; searching for HA-MCP matches both names.Connect URL. The Configure screen gives you a Home Assistant webhook URL for remote clients — https://<your-ha-domain>/api/webhook/<webhook-id> through Nabu Casa or any reverse proxy already pointed at Home Assistant (locally, http://<ha-host>:8123/api/webhook/<webhook-id>). For clients on the same network, the server is also reachable directly at http://<ha-ip>:9584/private_<random>.
ha_auth to require a Home Assistant account sign-in instead of using the secret URL as the credential.custom_components/ha_mcp_tools/ from this repository into your Home Assistant config/custom_components/ directory, then restart and add the integration as above.The component's second entry type, the File & YAML services entry (HA-MCP File & YAML Tools), is only needed if you enable ha-mcp's opt-in file and YAML editing tools (feature flags, off by default) — skip it otherwise; you can add it later at any time. It works with any server type (in-process, app, Docker, or stdio).
Full in-process server documentation → · Setup Wizard for client-specific config →
Prefer to run ha-mcp as a Home Assistant app (add-on)? On Home Assistant OS and Supervised installs it is a close second — no access token to manage, and it works with Claude Desktop, Claude.ai, ChatGPT, and any other MCP client on your local network or configured for remote access.
Add the repository to your Home Assistant instance:
If that opens the App store without an add-repository dialog (a known Home Assistant issue), add it manually: Settings → Apps → Install app → ⋮ → Repositories, then paste https://github.com/homeassistant-ai/ha-mcp.
Install "Home Assistant MCP Server" from Settings → Apps → Install app and click Start. (Home Assistant 2026.2 renamed "Add-ons" to "Apps"; on older versions this is the Add-on store.)
Open the Logs tab to find your unique MCP URL.
Connect your AI client to that URL — no token or credential setup needed.
⚠️ Supported setups
- One server per Home Assistant. The component's in-process server entry, the app, and the Docker and PyPI HTTP servers are independent ways to run the same server. Running two against one instance is not supported; the component's File & YAML Tools entry next to an external server is fine. Keeping two entries for the same server in one client (for example a local
uvx --python 3.14 ha-mcp@latestentry alongside an app or component URL) is a known cause of connection hangs.- No per-client Home Assistant access. ha-mcp has no accounts of its own: clients that share one server share its Home Assistant access, even when a remote-access sign-in decides who may connect. OAuth mode (
ha-mcp-oauth) lets each user enter their own Home Assistant token instead; it runs on the standalone Docker/PyPI server only and is an advanced beta feature, not recommended for regular use.- Concurrent writes. Several clients writing at once, and parallel calls to the same write tool, are not officially supported, even where the server allows them.
ha_tool_concurrency(HA_TOOL_CONCURRENCY) caps Home Assistant tool calls