homeassistant-ai/ha-mcpPublic

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

AI summary: A Model Context Protocol (MCP) server that connects Home Assistant to AI clients for intelligent smart home management.

Stars
8.2K
+66 today
Forks
486
Watchers
29
Open issues
5
Open PRs
2
Contributors
~116
Commits
3.9K
Branches
66

PythonMITCreated Sep 14, 2025Last push todayLatest release v9.3.0+147 stars this week+2.5K this month

Quick answers

What is ha-mcp?
A Model Context Protocol (MCP) server that connects Home Assistant to AI clients for intelligent smart home management.
What does ha-mcp do?
HA-MCP bridges the gap between AI models and Home Assistant by functioning as a robust MCP server. It provides a seamless in-process server for all Home Assistant installation types (OS, Supervised, Container, and Core) or acts as a standalone application. The server securely exposes smart home controls to clients like Claude Desktop, Claude.ai, or ChatGPT without complex configurations. Advanced features include robust remote access capabilities via webhooks and optional OIDC authentication, transforming a local smart home into an AI-controllable ecosystem.
Who is ha-mcp for?
This repository is designed for smart home enthusiasts and developers wanting to integrate conversational AI with Home Assistant. It requires an existing Home Assistant installation and basic familiarity with AI client configurations.
How do I get started with ha-mcp?
https://homeassistant-ai.github.io/ha-mcp/setup/
How popular is ha-mcp on GitHub?
homeassistant-ai/ha-mcp has 8,218 stars and 486 forks on GitHub, and gained 147 stars in the last 7 days.
What license does ha-mcp use?
homeassistant-ai/ha-mcp is released under the MIT license.

Star history

since Nov 9, 2026
02.5K5K7.5KNov 2026Nov 2026Nov 2026Dec 2026
8.2K stars as of Dec 2, 2026. Measured daily since Nov 9, 2026; GitHub no longer exposes earlier star timestamps.

Update history

2 recorded
  • Dec 2, 2026New release v9.3.0 (previously v9.2.0).
  • Nov 19, 2026New release v9.2.0 (previously v9.1.2).

Contribution activity

commits per day, last 52 weeks
DecJanFebMarAprMayJunJulAugSepOctNovMonWedFri2025-12-07: 15 commits2025-12-08: 12 commits2025-12-09: 3 commits2025-12-10: 1 commit2025-12-11: 2 commits2025-12-12: 0 commits2025-12-13: 2 commits2025-12-14: 4 commits2025-12-15: 4 commits2025-12-16: 2 commits2025-12-17: 10 commits2025-12-18: 6 commits2025-12-19: 0 commits2025-12-20: 1 commit2025-12-21: 6 commits2025-12-22: 18 commits2025-12-23: 15 commits2025-12-24: 3 commits2025-12-25: 0 commits2025-12-26: 0 commits2025-12-27: 0 commits2025-12-28: 3 commits2025-12-29: 2 commits2025-12-30: 0 commits2025-12-31: 0 commits2026-01-01: 0 commits2026-01-02: 4 commits2026-01-03: 3 commits2026-01-04: 6 commits2026-01-05: 3 commits2026-01-06: 8 commits2026-01-07: 5 commits2026-01-08: 0 commits2026-01-09: 4 commits2026-01-10: 3 commits2026-01-11: 8 commits2026-01-12: 8 commits2026-01-13: 0 commits2026-01-14: 0 commits2026-01-15: 2 commits2026-01-16: 0 commits2026-01-17: 12 commits2026-01-18: 4 commits2026-01-19: 5 commits2026-01-20: 6 commits2026-01-21: 2 commits2026-01-22: 0 commits2026-01-23: 5 commits2026-01-24: 15 commits2026-01-25: 7 commits2026-01-26: 10 commits2026-01-27: 2 commits2026-01-28: 0 commits2026-01-29: 0 commits2026-01-30: 0 commits2026-01-31: 5 commits2026-02-01: 4 commits2026-02-02: 1 commit2026-02-03: 5 commits2026-02-04: 6 commits2026-02-05: 1 commit2026-02-06: 4 commits2026-02-07: 2 commits2026-02-08: 14 commits2026-02-09: 2 commits2026-02-10: 6 commits2026-02-11: 5 commits2026-02-12: 5 commits2026-02-13: 9 commits2026-02-14: 6 commits2026-02-15: 1 commit2026-02-16: 4 commits2026-02-17: 5 commits2026-02-18: 0 commits2026-02-19: 2 commits2026-02-20: 3 commits2026-02-21: 2 commits2026-02-22: 4 commits2026-02-23: 0 commits2026-02-24: 0 commits2026-02-25: 0 commits2026-02-26: 0 commits2026-02-27: 5 commits2026-02-28: 1 commit2026-03-01: 6 commits2026-03-02: 0 commits2026-03-03: 0 commits2026-03-04: 7 commits2026-03-05: 1 commit2026-03-06: 8 commits2026-03-07: 7 commits2026-03-08: 2 commits2026-03-09: 4 commits2026-03-10: 5 commits2026-03-11: 5 commits2026-03-12: 9 commits2026-03-13: 3 commits2026-03-14: 7 commits2026-03-15: 1 commit2026-03-16: 6 commits2026-03-17: 1 commit2026-03-18: 4 commits2026-03-19: 0 commits2026-03-20: 1 commit2026-03-21: 9 commits2026-03-22: 1 commit2026-03-23: 5 commits2026-03-24: 3 commits2026-03-25: 5 commits2026-03-26: 1 commit2026-03-27: 2 commits2026-03-28: 6 commits2026-03-29: 2 commits2026-03-30: 7 commits2026-03-31: 1 commit2026-04-01: 7 commits2026-04-02: 0 commits2026-04-03: 5 commits2026-04-04: 3 commits2026-04-05: 11 commits2026-04-06: 11 commits2026-04-07: 9 commits2026-04-08: 11 commits2026-04-09: 3 commits2026-04-10: 8 commits2026-04-11: 14 commits2026-04-12: 5 commits2026-04-13: 15 commits2026-04-14: 4 commits2026-04-15: 6 commits2026-04-16: 5 commits2026-04-17: 13 commits2026-04-18: 4 commits2026-04-19: 4 commits2026-04-20: 6 commits2026-04-21: 4 commits2026-04-22: 6 commits2026-04-23: 3 commits2026-04-24: 14 commits2026-04-25: 4 commits2026-04-26: 3 commits2026-04-27: 7 commits2026-04-28: 1 commit2026-04-29: 3 commits2026-04-30: 0 commits2026-05-01: 0 commits2026-05-02: 14 commits2026-05-03: 20 commits2026-05-04: 17 commits2026-05-05: 13 commits2026-05-06: 16 commits2026-05-07: 9 commits2026-05-08: 19 commits2026-05-09: 20 commits2026-05-10: 13 commits2026-05-11: 38 commits2026-05-12: 13 commits2026-05-13: 8 commits2026-05-14: 2 commits2026-05-15: 21 commits2026-05-16: 10 commits2026-05-17: 22 commits2026-05-18: 31 commits2026-05-19: 12 commits2026-05-20: 10 commits2026-05-21: 18 commits2026-05-22: 18 commits2026-05-23: 14 commits2026-05-24: 11 commits2026-05-25: 14 commits2026-05-26: 6 commits2026-05-27: 7 commits2026-05-28: 14 commits2026-05-29: 29 commits2026-05-30: 23 commits2026-05-31: 16 commits2026-06-01: 16 commits2026-06-02: 10 commits2026-06-03: 5 commits2026-06-04: 5 commits2026-06-05: 5 commits2026-06-06: 3 commits2026-06-07: 7 commits2026-06-08: 29 commits2026-06-09: 6 commits2026-06-10: 5 commits2026-06-11: 4 commits2026-06-12: 4 commits2026-06-13: 5 commits2026-06-14: 23 commits2026-06-15: 26 commits2026-06-16: 15 commits2026-06-17: 4 commits2026-06-18: 6 commits2026-06-19: 7 commits2026-06-20: 2 commits2026-06-21: 1 commit2026-06-22: 8 commits2026-06-23: 5 commits2026-06-24: 5 commits2026-06-25: 3 commits2026-06-26: 2 commits2026-06-27: 7 commits2026-06-28: 6 commits2026-06-29: 8 commits2026-06-30: 5 commits2026-07-01: 3 commits2026-07-02: 9 commits2026-07-03: 4 commits2026-07-04: 10 commits2026-07-05: 6 commits2026-07-06: 15 commits2026-07-07: 10 commits2026-07-08: 4 commits2026-07-09: 8 commits2026-07-10: 22 commits2026-07-11: 21 commits2026-07-12: 24 commits2026-07-13: 24 commits2026-07-14: 8 commits2026-07-15: 17 commits2026-07-16: 10 commits2026-07-17: 28 commits2026-07-18: 50 commits2026-07-19: 23 commits2026-07-20: 11 commits2026-07-21: 4 commits2026-07-22: 10 commits2026-07-23: 9 commits2026-07-24: 12 commits2026-07-25: 11 commits2026-07-26: 22 commits2026-07-27: 11 commits2026-07-28: 13 commits2026-07-29: 12 commits2026-07-30: 6 commits2026-07-31: 15 commits2026-08-01: 4 commits2026-08-02: 6 commits2026-08-03: 13 commits2026-08-04: 19 commits2026-08-05: 10 commits2026-08-06: 8 commits2026-08-07: 17 commits2026-08-08: 16 commits2026-08-09: 7 commits2026-08-10: 13 commits2026-08-11: 8 commits2026-08-12: 4 commits2026-08-13: 0 commits2026-08-14: 14 commits2026-08-15: 5 commits2026-08-16: 6 commits2026-08-17: 6 commits2026-08-18: 15 commits2026-08-19: 5 commits2026-08-20: 9 commits2026-08-21: 9 commits2026-08-22: 4 commits2026-08-23: 6 commits2026-08-24: 13 commits2026-08-25: 9 commits2026-08-26: 13 commits2026-08-27: 9 commits2026-08-28: 23 commits2026-08-29: 12 commits2026-08-30: 6 commits2026-08-31: 16 commits2026-09-01: 12 commits2026-09-02: 7 commits2026-09-03: 4 commits2026-09-04: 15 commits2026-09-05: 9 commits2026-09-06: 16 commits2026-09-07: 24 commits2026-09-08: 15 commits2026-09-09: 8 commits2026-09-10: 1 commit2026-09-11: 13 commits2026-09-12: 4 commits2026-09-13: 8 commits2026-09-14: 14 commits2026-09-15: 20 commits2026-09-16: 8 commits2026-09-17: 5 commits2026-09-18: 14 commits2026-09-19: 7 commits2026-09-20: 4 commits2026-09-21: 11 commits2026-09-22: 6 commits2026-09-23: 8 commits2026-09-24: 6 commits2026-09-25: 15 commits2026-09-26: 11 commits2026-09-27: 10 commits2026-09-28: 18 commits2026-09-29: 11 commits2026-09-30: 9 commits2026-10-01: 17 commits2026-10-02: 3 commits2026-10-03: 44 commits2026-10-04: 30 commits2026-10-05: 30 commits2026-10-06: 22 commits2026-10-07: 9 commits2026-10-08: 18 commits2026-10-09: 14 commits2026-10-10: 6 commits2026-10-11: 15 commits2026-10-12: 1 commit2026-10-13: 17 commits2026-10-14: 8 commits2026-10-15: 8 commits2026-10-16: 5 commits2026-10-17: 19 commits2026-10-18: 4 commits2026-10-19: 24 commits2026-10-20: 15 commits2026-10-21: 9 commits2026-10-22: 1 commit2026-10-23: 10 commits2026-10-24: 27 commits2026-10-25: 9 commits2026-10-26: 20 commits2026-10-27: 20 commits2026-10-28: 26 commits2026-10-29: 10 commits2026-10-30: 19 commits2026-10-31: 15 commits2026-11-01: 22 commits2026-11-02: 20 commits2026-11-03: 22 commits2026-11-04: 12 commits2026-11-05: 5 commits2026-11-06: 21 commits2026-11-07: 9 commits2026-11-08: 19 commits2026-11-09: 30 commits2026-11-10: 23 commits2026-11-11: 28 commits2026-11-12: 21 commits2026-11-13: 16 commits2026-11-14: 24 commits2026-11-15: 24 commits2026-11-16: 18 commits2026-11-17: 23 commits2026-11-18: 6 commits2026-11-19: 13 commits2026-11-20: 12 commits2026-11-21: 20 commits2026-11-22: 8 commits2026-11-23: 29 commits2026-11-24: 12 commits2026-11-25: 9 commits2026-11-26: 13 commits2026-11-27: 36 commits2026-11-28: 31 commits2026-11-29: 28 commits2026-11-30: 29 commits2026-12-01: 1 commit2026-12-02: 2 commits2026-12-03: 0 commits2026-12-04: 0 commits2026-12-05: 0 commits
3,467 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Very active

    3,467 commits in 52 weeks

  • Community-driven

    ~116 contributors

  • Well documented

    High community health score

  • Permissive license

    MIT

  • Continuous integration

    Automated checks passing

  • Repeat trending

    4 trending appearances

