About Home Assistant
Home Assistant is an MCP server published by voska in the Developer Tools category: control and query Home Assistant from Claude and other LLMs — a Model Context Protocol (MCP) server. Conduid read 29 tools from its source: add_card, add_view, call_service_tool, domain_summary_tool, entity_action, get_dashboard_config and 23 more. No package is published for it, so it installs from a source checkout.
The repository has 353 stars and 56 forks, is licensed MIT, and its last commit was on 20 Nov 2026. The latest release is v0.6.2 (20 Nov 2026). It follows v0.6.1 (24 Oct 2026), and the 5 most recent releases go back to v0.4.1 (17 May 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include hacs and home-assistant.
Install
git clone https://github.com/voska/hass-mcpTools (29)
add_cardAdd a card to a dashboard view (live)| Parameter | Type | Description |
|---|---|---|
| card | object | The card config dict (must include a string `type`), e.g. {"type": "markdown", "content": "Hello"}. |
| dry_run | boolean | Preview without saving. |
| position | integer | Insert index within the target card list (default: append). |
| section | any | For a "sections"-type view, which section to add into — an index, section title, or heading text. REQUIRED for sections views (use list_view_sections to see them); omit for classic views. |
| url_path | string | Dashboard URL path, or None for the default dashboard. |
| view | any | Target view — an integer index, or a string matching the view's `path` or `title`. |
add_viewAdd a new view to a dashboard (live)| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | Preview without saving. |
| position | integer | Insert index among views (default: append). |
| url_path | string | Dashboard URL path, or None for the default dashboard. |
| view_config | object | The view config dict, e.g. {"title": "Garage", "path": "garage"}. |
call_service_toolCall any Home Assistant service| Parameter | Type | Description |
|---|---|---|
| data | object | Optional data to pass to the service (e.g., {'entity_id': 'light.living_room'}) |
| domain * | string | The domain of the service (e.g., 'light', 'switch', 'automation') |
| service * | string | The service to call (e.g., 'turn_on', 'turn_off', 'toggle') |
domain_summary_toolGet a summary of a domain's entities| Parameter | Type | Description |
|---|---|---|
| domain * | string | The domain to summarize (e.g., 'light', 'switch', 'sensor') |
| example_limit | integer | Maximum number of examples to include for each state |
entity_actionPerform actions on entities (turn on, off, toggle)| Parameter | Type | Description |
|---|---|---|
| action * | string | The action to perform ('on', 'off', 'toggle') |
| entity_id * | string | The entity ID to control (e.g. 'light.living_room') |
| params | object | Optional dictionary of additional parameters for the service call |
get_dashboard_configGet a dashboard's full configuration| Parameter | Type | Description |
|---|---|---|
| url_path | string | The dashboard's URL path (e.g. "my-dash"). Omit or pass None for the default "Overview" dashboard. |
get_entities_by_areaList entities in a specific area / room| Parameter | Type | Description |
|---|---|---|
| area * | string | Name of the area to filter by (case-insensitive) |
| domain | string | Optional domain to further filter results (e.g., 'light') |
| lean | boolean | If True (default), returns token-efficient entity records |
get_entityGet the state of a specific entity with optional field filtering| Parameter | Type | Description |
|---|---|---|
| detailed | boolean | If True, returns all entity fields without filtering |
| entity_id * | string | The entity ID to get (e.g. 'light.living_room') |
| fields | array | Optional list of fields to include (e.g. ['state', 'attr.brightness']) |
get_error_logGet the Home Assistant error log, with optional| Parameter | Type | Description |
|---|---|---|
| integration | string | Filter to lines mentioning this integration. Matches `[name]` or `[homeassistant.components.name]`. Case-insensitive. |
| level | string | Filter to lines containing this log level — ERROR, WARNING, INFO, or DEBUG. Case-insensitive. |
| lines | integer | Return only the most recent N lines (applied after other filters). Useful when you only care about the tail. |
| search_term | string | Case-insensitive substring filter applied per line. Useful for entity IDs, exception names, etc. |
get_historyGet the state history of an entity (last N hours)| Parameter | Type | Description |
|---|---|---|
| entity_id * | string | The entity ID to get history for |
| hours | integer | Number of hours of history to retrieve (default: 24) |
get_history_rangeGet state-change history for an entity over an| Parameter | Type | Description |
|---|---|---|
| end_time | string | ISO-8601 end. Defaults to now (UTC). |
| entity_id * | string | The entity to fetch history for. |
| start_time * | string | ISO-8601 start (e.g. `2026-05-15` or `2026-05-15T08:00:00Z`). Treated as UTC if no offset. |
get_statisticsGet long-term aggregated statistics (mean / min / max| Parameter | Type | Description |
|---|---|---|
| entity_id * | string | The entity (must have a `state_class` HA records as statistics — `measurement`, `total`, `total_increasing`). |
| hours | integer | How far back from now. Defaults to 24. |
| period | string | Bucket size — `5minute`, `hour`, `day`, `week`, `month`. Defaults to `hour`. |
get_statistics_rangeSame, but for an explicit date/time range —| Parameter | Type | Description |
|---|---|---|
| end_time | string | ISO-8601 end. Defaults to now. |
| entity_id * | string | The entity (must be statistics-tracked). |
| period | string | `5minute`, `hour`, `day`, `week`, or `month`. |
| start_time * | string | ISO-8601 start (`2026-01-01` or `2026-01-01T00:00:00Z`). UTC if no offset. |
get_versionGet the Home Assistant versionlist_automationsGet a list of all automationslist_dashboard_backupsList on-disk backups of a dashboard's config| Parameter | Type | Description |
|---|---|---|
| url_path | string | Dashboard URL path, or None for the default dashboard. |
list_dashboardsList Home Assistant dashboards (Lovelace)list_entitiesGet a list of entities with optional domain filtering and search| Parameter | Type | Description |
|---|---|---|
| detailed | boolean | If True, returns all entity fields without filtering |
| domain | string | Optional domain to filter by (e.g., 'light', 'switch', 'sensor') |
| fields | array | Optional list of specific fields to include in each entity |
| limit | integer | Maximum number of entities to return (default: 100) |
| search_query | string | Optional search term to filter entities by name, id, or attributes (Note: Does not support wildcards. To get all entities, leave this empty) |
list_view_sectionsList the sections of a "sections"-type dashboard view| Parameter | Type | Description |
|---|---|---|
| url_path | string | Dashboard URL path, or None for the default dashboard. |
| view | any | Target view (index, or matching `path`/`title`). |
move_cardReorder a card within a dashboard view (live)| Parameter | Type | Description |
|---|---|---|
| card_index | integer | Current index of the card. |
| dry_run | boolean | Preview without saving. |
| new_index | integer | Destination index within the same card list. |
| section | any | For a "sections"-type view, which section the card is in (index/title/heading). Required for sections views. |
| url_path | string | Dashboard URL path, or None for the default dashboard. |
| view | any | Target view (index, or matching `path`/`title`). |
remove_cardRemove a card from a dashboard view (live)| Parameter | Type | Description |
|---|---|---|
| card_index | integer | Index of the card to remove within the target card list. |
| dry_run | boolean | Preview without saving. |
| section | any | For a "sections"-type view, which section the card is in (index/title/heading). Required for sections views. |
| url_path | string | Dashboard URL path, or None for the default dashboard. |
| view | any | Target view (index, or matching `path`/`title`). |
remove_viewRemove a view from a dashboard (live)| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | Preview without saving. |
| url_path | string | Dashboard URL path, or None for the default dashboard. |
| view | any | Target view (index, or matching `path`/`title`). |
restart_haRestart Home Assistantrestore_dashboardRestore a dashboard from a backup (live)| Parameter | Type | Description |
|---|---|---|
| backup_id | string | A specific backup id from list_dashboard_backups (default: newest). |
| dry_run | boolean | Preview without saving. |
| url_path | string | Dashboard URL path, or None for the default dashboard. |
search_entities_toolSearch for entities matching a query| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of results to return (default: 20) |
| query * | string | The search query to match against entity IDs, names, and attributes. (Note: Does not support wildcards. To get all entities, leave this blank or use list_entities tool) |
set_dashboard_configReplace a dashboard's full configuration (low-level write)| Parameter | Type | Description |
|---|---|---|
| config | object | The complete new config dict (must contain a `views` list). |
| dry_run | boolean | If True, validate and return the resulting config + a change summary WITHOUT saving. |
| url_path | string | Dashboard URL path, or None for the default dashboard. |
system_overviewGet a comprehensive overview of the entire Home Assistant systemupdate_cardReplace a card in a dashboard view (live)| Parameter | Type | Description |
|---|---|---|
| card | object | The new card config dict (must include a string `type`). |
| card_index | integer | Index of the card to replace within the target card list. |
| dry_run | boolean | Preview without saving. |
| section | any | For a "sections"-type view, which section the card is in (index/title/heading). Required for sections views. |
| url_path | string | Dashboard URL path, or None for the default dashboard. |
| view | any | Target view (index, or matching `path`/`title`). |
update_viewUpdate a view's properties — title, path, icon, etc. (live)| Parameter | Type | Description |
|---|---|---|
| changes | object | Dict of view properties to merge in, e.g. {"title": "New Title"}. |
| dry_run | boolean | Preview without saving. |
| url_path | string | Dashboard URL path, or None for the default dashboard. |
| view | any | Target view (index, or matching `path`/`title`). |
Security checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.9K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- ✓No dynamic code executionScanned 8 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.
What the source scan found
- Transport
- None found in the source
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 13 callsapp/areas.py:62, app/areas.py:74, app/areas.py:85
- Writes or deletes files
- 1 callapp/lovelace.py:385
- Lockfile
- uv.lock
Pattern matches on the source text of 8 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.9K words, fetched yesterday. The original in the repository is authoritative.
Read full README