1. Conduid
  2. Developer Tools
  3. Hass MCP Server
MCP server · Developer Tools

Hass MCP Server

A Home Assistant Custom Component that provides an MCP (Model Context Protocol) server using HTTP transport, allowing AI assistants like Claude to interact with your Home Assistant instance over HTTP

43Fair

Scored 22 hours ago · breakdown

About Hass MCP Server

Hass MCP Server is an MCP server published by ganhammar in the Developer Tools category: a Home Assistant Custom Component that provides an MCP (Model Context Protocol) server using HTTP transport, allowing AI assistants like Claude to interact with your Home Assistant instance over HTTP. Conduid read 22 tools from its source: adjust_statistics, batch_get_state, call_service, clear_statistics, create_calendar_event, create_recurring_calendar_event and 16 more. No package is published for it, so it installs from a source checkout.

The repository has 86 stars and 25 forks, is licensed MIT, and its last commit was on 11 Nov 2026. The latest release is v1.18.0 (5 Oct 2026). It follows v1.17.1 (21 Sep 2026), and the 5 most recent releases go back to v1.15.0 (10 Aug 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include homeassistant-integration, model-context-protocol-server, hacs, hacs-integration, devtools and home-assistant.

Install

From source
git clone https://github.com/ganhammar/hass-mcp-server

Tools (22)

adjust_statisticsCorrect a statistic's sum from a point in time onward (spike/bad reset); sum statistics only
batch_get_stateGet state for multiple entities in one call (max 50)
call_serviceCall any Home Assistant service
clear_statisticsPermanently delete a statistic's history so it can start clean (irreversible; requires `confirm=true`)
create_calendar_eventCreate a one-off calendar event (local calendars; entity API)
create_recurring_calendar_eventCreate a recurring calendar series with RRULE (local calendars)
delete_calendar_eventsDelete events by uid or summary filter (supports dry_run preview)
fire_eventFire a custom event on the Home Assistant event bus
get_device_detailsGet a device and every entity registered to it (all domains), with optional states
get_entity_registryRead registry metadata for an entity, including disabled or unavailable entities
get_historyGet state history of an entity over a time range
get_logbookFetch logbook entries for an entity or time range
get_stateGet the current state of any entity (optional `fields` to limit attributes)
get_statisticsFetch long-term statistics (energy, climate) with configurable period
list_calendar_eventsList events in a time window (uid for deletes; descriptions omitted by default)
list_entitiesList all entities, with optional `domain`, `detailed`, and `fields` parameters
list_entity_registryList registered entities (including disabled ones), filter by `domain`, page with `limit` (default 100, max 500) and `offset`; returns total count and `has_more`
list_statistic_idsList statistic IDs and their metadata (source, unit, whether they carry a mean/sum)
render_templateEvaluate a Jinja2 template (requires "Enable template rendering")
search_entitiesSearch entities by friendly name, device class, domain, or area
update_entity_registryPreview by default or apply a `name` / same-domain `new_entity_id` change (`apply=true`). HA validates IDs on apply; **references in automations, scripts, dashboards and templates are not migrated**
validate_statisticsReport statistics issues the recorder detected — the Developer Tools "Fix issues" list

Security checks

Static checks derived from the repository a month ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 4.7K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionScanned 34 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v1.18.0v1.18.0 · 5 Oct 2026What's Changed feat: make the name reported in serverInfo configurable by @OdynBrouwer in https://github.com/ganhammar/hass-mcp-server/pull/98 chore: bump version to 1.18.0 by @ganhammar in…
v1.17.1v1.17.1 · 21 Sep 2026What's Changed refactor: drop the unused mcp SDK dependency by @ganhammar in https://github.com/ganhammar/hass-mcp-server/pull/97 fix: prompt input errors, daily_summary history, and AppDaemon root guidance by @ganhammar in…
v1.17.0v1.17.0 · 5 Sep 2026What's Changed perf: emit compact JSON in tool, resource, and prompt output by @ganhammar in https://github.com/ganhammar/hass-mcp-server/pull/92 Full Changelog: https://github.com/ganhammar/hass-mcp-server/compare/v1.16.0...v1.17.0
v1.16.0v1.16.0 · 4 Sep 2026What's Changed fix: return service response data from call_service by @michiel-dewilde in https://github.com/ganhammar/hass-mcp-server/pull/75 refactor: fetch statistics through recorder.get_statistics by @ganhammar in…
v1.15.0v1.15.0 · 10 Aug 2026What's Changed feat: add automation & script trace tools (list_traces, get_trace) by @suprawsmninja in https://github.com/ganhammar/hass-mcp-server/pull/72 feat: statistics repair tools (list/validate/adjust/clear) by @suprawsmninja in…

README

The repository's README runs to about 4.7K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Hass MCP Server

How do I install Hass MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Hass MCP Server safe to use with an AI agent?

Its trust score is 43 out of 100 (fair). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Hass MCP Server still maintained?

Yes — the latest release is v1.18.0 (5 Oct 2026), and the last commit was 20 days ago. The repository has 86 stars and 4 open issues.

What tools does Hass MCP Server provide?

Conduid read 22 tools from the source: adjust_statistics, batch_get_state, call_service, clear_statistics, create_calendar_event, create_recurring_calendar_event, delete_calendar_events, fire_event and 14 more.

What license is Hass MCP Server released under?

The repository declares the MIT license. That applies to the latest release, v1.18.0, as well.