What ha-mcp does

HA-MCP bridges the gap between AI models and Home Assistant by functioning as a robust MCP server. It provides a seamless in-process server for all Home Assistant installation types (OS, Supervised, Container, and Core) or acts as a standalone application. The server securely exposes smart home controls to clients like Claude Desktop, Claude.ai, or ChatGPT without complex configurations. Advanced features include robust remote access capabilities via webhooks and optional OIDC authentication, transforming a local smart home into an AI-controllable ecosystem.

This repository is designed for smart home enthusiasts and developers wanting to integrate conversational AI with Home Assistant. It requires an existing Home Assistant installation and basic familiarity with AI client configurations.

  • In-process server integration: Operates directly within Home Assistant across all installation types for a streamlined, token-based setup.
  • Standalone application mode: Runs as a native Home Assistant add-on without requiring explicit credential management for local networks.
  • Comprehensive connectivity: Supports streamable HTTP and local standard input/output connections for diverse deployment needs.
  • Advanced remote access: Utilizes built-in webhooks or integration with OpenAI Tunnels to enable secure access from outside the local network.
  • OIDC authentication: Secures remote server access behind external identity providers like Authentik or Keycloak.

Where teams use it

Control smart home devices

Expose Home Assistant entities to AI clients to enable conversational device control and automation.

Automate local setups

Deploy the server as an add-on to provide zero-configuration AI access for clients on the same local network.

Enable remote AI access

Connect external AI services to a local Home Assistant instance securely using webhook proxies or secure tunnels.

Implement secure authentication

Protect the AI-to-Home Assistant bridge with advanced OIDC identity providers for multi-user setups.

Getting started: https://homeassistant-ai.github.io/ha-mcp/setup/

README

master branch

Breaking change (v7.3.0): ha_config_set_yaml has been moved to beta.

Home Assistant MCP Server Logo

HA-MCP — Manage Home Assistant with AI

87 Tools Release E2E Tests License
Activity Built with FastMCP Python Version GitHub Sponsors Website

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


Demo with Claude Desktop


🚀 Get Started

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):

