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
git clone https://github.com/ganhammar/hass-mcp-serverTools (22)
adjust_statisticsCorrect a statistic's sum from a point in time onward (spike/bad reset); sum statistics onlybatch_get_stateGet state for multiple entities in one call (max 50)call_serviceCall any Home Assistant serviceclear_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 busget_device_detailsGet a device and every entity registered to it (all domains), with optional statesget_entity_registryRead registry metadata for an entity, including disabled or unavailable entitiesget_historyGet state history of an entity over a time rangeget_logbookFetch logbook entries for an entity or time rangeget_stateGet the current state of any entity (optional `fields` to limit attributes)get_statisticsFetch long-term statistics (energy, climate) with configurable periodlist_calendar_eventsList events in a time window (uid for deletes; descriptions omitted by default)list_entitiesList all entities, with optional `domain`, `detailed`, and `fields` parameterslist_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 areaupdate_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" listSecurity 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
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