About Homeassistant
Homeassistant is an MCP server published by jango-blockchained in the Automation category: model Context Protocol server for Home Assistant: introspect entities, services, events, registries, render templates and validate configuration to help AI agents author HA configs and automations. Conduid read 61 tools from its source: addon, addon_modify, alarms, alarms_activate, animation_control, animation_control_activate and 55 more. No package is published for it, so it installs from a source checkout.
The repository has 58 stars and 22 forks, and its last commit was on 15 Nov 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include automation, hacs, home-assistant, home-automation, homeassistant and smart-home.
Install
git clone https://github.com/jango-blockchained/homeassistant-mcpTools (61)
addonList Home Assistant add-ons or get info on a specific add-on| Parameter | Type | Description |
|---|---|---|
| action * | string | Read action to perform |
| slug | string | Add-on slug (required for 'info') |
addon_modifyInstall, uninstall, start, stop, or restart Home Assistant add-ons| Parameter | Type | Description |
|---|---|---|
| action * | string | Lifecycle action to perform |
| slug * | string | Add-on slug |
| version | string | Version to install (only for 'install') |
alarmsList all alarm panels or get the state of a specific alarm panel.| Parameter | Type | Description |
|---|---|---|
| action * | string | Read action |
| entity_id | string | Alarm entity_id (required for 'get') |
alarms_activateArm in various modes (home, away, night, vacation, custom bypass), disarm, or trigger an alarm. Security-sensitive operations.| Parameter | Type | Description |
|---|---|---|
| action * | string | Activation action |
| code | string | Optional security code |
| entity_id * | string | Alarm entity_id |
animation_controlList currently running background light animations.| Parameter | Type | Description |
|---|---|---|
| action * | string | List currently running background animations |
animation_control_activateStart, stop, or stop-all background light animations (endless loops).| Parameter | Type | Description |
|---|---|---|
| action * | string | Activation action |
| animation_id | string | Required for 'stop' action |
automationList Home Assistant automations and their current state.| Parameter | Type | Description |
|---|---|---|
| action * | string | List configured automations |
automation_activateFire a Home Assistant automation's actions now. Side effects depend on what the automation does (could control devices, send notifications, etc.).| Parameter | Type | Description |
|---|---|---|
| action * | string | Fire the automation's actions now |
| automation_id * | string | Entity ID of the automation, e.g., 'automation.office_carbon_filter_person_detection'. |
automation_config_modifyAdvanced automation configuration and management - create, update, duplicate, and delete automations| Parameter | Type | Description |
|---|---|---|
| action * | string | Action to perform with automation config |
| automation_id | string | Internal automation ID (NOT entity_id). Use the 'id' field from automation list, e.g., 'office_carbon_filter_person_detection' or '1759324158284'. Do NOT include 'automation.' prefix. Required for update, delete, and duplicate. |
| config | object | Automation configuration object (required for create and update) |
automation_modifyToggle (enable/disable) a Home Assistant automation. Does not fire the automation's actions.| Parameter | Type | Description |
|---|---|---|
| action * | string | Enable or disable an automation |
| automation_id * | string | Entity ID of the automation, e.g., 'automation.office_carbon_filter_person_detection'. |
claudeClaude-specific prompt template for home automation controlclimateList all climate devices (thermostats, AC) or get the state of a specific one.| Parameter | Type | Description |
|---|---|---|
| action * | string | Read action |
| entity_id | string | Climate entity_id (required for 'get') |
climate_activateSet HVAC mode, target temperature, or fan mode on climate devices.| Parameter | Type | Description |
|---|---|---|
| action * | string | Action to perform |
| entity_id * | string | Climate entity_id |
| fan_mode | string | Fan mode (for set_fan_mode) |
| hvac_mode | string | HVAC mode (for set_hvac_mode) |
| target_temp_high | number | Max target temp (range devices) |
| target_temp_low | number | Min target temp (range devices) |
| temperature | number | Target temperature (single setpoint devices) |
control_activateControl Home Assistant devices and services - universal control endpoint for turning on/off, toggling, setting positions, temperatures, and more| Parameter | Type | Description |
|---|---|---|
| area_id | string | The area ID to control all devices of the domain type |
| brightness | number | Brightness level for lights (0-255) |
| color_temp | number | Color temperature for lights |
| command * | string | The command to execute |
| entity_id | string | The entity ID to control |
| fan_mode | string | Fan mode for climate devices |
| humidity | number | Target humidity for climate devices |
| hvac_mode | string | HVAC mode for climate devices |
| position | number | Position for covers (0-100) |
| rgb_color | array | RGB color as [r, g, b] (0-255 each) |
| state | string | The desired state for the entity |
| target_temp_high | number | Target high temperature for climate devices |
| target_temp_low | number | Target low temperature for climate devices |
| temperature | number | Target temperature for climate devices |
| tilt_position | number | Tilt position for covers (0-100) |
coversList all covers (blinds, curtains, garage doors, shades) or get the state of one.| Parameter | Type | Description |
|---|---|---|
| action * | string | Read action |
| entity_id | string | Cover entity_id (required for 'get') |
covers_activateOpen, close, stop, toggle, or set the position/tilt of a cover.| Parameter | Type | Description |
|---|---|---|
| action * | string | Activation action |
| entity_id * | string | Cover entity_id |
| position | number | Position 0-100 (set_cover_position) |
| tilt_position | number | Tilt position 0-100 (set_cover_tilt_position) |
customCustomizable prompt template for home automation controldashboardList Home Assistant Lovelace dashboards or read a dashboard's configuration (JSON or YAML export).| Parameter | Type | Description |
|---|---|---|
| action * | string | Read action to perform |
| url_path | string | Dashboard URL path (omit for the default dashboard). Use 'list' to discover available dashboards. |
dashboard_modifyReplace a Home Assistant Lovelace dashboard's configuration (from a JSON object or YAML string). Both actions overwrite the entire dashboard config — always read first, then modify, then update.| Parameter | Type | Description |
|---|---|---|
| action * | string | Modify action — replaces entire dashboard config |
| config | object | Dashboard configuration object (required for update_config) |
| url_path | string | Dashboard URL path (omit for default) |
| yaml_content | string | YAML string of dashboard configuration (required for import_yaml) |
execute| Parameter | Type | Description |
|---|---|---|
| code * | string | JavaScript async arrow function to run. It receives no arguments; use the documented globals. |
fansList all fans or get the state of a specific fan.| Parameter | Type | Description |
|---|---|---|
| action * | string | Read action |
| entity_id | string | Fan entity_id (required for 'get') |
fans_activateControl fans: turn on/off/toggle, set speed percentage, preset mode, oscillation, direction.| Parameter | Type | Description |
|---|---|---|
| action * | string | Activation action |
| direction | string | Fan direction |
| entity_id * | string | Fan entity_id |
| oscillating | boolean | Whether to oscillate |
| percentage | number | Speed percentage 0-100 |
| preset_mode | string | Preset mode like 'auto', 'smart', 'eco' |
get_entity_stateGet the current state of any Home Assistant entity. Works with all entity types: sensors, binary_sensors, switches, lights, climate, covers, etc. Returns state value, timestamps, and optionally all attributes.| Parameter | Type | Description |
|---|---|---|
| entity_id * | string | The entity ID to get state for (e.g., 'sensor.temperature', 'binary_sensor.motion', 'switch.plug') |
| include_attributes | boolean | Include entity attributes in response (default: true) |
get_error_logRetrieve the Home Assistant error log as structured entries. Each entry includes timestamp, severity level, thread, component, and message (including stack traces). Supports filtering by minimum severity level, component name, keyword search in message body, and time range. Works with both standard HA installations (/api/error_log) and HAOS/Supervisor setups (/api/hassio/core/logs).| Parameter | Type | Description |
|---|---|---|
| component | string | Filter by component name (case-insensitive substring match, e.g. "zwave", "mqtt") |
| entries | number | Number of most recent entries to return (default: 50) |
| level | string | Minimum severity level. ERROR = only errors, WARNING = errors + warnings, etc. |
| newest | string | Only entries at or before this timestamp (e.g. "2026-04-05 12:00:00") |
| oldest | string | Only entries at or after this timestamp (e.g. "2026-04-05 10:00:00") |
| search | string | Keyword search in message body (case-insensitive) |
get_historyGet state history for Home Assistant entities - retrieve historical state data with time-based filtering| Parameter | Type | Description |
|---|---|---|
| end_time | string | End time in ISO format. Defaults to now |
| entity_id * | string | The entity ID to get history for |
| minimal_response | boolean | Return minimal response to reduce data size |
| significant_changes_only | boolean | Only return significant state changes |
| start_time | string | Start time in ISO format. Defaults to 24 hours ago |
get_sse_statsGet SSE connection statistics - retrieve metrics about active Server-Sent Events connections| Parameter | Type | Description |
|---|---|---|
| token * | string | Authentication token (required) |
light_animation_activateExecute custom light animation sequences (e.g., police lights, alerts) on any RGB light.| Parameter | Type | Description |
|---|---|---|
| entity_id * | string | The light entity to animate |
| loops | number | Number of times to repeat the sequence |
| sequence * | array | Sequence of states to cycle through |
light_scenario_activateApply ambient lighting moods (Chill, Nightly, Focus, etc.) to a specific area or light.| Parameter | Type | Description |
|---|---|---|
| colors | array | Custom palette of hex colors (e.g. ['#FF0000', '#0000FF']) or RGB tuples |
| target * | string | Area name (e.g. 'Wohnzimmer') or specific Entity ID |
light_showcase_activateRun a choreographed light showcase that calls various moods and custom palettes to demonstrate system capabilities.| Parameter | Type | Description |
|---|---|---|
| loops | number | Number of full showcase loops to run |
| target * | string | Area name (e.g. 'Wohnzimmer') or specific Entity ID |
lightsList all lights or get the state of a specific light.| Parameter | Type | Description |
|---|---|---|
| action * | string | Read action to perform |
| entity_id | string | Light entity_id (required for 'get') |
lights_activateTurn lights on (with optional brightness/color/effect) or off.| Parameter | Type | Description |
|---|---|---|
| action * | string | Activation action |
| brightness | number | Brightness 0-255 (turn_on) |
| color_temp | number | Color temperature in Mireds (turn_on) |
| effect | string | Light effect (turn_on) |
| entity_id * | string | Light entity_id |
| rgb_color | array | RGB color [r,g,b] (turn_on) |
| transition | number | Transition seconds (turn_on) |
list_devicesList all available Home Assistant devices with optional filtering| Parameter | Type | Description |
|---|---|---|
| area | string | Filter devices by area |
| domain | string | Filter devices by domain |
| floor | string | Filter devices by floor |
locksList all locks or get the state of a specific lock.| Parameter | Type | Description |
|---|---|---|
| action * | string | Read action |
| entity_id | string | Lock entity_id (required for 'get') |
locks_activateLock, unlock, or open (unlatch) physical locks. Unlocking is a security-sensitive operation.| Parameter | Type | Description |
|---|---|---|
| action * | string | Activation action |
| code | string | Optional PIN/code |
| entity_id * | string | Lock entity_id |
maintenanceAnalyze Home Assistant health: find orphaned/unavailable devices, analyze light usage and energy consumption, run device health checks. All actions are read-only — no entities are removed or modified.| Parameter | Type | Description |
|---|---|---|
| action * | string | The maintenance analysis to perform |
| days | number | Number of days to analyze for usage patterns |
| entity_filter | string | Filter entities by domain (e.g., 'light', 'sensor') |
media_playersList all media players or get the state of a specific media player.| Parameter | Type | Description |
|---|---|---|
| action * | string | Read action |
| entity_id | string | Media player entity_id (required for 'get') |
media_players_activateControl media players: playback, volume, source/sound mode selection, play media on TVs and speakers.| Parameter | Type | Description |
|---|---|---|
| action * | string | Activation action |
| entity_id * | string | Media player entity_id |
| is_volume_muted | boolean | Mute state (volume_mute) |
| media_content_id | string | Media content ID/URL (play_media) |
| media_content_type | string | Media type: music/video/playlist (play_media) |
| sound_mode | string | Sound mode (select_sound_mode) |
| source | string | Input source (select_source) |
| volume_level | number | Volume 0-1 (volume_set) |
notify_activateSend notifications through Home Assistant| Parameter | Type | Description |
|---|---|---|
| data | object | Additional notification data |
| message * | string | The notification message |
| target | string | Specific notification target (e.g., mobile_app_phone) |
| title | string | The notification title |
packageList HACS packages and custom components by category| Parameter | Type | Description |
|---|---|---|
| action * | string | List installed/available packages |
package_modifyInstall, uninstall, or update HACS packages| Parameter | Type | Description |
|---|---|---|
| action * | string | Lifecycle action |
| repository | string | Repository URL or name (required) |
| version | string | Version (only for install) |
render_templateEvaluate a Home Assistant Jinja2 template. Use this to query complex state information, perform calculations, format data, or test template expressions. The template is rendered server-side by Home Assistant and the result is returned as text.| Parameter | Type | Description |
|---|---|---|
| template * | string | Jinja2 template string to evaluate. Examples: '{{ states("sensor.temperature") }}', '{{ states.light | selectattr("state", "eq", "on") | list | count }} lights are on', '{{ now() }}' |
sceneList Home Assistant scenes.| Parameter | Type | Description |
|---|---|---|
| action * | string | List configured scenes |
scene_activateActivate a pre-configured Home Assistant scene (calls scene.turn_on, actuates the underlying devices).| Parameter | Type | Description |
|---|---|---|
| action * | string | Activate a scene |
| scene_id * | string | Scene entity ID to activate |
search| Parameter | Type | Description |
|---|---|---|
| code * | string | JavaScript async arrow function to run. It receives no arguments; use the documented globals. |
search_entitiesSearch Home Assistant entities with powerful filtering. Supports domain, device_class, state (exact or comparison like '>50'), area, glob patterns ('*motion*'), attribute conditions (battery_level < 20), and time-based queries (changed_within: '5m'). Examples: Find active motion sensors, low battery devices, recently triggered sensors, or when a Frigate-tracked person was last seen.| Parameter | Type | Description |
|---|---|---|
| area | any | Filter by area (e.g., 'living_room', 'office') |
| attributes | array | Attribute conditions with AND logic (e.g., [{key: 'battery_level', op: '<', value: 20}]) |
| changed_after | string | Filter entities changed after ISO timestamp |
| changed_within | string | Filter entities changed within duration (e.g., '5m', '1h', '24h') |
| device_class | any | Filter by device_class (e.g., 'motion', 'door', 'temperature', 'battery') |
| domain | any | Filter by domain (e.g., 'binary_sensor', 'sensor', 'light') - single or array |
| limit | number | Maximum number of results to return |
| output | string | Output mode: 'minimal' (entity_ids only), 'summary' (id, state, name, device_class, last_changed), 'full' (all attributes) |
| pattern | string | Glob pattern to match entity_id or friendly_name (e.g., '*motion*', 'sensor.frigate*', '*chad*person*') |
| sort_by | string | Sort results by field |
| sort_order | string | Sort order |
| state | string | Filter by state - exact match ('on', 'off') or comparison ('>50', '<20', '!=unavailable') |
smart_scenariosDetect common smart home scenarios (nobody home, window/heating conflicts, energy-saving opportunities). Read-only analysis.| Parameter | Type | Description |
|---|---|---|
| action * | string | The detection action to perform |
smart_scenarios_activateApply smart home scenarios: turn off lights and adjust climate when nobody is home, or turn off heating when windows are open. Actuates devices and sends notifications.| Parameter | Type | Description |
|---|---|---|
| action * | string | The scenario to apply |
| enable_notifications | boolean | Send notifications about actions taken |
| mode | string | For apply_window_heating_check: 'apply' executes, 'detect' reports only |
| rooms | array | Specific rooms/areas to apply scenario to |
| temperature_reduction | number | Temperature reduction in degrees for climate control (default: 3) |
stream_generatorGenerate a stream of data with configurable delay and count| Parameter | Type | Description |
|---|---|---|
| count | number | Number of items to generate (1-20) |
| delay | number | Delay in ms between items (100-2000) |
| prefix | string | Optional prefix for item labels |
subscribe_eventsSubscribe to Home Assistant events via Server-Sent Events (SSE) - monitor real-time device and system state changes| Parameter | Type | Description |
|---|---|---|
| domain | string | Domain to monitor (e.g., "light", "switch", etc.) |
| entity_id | string | Specific entity ID to monitor for state changes |
| events | array | List of event types to subscribe to |
| token * | string | Authentication token (required) |
switchesList all switches or get the state of a specific switch (smart plugs, relays, virtual switches).| Parameter | Type | Description |
|---|---|---|
| action * | string | Read action |
| entity_id | string | Switch entity_id (required for 'get') |
switches_activateTurn switches on, off, or toggle.| Parameter | Type | Description |
|---|---|---|
| action * | string | Activation action |
| entity_id * | string | Switch entity_id |
text_to_speechGenerate and play text-to-speech audio via Home Assistant. Provides voice feedback for commands with support for multiple languages and TTS providers.| Parameter | Type | Description |
|---|---|---|
| action | string | Action to perform: 'generate' (generate URL only), 'play' (play previous), 'speak' (generate and play) |
| cache | boolean | Whether to cache generated audio (default: true) |
| language | string | Language code (e.g., 'en', 'de', 'es', 'fr'). Defaults to service language setting. |
| media_player_id | string | Optional entity_id of media player to play audio on (e.g., 'media_player.living_room') |
| provider | string | TTS provider (e.g., 'google_translate', 'microsoft_tts', 'openai_tts'). If not specified, uses default. |
| text * | string | The text to convert to speech |
todoList Home Assistant to-do lists or get items from a specific list.| Parameter | Type | Description |
|---|---|---|
| action * | string | The read action to perform |
| entity_id | string | The entity ID of the to-do list (required for get_items) |
| status | string | Status filter for get_items (default: both) |
todo_modifyAdd, update, or remove items in a Home Assistant to-do list.| Parameter | Type | Description |
|---|---|---|
| action * | string | The modify action |
| description | string | Description for the item (optional for add_item, update_item) |
| due_date | string | Due date for the item, e.g. YYYY-MM-DD (optional for add_item, update_item) |
| due_datetime | string | Due datetime for the item (optional for add_item, update_item) |
| entity_id * | string | The entity ID of the to-do list |
| item * | string | The name of the to-do item |
| rename | string | New name for the item (optional for update_item) |
| status | string | Status of the item (optional for add_item, update_item) |
traceAccess automation and script execution traces. List recent traces, get detailed trace data, or list trace contexts. Useful for debugging automation issues.| Parameter | Type | Description |
|---|---|---|
| action * | string | Action to perform with traces |
| domain | string | Domain to query traces for (automation or script) |
| item_id | string | Internal automation/script ID (NOT entity_id). Use the 'id' field from automation list, e.g., 'office_carbon_filter_person_detection' or '1759324158284'. Do NOT include 'automation.' prefix. |
| run_id | string | Specific trace run_id from the list results (required for 'get' action) |
vacuumsList all robot vacuums or get the state of a specific vacuum.| Parameter | Type | Description |
|---|---|---|
| action * | string | Read action |
| entity_id | string | Vacuum entity_id (required for 'get') |
vacuums_activateControl robot vacuums: start/pause/stop, return to dock, spot cleaning, locate, fan speed, vendor-specific commands.| Parameter | Type | Description |
|---|---|---|
| action * | string | Activation action |
| command | string | Vendor-specific command (send_command) |
| entity_id * | string | Vacuum entity_id |
| fan_speed | string | Fan speed/suction level (set_fan_speed) |
| params | object | Optional params for send_command |
validation_demoDemonstrates parameter validation with Zod schemas| Parameter | Type | Description |
|---|---|---|
| preferences | object | User preferences |
| tags | array | Optional list of tags (1-5) |
| user | object | User information |
voice_command_ai_parser_activateParse voice commands using AI (Claude). Makes an outbound API call to api.anthropic.com (consumes API credits, sends transcript to a third party). Falls back gracefully if AI not available.| Parameter | Type | Description |
|---|---|---|
| context | object | The current room context |
| transcription * | string | The voice transcription to parse into a command |
| use_ai | boolean | Whether to use Claude AI parsing |
voice_command_executor_activateExecute parsed voice commands through Home Assistant. Maps intents to service calls and controls devices.| Parameter | Type | Description |
|---|---|---|
| action * | string | The action to execute |
| entities | array | List of entities mentioned in the command |
| intent * | string | The parsed intent from the voice command |
| parameters | object | Additional parameters extracted from the command |
| target | string | The target entity (device, light, etc.) |
voice_command_parserParse natural language voice transcriptions into structured Home Assistant commands. Extracts intent, entities, and parameters from voice input.| Parameter | Type | Description |
|---|---|---|
| context | object | The current room context |
| language | string | Language code (e.g., 'en', 'de', 'es', 'fr'). Auto-detected if not provided. |
| transcription * | string | The voice transcription to parse into a command |
Security checks
- ✓README presentThe repository's README runs to about 1.9K words.
5 checks have not been run yet.
README
The repository's README runs to about 1.9K words. The original in the repository is authoritative.
Read full README