Open HA-MCP in the Marketplace

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.

  1. Install the HA-MCP integration (requires Home Assistant 2026.11.0 or newer; see compatibility details). Open Settings → Marketplace, accept its first-run warning, and search for HA-MCP, then Install. HA-MCP is in the default catalog, so installing it and receiving its updates do not require connecting GitHub or adding a custom repository. The badge above also opens its catalog page. Already installed from the earlier 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.
  2. Restart Home Assistant.
  3. Decide which administrator account the server acts as. Either create a long-lived access token on your own account (your profile → Security → Long-lived access tokens → Create token; it works from anywhere if it leaks, and the server's changes show under your name), or, safer, create an account just for HA-MCP under Settings → People → Add person with Allow login, Local access only and Administrator on. Never use your own login for the second option.
  4. Go to Settings → Devices & Services → Add Integration, search for HA-MCP and choose HA-MCP Server. Paste your token, or enter the user name and password of the account you made for HA-MCP (HA-MCP creates its token), pick how clients may connect — Remote access through Home Assistant (start with Secret URL, the simplest; Home Assistant sign-in adds a login) and/or Network access: Local network — then click Submit. Both start disabled, so a client on another device needs one of them.
  5. Copy the connect URL from the entry's Configure screen (Settings → Devices & Services → “HA-MCP — Manage Home Assistant with AI” → HA-MCP Server → Configure). A notification confirms the server started and points you there.
  6. Paste that URL into your AI client — done.

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>.

  • Replaces other install methods: the in-process server is a complete, standalone ha-mcp install — it takes the place of the app (add-on), Docker, and standalone Python and Local stdio methods. Run only one; do not run the in-process server alongside another install.
  • Local only? Leave remote access disabled at setup (or turn off Remote access via webhook in the entry options) — no webhook is registered at all, while the direct port and sidebar panel keep working.
  • Settings panel: while the server runs, an admin-only HA-MCP panel appears in the Home Assistant sidebar for managing tools, feature flags, backups, and themes. You can export and import your settings there to move between the mirror and catalog installations or from the app, Docker or a standalone server.
  • Optional authentication: set Authentication mode to ha_auth to require a Home Assistant account sign-in instead of using the secret URL as the credential.
  • Manual install (no Marketplace): copy 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 →

🏠 Home Assistant app (add-on)

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.

  1. Add the repository to your Home Assistant instance:

    Add Repository

    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.

  2. 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.)

  3. Open the Logs tab to find your unique MCP URL.

  4. Connect your AI client to that URL — no token or credential setup needed.

Full app documentation →

⚠️ 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@latest entry 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 across the whole server; it cannot tell clients apart and does not make simultaneous edits safe.

Other install methods

Most installations should use the HA-MCP integration or the app above. These standalone servers run outside Home Assistant, for advanced setups such as a separate host or a server you manage yourself. The Setup Wizard generates the exact client-specific config for each.

Running the server on the same machine as your AI client? Unless another machine needs to connect, bind it to that machine: MCP_HOST=127.0.0.1 for uvx/pip, or -p 127.0.0.1:8086:8086 for Docker. See SECURITY.md.

  • Docker (HTTP server): run ghcr.io/homeassistant-ai/ha-mcp in HTTP mode, pointed at your Home Assistant URL and a long-lived token (an administrator's is recommended; non-admin tokens work with limitations), and connect your client to its secret URL. See the Setup Wizard for the full command and per-client config.
  • PyPI / uvx (HTTP server): run the published ha-mcp package with uvx --python 3.14 --from ha-mcp@latest ha-mcp-web (or run ha-mcp-web after installing with pip) as a streamable-HTTP server the same way. Details in the Setup Wizard.
  • Local stdio (deprecated and unsupported): the AI client launches HA-MCP directly. Existing users can migrate their settings to the integration (recommended) or to a standalone server.
  • OIDC authentication: gate remote access behind an external identity provider (Authentik, Keycloak, Auth0, etc.) instead of a secret URL — all authenticated users share the server's Home Assistant credentials. See OIDC Mode.
🌐 Remote access (Nabu Casa / Webhook Proxy app / OpenAI Tunnel)

Using the HA-MCP custom component? You do not need the Webhook Proxy — the component has its own built-in webhook for remote access (see the Get Started quick start at the top). The proxy is for the app (it can also front another external server via its mcp_server_url option). The OpenAI Tunnel below is different: it applies to any install method when Home Assistant isn't publicly reachable at all (no Nabu Casa or reverse proxy).

Already have Nabu Casa or another reverse proxy pointing at your Home Assistant? The Webhook Proxy app routes MCP traffic through your existing setup — no separate tunnel or port forwarding needed.

  1. Install the MCP Server app (see above) and the Webhook Proxy app from the same store
  2. Start the webhook proxy and restart Home Assistant when prompted
  3. Copy the webhook URL from the app logs:
    MCP Server URL (remote): https://xxxxx.ui.nabu.casa/api/webhook/mcp_xxxxxxxx
    
  4. Configure your AI client with that URL

For other remote access methods (Cloudflare Tunnel, custom reverse proxy), see the Setup Wizard.

ChatGPT / Codex behind a firewall (OpenAI Tunnel). ChatGPT connectors normally require a publicly reachable URL. If you can't (or don't want to) expose one, the community OpenAI Tunnel for HA-MCP integration by @norpol runs OpenAI's tunnel-client inside Home Assistant and connects your local MCP server URL to an OpenAI-hosted tunnel over an outbound-only connection — no port forwarding, reverse proxy, or public URL. Point it at your ha-mcp URL, then attach the ChatGPT connector to the same tunnel ID. See the FAQ entry and #1811.

Webhook proxy documentation →

Demo server (Windows / macOS / Linux)

Try HA-MCP with the public demo Home Assistant before connecting your own. In the Setup Wizard, choose uvx (Python) or Docker, enter https://ha-mcp-demo-server.qc-h.net as the Home Assistant URL and demo as the token, then follow the connection instructions for your client. Ask it to list the demo lights. Demo details

🧙 Setup Wizard for 15+ clients

Claude Code, Gemini CLI, ChatGPT, Open WebUI, VSCode, Cursor, and more.

Open Setup Wizard

Having issues? Check the FAQ & Troubleshooting


💬 What Can You Do With It?

Just talk to Claude naturally. Here are some real examples:

You Say What Happens
"Create an automation that turns on the porch light at sunset" Creates the automation with proper triggers and actions
"Add a weather card to my dashboard" Updates your Lovelace dashboard with the new card
"The motion sensor automation isn't working, debug it" Analyzes execution traces, identifies the issue, suggests fixes
"Make my morning routine automation also turn on the coffee maker" Reads the existing automation, adds the new action, updates it
"Create a script that sets movie mode: dim lights, close blinds, turn on TV" Creates a reusable script with the sequence of actions

Spend less time configuring, more time enjoying your smart home.


✨ Features

Category Capabilities
🔍 Search Fuzzy entity search, deep config search, system overview
🏠 Control Any service, bulk device control, real-time states
🔧 Manage Automations, scripts, helpers, dashboards, areas, zones, groups, calendars, blueprints
📊 Monitor History, statistics, camera snapshots and image entities, automation traces, ZHA devices
💾 System Backup/restore, updates, apps, device registry
🔒 Safety Read Only Mode toggle, per-tool enable/disable, tool security policies (user approval), automatic edit backups

Template helper edit backups capture persisted options through the HA-MCP custom component, using either its Server entry or File & YAML Tools entry. Helper edits, generic integration options edits, and deletion capture the stable config-entry identity and entity ID/name mapping. Capture refuses degraded secret scrubbing. Restoring an existing helper requires a fresh safety backup, removes optional settings absent from the snapshot, and verifies persisted options.

For Template backup listing and bulk deletion, filter by the config-entry ID returned as entity_id by capture. Capture accepts an entity alias; the history filters use the stable config-entry ID. Recreation reports its replacement config-entry ID and saved entity mapping separately.

If the original entry has been deleted, restore recreates the helper and reports its new config-entry ID. The saved entity ID and custom name are restored when available; an occupied entity ID is refused before creation. Older snapshots without entity metadata cannot preserve renamed entity IDs. If a collision or verification failure occurs after creation, the new helper and source backup are retained and the result reports the new entry for inspection. Other entity/device registry settings are not restored. Helper and integration edits through the same server wait until restore finishes; other Home Assistant clients are outside this coordination. Failed or uncertain restores report their outcome and safe refusal reasons; inspect the current helper before retrying.

Complete Tool List (87 tools)
Category Tools
Apps (add-ons) ha_get_app, ha_manage_app
Areas & Floors ha_list_floors_areas, ha_remove_area_or_floor, ha_set_area_or_floor
Assist ha_manage_pipeline
Automations ha_config_get_automation, ha_config_remove_automation, ha_config_set_automation
Blueprints ha_manage_blueprints
Calendar ha_config_get_calendar_events, ha_config_remove_calendar_event, ha_config_set_calendar_event
Camera ha_get_camera_image
Dashboard ha_get_dashboard_screenshot (beta)
Dashboards ha_config_delete_dashboard_resource, ha_config_delete_dashboard, ha_config_get_dashboard, ha_config_list_dashboard_resources, ha_config_set_dashboard_resource, ha_config_set_dashboard
Developer ha_dev_manage_server, ha_dev_manage_settings
Device Registry ha_get_device, ha_remove_device, ha_set_device
Energy ha_manage_energy_prefs
Entity Registry ha_get_entity, ha_remove_entity, ha_set_entity
Files ha_delete_file (beta), ha_list_files (beta), ha_read_file (beta), ha_write_file (beta)
Groups ha_config_list_groups, ha_config_remove_group, ha_config_set_group
HACS ha_get_hacs_info, ha_manage_hacs
Helper Entities ha_config_list_helpers, ha_config_set_helper, ha_remove_helpers_integrations
History & Statistics ha_get_automation_traces, ha_get_history, ha_get_logs, ha_manage_logs
Integrations ha_get_integration, ha_get_system_health, ha_set_integration
Labels & Categories ha_config_get_category, ha_config_get_label, ha_config_remove_category, ha_config_remove_label, ha_config_set_category, ha_config_set_label
Matter ha_manage_radio
Scenes ha_config_get_scene, ha_config_remove_scene, ha_config_set_scene
Scripts ha_config_get_script, ha_config_remove_script, ha_config_set_script
Search & Discovery ha_get_overview, ha_get_state, ha_search
Service & Device Control ha_bulk_control, ha_call_event, ha_call_service, ha_get_operation_status, ha_list_services
System ha_config_get_yaml (beta), ha_config_set_yaml (beta), ha_manage_backup, ha_manage_custom_tool (beta), ha_manage_security_policy, ha_manage_theme, ha_manage_updates, ha_reload_core, ha_restart
Todo Lists ha_get_todo, ha_remove_todo_item, ha_set_todo_item
Utilities ha_eval_template, ha_report_issue
Zones ha_get_zone, ha_remove_zone, ha_set_zone

When calling a service with ha_call_service, pass its domain and service name separately, for example domain="light" and service="turn_on". Use the exact lowercase names returned by ha_list_services, including any hyphens.

Z-Wave configuration values can be read through ha_manage_radio with action="get_config_params" or action="get_config_param", even when their configuration entities are disabled or absent. Reads use the Z-Wave JS cache by default; a single full root parameter can explicitly request a device read. See parameter reads, freshness, and examples.


🆚 ha-mcp vs. Home Assistant's built-in MCP Server

Home Assistant ships its own MCP Server integration. It is built on the Assist pipeline, so a connected MCP client can read and control the entities you have exposed to Assist and run the intents Assist understands — handy for voice-style control of already-exposed devices.

ha-mcp is a standalone server built for configuring, building, and debugging your smart home, not just controlling it. On top of device control, it adds capabilities the built-in integration does not have:

Capability Built-in MCP Server ha-mcp
Control exposed devices, query states Yes Yes
Entity scope Only entities exposed to Assist Everything in Home Assistant
Create / edit automations, scripts, scenes No Yes
Build & edit dashboards No Yes
Debug automations from traces, read history & logs No Yes
Manage helpers, areas, zones, labels, groups No Yes
Backups, apps, Marketplace, device & entity registry No Yes

Rule of thumb: Use the built-in integration for voice-style control of devices you have already exposed; use ha-mcp when you want an AI assistant that can also build and maintain your Home Assistant setup.


🔌 Custom Component (ha_mcp_tools) — File & YAML Services

The HA-MCP integration also powers a set of privileged tools that standard Home Assistant APIs can't provide: file system access and YAML config editing. (The same component runs the full server in-process — that's the recommended install in the Get Started section at the top.) Its File & YAML services entry (HA-MCP File & YAML Tools) enables the tools below.

Tools that require the component:

Tool Description
ha_config_set_yaml (beta) Safely add, replace, or remove top-level YAML keys in configuration.yaml and package files (automatic backup, validation, and config check)
ha_list_files (beta) List files in allowed directories
ha_read_file (beta) Read files from allowed paths (config YAML, logs, and allowed directories)
ha_write_file (beta) Write files to allowed directories
ha_delete_file (beta) Delete files from allowed directories

Template helper edit backups and restores also require the component, using either its Server entry or File & YAML Tools entry. These five tools return an error with installation instructions if the component is missing.

A server that runs outside Home Assistant (the app, Docker or pip) needs the component of its own release for these tools. After a server update, update HA-MCP in the Marketplace and restart Home Assistant; until then they return an error that says so. The in-process server always runs the release its component ships with.

These tools also require beta feature flags. See Beta Features for how to enable them — including the ENABLE_BETA_FEATURES master flag, which must be on before the filesystem/YAML sub-flags take effect.

Install

Install the HA-MCP File & YAML Tools entry from the same HA-MCP integration:

Open your Home Assistant instance and open a repository in the Marketplace.

Requires Home Assistant 2026.11.0 or newer; see compatibility details for manual installs. Open Marketplace, accept the first-run warning, search for HA-MCP, and Install. The main repository is in the default catalog. Or copy custom_components/ha_mcp_tools/ from this repository into your HA config/custom_components/ directory.

After installing, restart Home Assistant, then open Settings > Devices & Services > Add Integration, search for HA-MCP, and add the HA-MCP File & YAML Tools entry.

To run the full ha-mcp server in-process through this same component, see the Get Started section at the top and the full in-process server documentation →.


🧠 Better Results with Agent Skills

This server gives your AI agent tools to control Home Assistant. For better configurations, pair it with Home Assistant Agent Skills — domain knowledge that teaches the agent Home Assistant best practices.

An MCP server can create automations, helpers, and dashboards, but it has no opinion on how to structure them. Without domain knowledge, agents tend to over-rely on templates, pick the wrong helper type, or produce automations that are hard to maintain. The skills fill that gap: native constructs over Jinja2 workarounds, correct helper selection, safe refactoring workflows, and proper use of automation modes.

Bundled Skills (built-in)

Skills from homeassistant-ai/skills are bundled and served as MCP resources via skill:// URIs. Any MCP client that supports resources can discover them automatically — no manual installation needed. Clients that support the MCP Skills extension (protocol 2026-07-28) can also list and fetch them with skills/list and skills/get. For tool-only clients (claude.ai, etc.), the best-practices skill is reachable through the ha_get_skill_guide tool: call it with no arguments to read SKILL.md, or with file set to a path SKILL.md links to read that reference file. Resources are not auto-injected into context — clients must explicitly request them, so idle context cost is just the metadata listing.

ha_get_skill_guide is a mandatory tool: the catalog always exposes it (it can't be disabled) so tool-only clients never see a silently missing skill surface.

Skills can still be installed manually for clients that prefer local skill files — see the skills repo for instructions.


🔍 Tool Discovery for AI Agents

By default, the full tool catalog (~87 tools) is listed to the client through the standard MCP tools/list response. Clients with deferred / on-demand tool loading (claude.ai, Claude Desktop, Claude Code) handle that fine — tools are pulled into context only when needed, so idle context cost is near-zero.

For setups without deferred tool support — models like Claude Haiku, Gemini, OpenAI-compatible local models and smaller open-weights models, or clients that inline all tool schemas regardless of model (e.g. GitHub Copilot CLI) — listing the full tool catalog up front adds a lot of idle context and can overwhelm smaller models. To address that, the server ships with a search-based discovery mode built on top of FastMCP's BM25 search transform.

Smaller or local LLMs (Ollama, etc.)

If your model can't see the tools or your Home Assistant, it may be getting handed the whole tool catalog at once and struggling with it. It's recommended to try the following to see if it helps:

  • Enable tool search (ENABLE_TOOL_SEARCH=true, or the app option below). Instead of listing every tool up front, the server defers the catalog behind a search interface so the model pulls in only the tools it needs, when it needs them.
  • Raise the model's context window above the default. Local runtimes ship with small defaults (Ollama's num_ctx is one example) that can't hold a large tool set plus the conversation — increase it well beyond the default.

Enable search-based discovery

Set ENABLE_TOOL_SEARCH=true (or toggle the option in the HA app). The full catalog is replaced in the tool list with four entry points plus a small set of always-visible "pinned" tools (ha_search, ha_get_overview, ha_report_issue, etc.). All tools remain callable directly by name once discovered:

Tool Purpose
ha_search_tools BM25 English-keyword search across all tools, pinned ones included. A hidden tool comes back compact: name, one-line description (the docstring's first paragraph), a one-line params list (types, enum values, required) and the proxy that executes it. ha_search_tools(tools=[...]) returns the full definition (description, input schema and annotations) of the named tools, the second hop before a call. A pinned tool returns a name-only stub (pinned: true) pointing back at the tool list, and does not use up a result slot.
ha_call_read_tool Execute a readOnlyHint tool by name. Safe — clients can auto-approve.
ha_call_write_tool Execute a write tool that creates or updates data.
ha_call_delete_tool Execute a tool that removes / deletes data.

The proxy split lets MCP clients apply different permission policies per category (e.g. auto-approve reads, prompt for writes, confirm deletes) without parsing tool docstrings.

A ha_manage_* tool combines several operations, so it is reachable from more than one proxy: ha_call_write_tool and ha_call_delete_tool run the whole tool, while ha_call_read_tool runs only the read actions Read Only Mode approves (the same per-call verdict), so a manage tool with no approved read actions is not reachable there. Search results list each proxy the tool can be reached through. In Read Only Mode only ha_call_read_tool is listed; the other two still answer a client that holds them in a cached tool list, and any write they carry gets the Read Only Mode error rather than Unknown tool.

Setting Default Description
ENABLE_TOOL_SEARCH false Replace full tool catalog with search-based discovery (tools deferred behind on-demand search).
TOOL_SEARCH_MAX_RESULTS 5 Max hidden tools returned per ha_search_tools call (range 2–10); a pinned tool that ranks inside that top count is added as a name-only stub on top of it.
PINNED_TOOLS empty Comma-separated tool names to keep always visible. The web settings UI is the primary way to manage this.

When to enable

  • Claude Haiku, OpenAI-compatible local models, Gemini, or any model without native deferred tool support — large idle-context savings. The same applies to clients that inline all tool schemas regardless of model (e.g. GitHub Copilot CLI, even when running Claude Sonnet/Opus).
  • MCP clients that cap total tool count (some cap at 100) — surfaces a minimal set (~10 tools) instead of 87.
  • Cost-sensitive deployments — fewer idle tokens per turn.

Leave it off in clients with deferred tool loading (claude.ai, Claude Desktop, Claude Code); the full catalog has no idle cost there, direct calls skip the search step, and the client's built-in tool search is the better choice — there is no benefit to running ha-mcp's on top of it. Whether tools are deferred depends on the client and model combination: the same model can behave differently per client — GitHub Copilot CLI running Claude Sonnet/Opus inlines the full catalog and still benefits from tool search here. Some Codex models and ChatGPT include deferred tools too — check your client/model directly to confirm its features so you don't leave this enabled unnecessarily.

🔄 Refresh your client's tool list after changing this (or any) setting. Toggling ENABLE_TOOL_SEARCH (or changing pinned/disabled tools, Read Only Mode, etc.) changes the tools the server exposes, but your AI client keeps serving its cached tool list until it re-fetches. Restarting the app or Home Assistant does not refresh the client — reconnect or refresh the MCP server in your client (e.g. in ChatGPT open Settings, then the plugin settings, select the connector and click Refresh tools; disconnect and reconnect a Claude Desktop custom connector; refresh the tools list of a claude.ai connector; or quit and reopen Claude Desktop for a server in claude_desktop_config.json), then start a new conversation. If you skip this, newly enabled tools won't appear in the client at all, and tools the server no longer exposes still show as available but fail when called (Unknown tool, or the Read Only Mode error for a write tool that mode hides). ChatGPT sometimes keeps serving the stale list even after the connector is removed and re-added under the same name — if tools are still missing after a refresh, delete the connector and create a new one with a different name. The FAQ has the full steps.

For the HA app, the same option is documented in homeassistant-addon/DOCS.md along with the in-app settings UI for fine-grained tool enable/disable/pin.

Per-URL tool catalog

ENABLE_TOOL_SEARCH defaults to off, and it sets the catalog of the main endpoint only. When several clients share one server, give each the URL for the catalog it needs: a client with built-in tool search keeps the full list, a small-context client gets the search tools. The suffixes are fixed overrides that ignore ENABLE_TOOL_SEARCH:

Main endpoint (follows ENABLE_TOOL_SEARCH):  https://example.com/private_your_secret
Always the full catalog:                     https://example.com/private_your_secret/catalog/full
Always the search tools:                     https://example.com/private_your_secret/catalog/search
Read-only, search tools:                     https://example.com/private_your_secret/readonly/catalog/search

Each URL keeps its catalog for the life of the connection, so a client picks its catalog only by the URL it is given. Reconnect the client after changing its URL so it refreshes its tool list. Home Assistant webhook URLs accept the same suffixes, alone or after /readonly: https://your-ha.example/api/webhook/<webhook-id>/catalog/search. This needs an embedded integration or Webhook Proxy app (add-on) release that serves them, with a matching MCP server; an older one returns 404 for a suffixed URL. Stdio runs one client per server process, so set ENABLE_TOOL_SEARCH in that client's server environment instead.


Read-only HTTP connections

Append /readonly to the server's HTTP MCP endpoint to restrict that connection to the existing Read Only Mode while other clients keep normal access:

Normal:     https://example.com/private_your_secret
Read-only:  https://example.com/private_your_secret/readonly

OAuth and OIDC connections use the same login/provider: for example, https://example.com/mcp/readonly. No additional secret or server is required. Read-only connections hide write tools and block write calls, including calls through cached tools or search proxies. The global Read Only Mode setting still restricts both endpoints when enabled. Reconnect the client after changing its URL so it refreshes its tool list.

This is a connection mode for automated agents, not a separate permission on the credential: the same credentials still work at the normal endpoint. Home Assistant webhook URLs also accept the suffix: https://your-ha.example/api/webhook/<webhook-id>/readonly. This requires the updated embedded integration or Webhook Proxy dev app (add-on), together with the updated MCP server.

🧪 Dev Channel

Want early access to new features and fixes? Dev releases (.devN) are published on every push to master.

Dev Channel Documentation — Instructions for pip/uvx, Docker, and Home Assistant app.


🤝 Contributing

For development setup, testing instructions, and contribution guidelines, see CONTRIBUTING.md.

For comprehensive testing documentation, see tests/README.md.


🔒 Privacy

Ha-mcp runs locally on your machine. Your smart home data stays on your network.

  • No telemetry today — anonymous usage stats are a planned future feature (as of June 2026); when it lands it will follow your Home Assistant analytics/telemetry setting (which you can override), announced prominently in the release notes and the web Settings UI at least one month beforehand
  • No personal data collection — we never collect entity names, configs, or device data
  • User-controlled bug reports — only sent with your explicit approval

For full details, see our Privacy Policy.


📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


🙏 Acknowledgments

  • Home Assistant: Amazing smart home platform (!)
  • FastMCP: Excellent MCP server framework
  • Model Context Protocol: Standardized AI-application communication
  • Claude Code: AI-powered coding assistant
  • PolicyLayer: Argument-path predicate DSL shape (args.domain in [...] with eq/in/regex/contains/exists/...) inspired the per-tool approval rule schema (#966).

👥 Contributors

Maintainers

Contributors

  • @bigeric08 — Explicit mcp dependency for protocol version 2025-11-25 support.
  • @airlabno — Support for data field in schedule time blocks.
  • @ryphez — Codex Desktop UI MCP quick setup guide.
  • @Danm72 — Entity registry tools (ha_set_entity, ha_get_entity) for managing entity properties.
  • @Raygooo — SOCKS proxy support.
  • @cj-elevate — Integration & entity management tools (enable/disable/delete); person/zone/tag config store routing.
  • @maxperron — Beta testing.
  • @kingbear2 — Windows UV setup guide.
  • @konradwalsh — Financial support via GitHub Sponsors. Thank you! ☕
  • @knowald — Area resolution via device registry in ha_get_system_overview for entities assigned through their parent device. Financial support via GitHub Sponsors. Thank you! ☕
  • @zorrobyte — Per-client WebSocket credentials in OAuth mode, fixing WebSocket tool failures.
  • @deanbenson — Fixed ha_deep_search timeout on large Home Assistant instances with many automations.
  • @saphid — Config entry options flow tools (initial design, #590).
  • @adraguidev — Fix menu-based config entry flows for group helpers (#647).
  • @transportrefer — Integration options inspection (ha_get_integration schema support, #689).
  • @teh-hippo — Fix blueprint import missing save step.
  • @smenzer — Documentation fix.
  • @The-Greg-O — REST API for config entry deletion.
  • @restriction — Responsible disclosure: python_transform sandbox missing call target validation.
  • @lcrostarosa — Diagnostic and health monitoring tools concept (#675), inspiring system/error logs, repairs, and ZHA radio metrics integration.
  • @roysha1 — Copilot CLI support in the installation wizard; replaced placeholder logo SVGs with real brand icons on the documentation site.
  • @teancom — Fix add-on stats endpoint (/addons/{slug}/stats).
  • @TomasDJo — Category support for automations, scripts, and scenes.
  • @bzelch — python_transform support for automations and scripts.
  • @gcormier — Windows installer improvements: removed unused variable and fixed terminal closing after install.
  • @ekobres — Feature flags for HAMCP_ENABLE_FILESYSTEM_TOOLS and the (since removed) HAMCP_ENABLE_CUSTOM_COMPONENT_INTEGRATION in the app config, with beta tagging in source and docs.
  • @w3z315 — Financial support via GitHub Sponsors. Thank you! ☕
  • @griffinmartin — Added OpenCode (by Anomaly) as a selectable AI client in the setup wizard, with both stdio and streamable HTTP support.
  • @hhopke — Fixed app (add-on) API calls to route through HA Core ingress proxy instead of direct container connections, fixing ha_manage_addon (now ha_manage_app) proxy mode on app installs.
  • @tomwilkie — JMESPath middleware exploration (#1147) whose review-time token-measurement data informed the design of #1199 and #1225.
  • @SealKan — fields=/attribute_keys= projection on six read-heavy tools (#1225), ha_call_event tool (#1239), dashboards-list helper refactor (#1207), for:-field duration-math detector in the best-practice checker (#1264), persistent DCR OAuth client registrations across restarts (#1265), and issue-triage prompt token-budgeting (#1522).
  • @KarelTestSpecial — Cached YAML instance to prevent CPU spikes during bulk edits (#1371).
  • @corgan2222 — HA brand assets for custom integration (#1317).
  • @drseanwing — Progress emission via FastMCP Context in long-running tools (#1124); tool-discovery / categorized-search docs (#1123).
  • @fnordpig — Config subentry support (#1393) and Assist pipeline management tool (#1392).
  • @paul43210 — array_patch mode in ha_manage_app for atomic GET-modify-POST (#1063).
  • @L1AD — Filed #966 proposing tool security policies; pointed to PolicyLayer's MCP-security work as prior art that inspired the predicate DSL shape.
  • @nightcityblade — Updated stale Home Assistant Advanced Mode references after HA 2026.6 made formerly advanced options available by default (#1533).
  • @emmelutzer — Financial support via GitHub Sponsors. Thank you! ☕
  • @pkkr — ha_knx_get_project tool exposing KNX group addresses from an uploaded ETS project file.
  • @cbowns — Fixed inconsistent hyphen in setup.astro Codex CLI docs.
  • @Shaan-alpha — Extended ha_restart known-good error patterns to cover 502/503 responses from reverse proxies.
  • @rebelancap — Fixed UTC-to-local timezone conversion in add_timezone_metadata.
  • @saevras — Fixed blueprint import E2E test to use local URL instead of host-to-container networking.
  • @jasonjhofmann — Recurring calendar events via rrule support in ha_config_set_calendar_event.
  • @vpciii — Coerce JSON-encoded strings on dict/list tool params.
  • @pburtchaell — Financial support via GitHub Sponsors. Thank you! ☕
  • @norpol — Built the OpenAI Tunnel for HA-MCP companion integration, connecting ChatGPT to a firewalled Home Assistant MCP server (#1811).

💬 Community

  • GitHub Discussions — Ask questions, share ideas
  • Issue Tracker — Report bugs, request features, or suggest tool behavior improvements. Bug reports need the report the ha_report_issue tool generates, or a reason why there is none; without either they are closed after 24 hours.

Star History

Star history chart for homeassistant-ai/ha-mcp
View on GitHub

Recent activity

commits and pull requests

Recent open issues

view all

Discussions

all 88

Releases and announcements

158 total
  1. Dev Build 9.4.0.dev3873v9.4.0.dev3873Dec 2, 2026pre-release

    ## HA-MCP — Manage Home Assistant with AI 9.4.0 (development pre-release) Snapshot of the custom component and its ha-mcp server from homeassistant-ai/ha-mcp@e055e1e, ahead of the 9.4.0 stable release. Installs ha-mcp-dev==9.4.0.dev3873. You receive these builds because the Marketplace **Pre-release** switch is enabled for this repository; turn it off to return to stable releases. Changes since the previous pre-release: - chore(internal): machine-translate locale updates ### Other installs **Docker (dev channel):** `docker pull ghcr.io/homeassistant-ai/ha-mcp:dev` **PyPI (dev channel):** `pip install ha-mcp-dev`

  2. Dev Build 9.4.0.dev3872v9.4.0.dev3872Dec 1, 2026pre-release

    ## HA-MCP — Manage Home Assistant with AI 9.4.0 (development pre-release) Snapshot of the custom component and its ha-mcp server from homeassistant-ai/ha-mcp@535f649, ahead of the 9.4.0 stable release. Installs ha-mcp-dev==9.4.0.dev3872. You receive these builds because the Marketplace **Pre-release** switch is enabled for this repository; turn it off to return to stable releases. Changes since the previous pre-release: - Clarify testing procedures in PR template (#3281) ### Other installs **Docker (dev channel):** `docker pull ghcr.io/homeassistant-ai/ha-mcp:dev` **PyPI (dev channel):** `pip install ha-mcp-dev`

  3. Dev Build 9.4.0.dev3871v9.4.0.dev3871Nov 30, 2026pre-release

    ## HA-MCP — Manage Home Assistant with AI 9.4.0 (development pre-release) Snapshot of the custom component and its ha-mcp server from homeassistant-ai/ha-mcp@f8d3844, ahead of the 9.4.0 stable release. Installs ha-mcp-dev==9.4.0.dev3871. You receive these builds because the Marketplace **Pre-release** switch is enabled for this repository; turn it off to return to stable releases. Changes since the previous pre-release: - test: scan only this checkout and run unit tests with worksteal (#3279) ### Other installs **Docker (dev channel):** `docker pull ghcr.io/homeassistant-ai/ha-mcp:dev` **PyPI (dev channel):** `pip install ha-mcp-dev`

  4. Dev Build 9.4.0.dev3870v9.4.0.dev3870Nov 30, 2026pre-release

    ## HA-MCP — Manage Home Assistant with AI 9.4.0 (development pre-release) Snapshot of the custom component and its ha-mcp server from homeassistant-ai/ha-mcp@a3edcae, ahead of the 9.4.0 stable release. Installs ha-mcp-dev==9.4.0.dev3870. You receive these builds because the Marketplace **Pre-release** switch is enabled for this repository; turn it off to return to stable releases. Changes since the previous pre-release: - ci: move the ARM64 lanes and mirror job off Ubuntu 24.04 (#3278) ### Other installs **Docker (dev channel):** `docker pull ghcr.io/homeassistant-ai/ha-mcp:dev` **PyPI (dev channel):** `pip install ha-mcp-dev`

  5. Dev Build 9.4.0.dev3868v9.4.0.dev3868Nov 30, 2026pre-release

    ## HA-MCP — Manage Home Assistant with AI 9.4.0 (development pre-release) Snapshot of the custom component and its ha-mcp server from homeassistant-ai/ha-mcp@e734e05, ahead of the 9.4.0 stable release. Installs ha-mcp-dev==9.4.0.dev3868. You receive these builds because the Marketplace **Pre-release** switch is enabled for this repository; turn it off to return to stable releases. Changes since the previous pre-release: - test: fail the scan on the server-answer rule; trim tests/AGENTS.md (#3264) ### Other installs **Docker (dev channel):** `docker pull ghcr.io/homeassistant-ai/ha-mcp:dev` **PyPI (dev channel):** `pip install ha-mcp-dev`

Code frequency

additions and deletions
+227.1K-227.1KWeek of 2025-12-07: +5,651 linesWeek of 2025-12-07: -2,225 linesWeek of 2025-12-14: +1,534 linesWeek of 2025-12-14: -193 linesWeek of 2025-12-21: +2,228 linesWeek of 2025-12-21: -3,244 linesWeek of 2025-12-28: +466 linesWeek of 2025-12-28: -473 linesWeek of 2026-01-04: +4,318 linesWeek of 2026-01-04: -370 linesWeek of 2026-01-11: +4,935 linesWeek of 2026-01-11: -3,050 linesWeek of 2026-01-18: +4,926 linesWeek of 2026-01-18: -1,899 linesWeek of 2026-01-25: +3,644 linesWeek of 2026-01-25: -3,615 linesWeek of 2026-02-01: +3,806 linesWeek of 2026-02-01: -2,475 linesWeek of 2026-02-08: +8,800 linesWeek of 2026-02-08: -3,585 linesWeek of 2026-02-15: +4,565 linesWeek of 2026-02-15: -647 linesWeek of 2026-02-22: +3,019 linesWeek of 2026-02-22: -2,870 linesWeek of 2026-03-01: +4,167 linesWeek of 2026-03-01: -535 linesWeek of 2026-03-08: +5,472 linesWeek of 2026-03-08: -1,973 linesWeek of 2026-03-15: +2,688 linesWeek of 2026-03-15: -192 linesWeek of 2026-03-22: +4,013 linesWeek of 2026-03-22: -2,839 linesWeek of 2026-03-29: +13,472 linesWeek of 2026-03-29: -4,223 linesWeek of 2026-04-05: +14,416 linesWeek of 2026-04-05: -9,343 linesWeek of 2026-04-12: +6,188 linesWeek of 2026-04-12: -1,075 linesWeek of 2026-04-19: +7,902 linesWeek of 2026-04-19: -2,279 linesWeek of 2026-04-26: +5,895 linesWeek of 2026-04-26: -736 linesWeek of 2026-05-03: +37,961 linesWeek of 2026-05-03: -7,062 linesWeek of 2026-05-10: +20,136 linesWeek of 2026-05-10: -3,256 linesWeek of 2026-05-17: +43,142 linesWeek of 2026-05-17: -6,349 linesWeek of 2026-05-24: +39,528 linesWeek of 2026-05-24: -8,739 linesWeek of 2026-05-31: +18,340 linesWeek of 2026-05-31: -8,248 linesWeek of 2026-06-07: +22,611 linesWeek of 2026-06-07: -4,306 linesWeek of 2026-06-14: +23,791 linesWeek of 2026-06-14: -4,003 linesWeek of 2026-06-21: +14,101 linesWeek of 2026-06-21: -10,585 linesWeek of 2026-06-28: +20,610 linesWeek of 2026-06-28: -1,251 linesWeek of 2026-07-05: +35,141 linesWeek of 2026-07-05: -4,968 linesWeek of 2026-07-12: +102,131 linesWeek of 2026-07-12: -20,556 linesWeek of 2026-07-19: +25,557 linesWeek of 2026-07-19: -6,220 linesWeek of 2026-07-26: +30,208 linesWeek of 2026-07-26: -8,574 linesWeek of 2026-08-02: +51,008 linesWeek of 2026-08-02: -7,118 linesWeek of 2026-08-09: +20,569 linesWeek of 2026-08-09: -4,563 linesWeek of 2026-08-16: +29,002 linesWeek of 2026-08-16: -4,918 linesWeek of 2026-08-23: +41,729 linesWeek of 2026-08-23: -7,765 linesWeek of 2026-08-30: +26,782 linesWeek of 2026-08-30: -4,816 linesWeek of 2026-09-06: +26,819 linesWeek of 2026-09-06: -3,851 linesWeek of 2026-09-13: +134,792 linesWeek of 2026-09-13: -4,692 linesWeek of 2026-09-20: +21,170 linesWeek of 2026-09-20: -5,101 linesWeek of 2026-09-27: +52,395 linesWeek of 2026-09-27: -35,782 linesWeek of 2026-10-04: +48,063 linesWeek of 2026-10-04: -25,313 linesWeek of 2026-10-11: +18,735 linesWeek of 2026-10-11: -8,808 linesWeek of 2026-10-18: +22,449 linesWeek of 2026-10-18: -12,466 linesWeek of 2026-10-25: +36,711 linesWeek of 2026-10-25: -15,510 linesWeek of 2026-11-01: +35,253 linesWeek of 2026-11-01: -19,344 linesWeek of 2026-11-08: +124,297 linesWeek of 2026-11-08: -113,749 linesWeek of 2026-11-15: +191,538 linesWeek of 2026-11-15: -227,061 linesWeek of 2026-11-22: +66,402 linesWeek of 2026-11-22: -16,738 linesWeek of 2026-11-29: +15,035 linesWeek of 2026-11-29: -8,227 linesDec 7, 2025Nov 29, 2026
+1.5M lines added, -667.8K removed over the last year.

Commits per week

last 52 weeks
1610Week of 2025-12-07: 35 commitsWeek of 2025-12-14: 27 commitsWeek of 2025-12-21: 42 commitsWeek of 2025-12-28: 12 commitsWeek of 2026-01-04: 29 commitsWeek of 2026-01-11: 30 commitsWeek of 2026-01-18: 37 commitsWeek of 2026-01-25: 24 commitsWeek of 2026-02-01: 23 commitsWeek of 2026-02-08: 47 commitsWeek of 2026-02-15: 17 commitsWeek of 2026-02-22: 10 commitsWeek of 2026-03-01: 29 commitsWeek of 2026-03-08: 35 commitsWeek of 2026-03-15: 22 commitsWeek of 2026-03-22: 23 commitsWeek of 2026-03-29: 25 commitsWeek of 2026-04-05: 67 commitsWeek of 2026-04-12: 52 commitsWeek of 2026-04-19: 41 commitsWeek of 2026-04-26: 28 commitsWeek of 2026-05-03: 114 commitsWeek of 2026-05-10: 105 commitsWeek of 2026-05-17: 125 commitsWeek of 2026-05-24: 104 commitsWeek of 2026-05-31: 60 commitsWeek of 2026-06-07: 60 commitsWeek of 2026-06-14: 83 commitsWeek of 2026-06-21: 31 commitsWeek of 2026-06-28: 45 commitsWeek of 2026-07-05: 86 commitsWeek of 2026-07-12: 161 commitsWeek of 2026-07-19: 80 commitsWeek of 2026-07-26: 83 commitsWeek of 2026-08-02: 89 commitsWeek of 2026-08-09: 51 commitsWeek of 2026-08-16: 54 commitsWeek of 2026-08-23: 85 commitsWeek of 2026-08-30: 69 commitsWeek of 2026-09-06: 81 commitsWeek of 2026-09-13: 76 commitsWeek of 2026-09-20: 61 commitsWeek of 2026-09-27: 112 commitsWeek of 2026-10-04: 129 commitsWeek of 2026-10-11: 73 commitsWeek of 2026-10-18: 90 commitsWeek of 2026-10-25: 119 commitsWeek of 2026-11-01: 111 commitsWeek of 2026-11-08: 161 commitsWeek of 2026-11-15: 116 commitsWeek of 2026-11-22: 138 commitsWeek of 2026-11-29: 60 commitsDec 7, 2025Nov 29, 2026
3.5K commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 32 commitsSun 1:00 — 20 commitsSun 2:00 — 12 commitsSun 3:00 — 4 commitsSun 4:00 — 3 commitsSun 5:00 — 8 commitsSun 6:00 — 11 commitsSun 7:00 — 11 commitsSun 8:00 — 12 commitsSun 9:00 — 23 commitsSun 10:00 — 37 commitsSun 11:00 — 29 commitsSun 12:00 — 28 commitsSun 13:00 — 21 commitsSun 14:00 — 28 commitsSun 15:00 — 32 commitsSun 16:00 — 27 commitsSun 17:00 — 34 commitsSun 18:00 — 24 commitsSun 19:00 — 43 commitsSun 20:00 — 45 commitsSun 21:00 — 24 commitsSun 22:00 — 26 commitsSun 23:00 — 46 commitsMon 0:00 — 16 commitsMon 1:00 — 17 commitsMon 2:00 — 9 commitsMon 3:00 — 12 commitsMon 4:00 — 13 commitsMon 5:00 — 20 commitsMon 6:00 — 32 commitsMon 7:00 — 21 commitsMon 8:00 — 19 commitsMon 9:00 — 70 commitsMon 10:00 — 153 commitsMon 11:00 — 43 commitsMon 12:00 — 43 commitsMon 13:00 — 39 commitsMon 14:00 — 22 commitsMon 15:00 — 36 commitsMon 16:00 — 17 commitsMon 17:00 — 30 commitsMon 18:00 — 22 commitsMon 19:00 — 21 commitsMon 20:00 — 28 commitsMon 21:00 — 36 commitsMon 22:00 — 24 commitsMon 23:00 — 20 commitsTue 0:00 — 13 commitsTue 1:00 — 8 commitsTue 2:00 — 12 commitsTue 3:00 — 20 commitsTue 4:00 — 10 commitsTue 5:00 — 6 commitsTue 6:00 — 7 commitsTue 7:00 — 8 commitsTue 8:00 — 9 commitsTue 9:00 — 18 commitsTue 10:00 — 21 commitsTue 11:00 — 13 commitsTue 12:00 — 30 commitsTue 13:00 — 17 commitsTue 14:00 — 21 commitsTue 15:00 — 21 commitsTue 16:00 — 20 commitsTue 17:00 — 35 commitsTue 18:00 — 34 commitsTue 19:00 — 44 commitsTue 20:00 — 26 commitsTue 21:00 — 28 commitsTue 22:00 — 46 commitsTue 23:00 — 42 commitsWed 0:00 — 20 commitsWed 1:00 — 8 commitsWed 2:00 — 11 commitsWed 3:00 — 18 commitsWed 4:00 — 14 commitsWed 5:00 — 9 commitsWed 6:00 — 6 commitsWed 7:00 — 5 commitsWed 8:00 — 8 commitsWed 9:00 — 10 commitsWed 10:00 — 27 commitsWed 11:00 — 21 commitsWed 12:00 — 25 commitsWed 13:00 — 17 commitsWed 14:00 — 23 commitsWed 15:00 — 17 commitsWed 16:00 — 29 commitsWed 17:00 — 27 commitsWed 18:00 — 18 commitsWed 19:00 — 28 commitsWed 20:00 — 24 commitsWed 21:00 — 14 commitsWed 22:00 — 13 commitsWed 23:00 — 17 commitsThu 0:00 — 19 commitsThu 1:00 — 11 commitsThu 2:00 — 4 commitsThu 3:00 — 7 commitsThu 4:00 — 14 commitsThu 5:00 — 10 commitsThu 6:00 — 6 commitsThu 7:00 — 8 commitsThu 8:00 — 6 commitsThu 9:00 — 13 commitsThu 10:00 — 19 commitsThu 11:00 — 18 commitsThu 12:00 — 21 commitsThu 13:00 — 15 commitsThu 14:00 — 16 commitsThu 15:00 — 11 commitsThu 16:00 — 11 commitsThu 17:00 — 11 commitsThu 18:00 — 19 commitsThu 19:00 — 17 commitsThu 20:00 — 11 commitsThu 21:00 — 19 commitsThu 22:00 — 30 commitsThu 23:00 — 37 commitsFri 0:00 — 18 commitsFri 1:00 — 14 commitsFri 2:00 — 11 commitsFri 3:00 — 11 commitsFri 4:00 — 14 commitsFri 5:00 — 11 commitsFri 6:00 — 14 commitsFri 7:00 — 9 commitsFri 8:00 — 19 commitsFri 9:00 — 27 commitsFri 10:00 — 30 commitsFri 11:00 — 37 commitsFri 12:00 — 29 commitsFri 13:00 — 41 commitsFri 14:00 — 23 commitsFri 15:00 — 35 commitsFri 16:00 — 24 commitsFri 17:00 — 42 commitsFri 18:00 — 39 commitsFri 19:00 — 28 commitsFri 20:00 — 33 commitsFri 21:00 — 37 commitsFri 22:00 — 29 commitsFri 23:00 — 35 commitsSat 0:00 — 37 commitsSat 1:00 — 14 commitsSat 2:00 — 14 commitsSat 3:00 — 10 commitsSat 4:00 — 7 commitsSat 5:00 — 14 commitsSat 6:00 — 8 commitsSat 7:00 — 10 commitsSat 8:00 — 16 commitsSat 9:00 — 34 commitsSat 10:00 — 11 commitsSat 11:00 — 35 commitsSat 12:00 — 39 commitsSat 13:00 — 32 commitsSat 14:00 — 44 commitsSat 15:00 — 30 commitsSat 16:00 — 32 commitsSat 17:00 — 37 commitsSat 18:00 — 31 commitsSat 19:00 — 33 commitsSat 20:00 — 33 commitsSat 21:00 — 42 commitsSat 22:00 — 42 commitsSat 23:00 — 32 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.
DateListRankStars gained
Nov 12, 2026daily#7+640
Nov 11, 2026daily#7+640
Nov 10, 2026daily#7+792
Nov 9, 2026daily#10+31
  • public-apis/public-apis

    A collective list of free APIs

    502.6K stars · Python

  • morluto/rea

    Reverse engineer anything with agents, from app behavior down to native binaries.

    486.9K stars · TypeScript

  • openclaw/openclaw

    The AI that really does things. Any OS. Any Platform. The lobster way. 🦞

    395.6K stars · TypeScript

  • donnemartin/system-design-primer

    Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

    380.1K stars · Python

  • obra/superpowers

    An agentic skills framework & software development methodology that works.

    331.1K stars · Shell

  • affaan-m/ECC

    The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

    315K stars · JavaScript