1. Conduid
  2. Automation
  3. Homeassistant
MCP server · Automation

Homeassistant

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.

61Good

Scored 22 hours ago · breakdown

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

From source
git clone https://github.com/jango-blockchained/homeassistant-mcp

Tools (61)

addonList Home Assistant add-ons or get info on a specific add-on
ParameterTypeDescription
action *stringRead action to perform
slugstringAdd-on slug (required for 'info')
addon_modifyInstall, uninstall, start, stop, or restart Home Assistant add-ons
ParameterTypeDescription
action *stringLifecycle action to perform
slug *stringAdd-on slug
versionstringVersion to install (only for 'install')
alarmsList all alarm panels or get the state of a specific alarm panel.
ParameterTypeDescription
action *stringRead action
entity_idstringAlarm entity_id (required for 'get')
alarms_activateArm in various modes (home, away, night, vacation, custom bypass), disarm, or trigger an alarm. Security-sensitive operations.
ParameterTypeDescription
action *stringActivation action
codestringOptional security code
entity_id *stringAlarm entity_id
animation_controlList currently running background light animations.
ParameterTypeDescription
action *stringList currently running background animations
animation_control_activateStart, stop, or stop-all background light animations (endless loops).
ParameterTypeDescription
action *stringActivation action
animation_idstringRequired for 'stop' action
automationList Home Assistant automations and their current state.
ParameterTypeDescription
action *stringList 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.).
ParameterTypeDescription
action *stringFire the automation's actions now
automation_id *stringEntity 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
ParameterTypeDescription
action *stringAction to perform with automation config
automation_idstringInternal 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.
configobjectAutomation configuration object (required for create and update)
automation_modifyToggle (enable/disable) a Home Assistant automation. Does not fire the automation's actions.
ParameterTypeDescription
action *stringEnable or disable an automation
automation_id *stringEntity ID of the automation, e.g., 'automation.office_carbon_filter_person_detection'.
claudeClaude-specific prompt template for home automation control
climateList all climate devices (thermostats, AC) or get the state of a specific one.
ParameterTypeDescription
action *stringRead action
entity_idstringClimate entity_id (required for 'get')
climate_activateSet HVAC mode, target temperature, or fan mode on climate devices.
ParameterTypeDescription
action *stringAction to perform
entity_id *stringClimate entity_id
fan_modestringFan mode (for set_fan_mode)
hvac_modestringHVAC mode (for set_hvac_mode)
target_temp_highnumberMax target temp (range devices)
target_temp_lownumberMin target temp (range devices)
temperaturenumberTarget temperature (single setpoint devices)
control_activateControl Home Assistant devices and services - universal control endpoint for turning on/off, toggling, setting positions, temperatures, and more
ParameterTypeDescription
area_idstringThe area ID to control all devices of the domain type
brightnessnumberBrightness level for lights (0-255)
color_tempnumberColor temperature for lights
command *stringThe command to execute
entity_idstringThe entity ID to control
fan_modestringFan mode for climate devices
humiditynumberTarget humidity for climate devices
hvac_modestringHVAC mode for climate devices
positionnumberPosition for covers (0-100)
rgb_colorarrayRGB color as [r, g, b] (0-255 each)
statestringThe desired state for the entity
target_temp_highnumberTarget high temperature for climate devices
target_temp_lownumberTarget low temperature for climate devices
temperaturenumberTarget temperature for climate devices
tilt_positionnumberTilt position for covers (0-100)
coversList all covers (blinds, curtains, garage doors, shades) or get the state of one.
ParameterTypeDescription
action *stringRead action
entity_idstringCover entity_id (required for 'get')
covers_activateOpen, close, stop, toggle, or set the position/tilt of a cover.
ParameterTypeDescription
action *stringActivation action
entity_id *stringCover entity_id
positionnumberPosition 0-100 (set_cover_position)
tilt_positionnumberTilt position 0-100 (set_cover_tilt_position)
customCustomizable prompt template for home automation control
dashboardList Home Assistant Lovelace dashboards or read a dashboard's configuration (JSON or YAML export).
ParameterTypeDescription
action *stringRead action to perform
url_pathstringDashboard 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.
ParameterTypeDescription
action *stringModify action — replaces entire dashboard config
configobjectDashboard configuration object (required for update_config)
url_pathstringDashboard URL path (omit for default)
yaml_contentstringYAML string of dashboard configuration (required for import_yaml)
execute
ParameterTypeDescription
code *stringJavaScript async arrow function to run. It receives no arguments; use the documented globals.
fansList all fans or get the state of a specific fan.
ParameterTypeDescription
action *stringRead action
entity_idstringFan entity_id (required for 'get')
fans_activateControl fans: turn on/off/toggle, set speed percentage, preset mode, oscillation, direction.
ParameterTypeDescription
action *stringActivation action
directionstringFan direction
entity_id *stringFan entity_id
oscillatingbooleanWhether to oscillate
percentagenumberSpeed percentage 0-100
preset_modestringPreset 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.
ParameterTypeDescription
entity_id *stringThe entity ID to get state for (e.g., 'sensor.temperature', 'binary_sensor.motion', 'switch.plug')
include_attributesbooleanInclude 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).
ParameterTypeDescription
componentstringFilter by component name (case-insensitive substring match, e.g. "zwave", "mqtt")
entriesnumberNumber of most recent entries to return (default: 50)
levelstringMinimum severity level. ERROR = only errors, WARNING = errors + warnings, etc.
neweststringOnly entries at or before this timestamp (e.g. "2026-04-05 12:00:00")
oldeststringOnly entries at or after this timestamp (e.g. "2026-04-05 10:00:00")
searchstringKeyword search in message body (case-insensitive)
get_historyGet state history for Home Assistant entities - retrieve historical state data with time-based filtering
ParameterTypeDescription
end_timestringEnd time in ISO format. Defaults to now
entity_id *stringThe entity ID to get history for
minimal_responsebooleanReturn minimal response to reduce data size
significant_changes_onlybooleanOnly return significant state changes
start_timestringStart time in ISO format. Defaults to 24 hours ago
get_sse_statsGet SSE connection statistics - retrieve metrics about active Server-Sent Events connections
ParameterTypeDescription
token *stringAuthentication token (required)
light_animation_activateExecute custom light animation sequences (e.g., police lights, alerts) on any RGB light.
ParameterTypeDescription
entity_id *stringThe light entity to animate
loopsnumberNumber of times to repeat the sequence
sequence *arraySequence of states to cycle through
light_scenario_activateApply ambient lighting moods (Chill, Nightly, Focus, etc.) to a specific area or light.
ParameterTypeDescription
colorsarrayCustom palette of hex colors (e.g. ['#FF0000', '#0000FF']) or RGB tuples
target *stringArea 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.
ParameterTypeDescription
loopsnumberNumber of full showcase loops to run
target *stringArea name (e.g. 'Wohnzimmer') or specific Entity ID
lightsList all lights or get the state of a specific light.
ParameterTypeDescription
action *stringRead action to perform
entity_idstringLight entity_id (required for 'get')
lights_activateTurn lights on (with optional brightness/color/effect) or off.
ParameterTypeDescription
action *stringActivation action
brightnessnumberBrightness 0-255 (turn_on)
color_tempnumberColor temperature in Mireds (turn_on)
effectstringLight effect (turn_on)
entity_id *stringLight entity_id
rgb_colorarrayRGB color [r,g,b] (turn_on)
transitionnumberTransition seconds (turn_on)
list_devicesList all available Home Assistant devices with optional filtering
ParameterTypeDescription
areastringFilter devices by area
domainstringFilter devices by domain
floorstringFilter devices by floor
locksList all locks or get the state of a specific lock.
ParameterTypeDescription
action *stringRead action
entity_idstringLock entity_id (required for 'get')
locks_activateLock, unlock, or open (unlatch) physical locks. Unlocking is a security-sensitive operation.
ParameterTypeDescription
action *stringActivation action
codestringOptional PIN/code
entity_id *stringLock 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.
ParameterTypeDescription
action *stringThe maintenance analysis to perform
daysnumberNumber of days to analyze for usage patterns
entity_filterstringFilter entities by domain (e.g., 'light', 'sensor')
media_playersList all media players or get the state of a specific media player.
ParameterTypeDescription
action *stringRead action
entity_idstringMedia player entity_id (required for 'get')
media_players_activateControl media players: playback, volume, source/sound mode selection, play media on TVs and speakers.
ParameterTypeDescription
action *stringActivation action
entity_id *stringMedia player entity_id
is_volume_mutedbooleanMute state (volume_mute)
media_content_idstringMedia content ID/URL (play_media)
media_content_typestringMedia type: music/video/playlist (play_media)
sound_modestringSound mode (select_sound_mode)
sourcestringInput source (select_source)
volume_levelnumberVolume 0-1 (volume_set)
notify_activateSend notifications through Home Assistant
ParameterTypeDescription
dataobjectAdditional notification data
message *stringThe notification message
targetstringSpecific notification target (e.g., mobile_app_phone)
titlestringThe notification title
packageList HACS packages and custom components by category
ParameterTypeDescription
action *stringList installed/available packages
package_modifyInstall, uninstall, or update HACS packages
ParameterTypeDescription
action *stringLifecycle action
repositorystringRepository URL or name (required)
versionstringVersion (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.
ParameterTypeDescription
template *stringJinja2 template string to evaluate. Examples: '{{ states("sensor.temperature") }}', '{{ states.light | selectattr("state", "eq", "on") | list | count }} lights are on', '{{ now() }}'
sceneList Home Assistant scenes.
ParameterTypeDescription
action *stringList configured scenes
scene_activateActivate a pre-configured Home Assistant scene (calls scene.turn_on, actuates the underlying devices).
ParameterTypeDescription
action *stringActivate a scene
scene_id *stringScene entity ID to activate
search
ParameterTypeDescription
code *stringJavaScript 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.
ParameterTypeDescription
areaanyFilter by area (e.g., 'living_room', 'office')
attributesarrayAttribute conditions with AND logic (e.g., [{key: 'battery_level', op: '<', value: 20}])
changed_afterstringFilter entities changed after ISO timestamp
changed_withinstringFilter entities changed within duration (e.g., '5m', '1h', '24h')
device_classanyFilter by device_class (e.g., 'motion', 'door', 'temperature', 'battery')
domainanyFilter by domain (e.g., 'binary_sensor', 'sensor', 'light') - single or array
limitnumberMaximum number of results to return
outputstringOutput mode: 'minimal' (entity_ids only), 'summary' (id, state, name, device_class, last_changed), 'full' (all attributes)
patternstringGlob pattern to match entity_id or friendly_name (e.g., '*motion*', 'sensor.frigate*', '*chad*person*')
sort_bystringSort results by field
sort_orderstringSort order
statestringFilter 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.
ParameterTypeDescription
action *stringThe 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.
ParameterTypeDescription
action *stringThe scenario to apply
enable_notificationsbooleanSend notifications about actions taken
modestringFor apply_window_heating_check: 'apply' executes, 'detect' reports only
roomsarraySpecific rooms/areas to apply scenario to
temperature_reductionnumberTemperature reduction in degrees for climate control (default: 3)
stream_generatorGenerate a stream of data with configurable delay and count
ParameterTypeDescription
countnumberNumber of items to generate (1-20)
delaynumberDelay in ms between items (100-2000)
prefixstringOptional prefix for item labels
subscribe_eventsSubscribe to Home Assistant events via Server-Sent Events (SSE) - monitor real-time device and system state changes
ParameterTypeDescription
domainstringDomain to monitor (e.g., "light", "switch", etc.)
entity_idstringSpecific entity ID to monitor for state changes
eventsarrayList of event types to subscribe to
token *stringAuthentication token (required)
switchesList all switches or get the state of a specific switch (smart plugs, relays, virtual switches).
ParameterTypeDescription
action *stringRead action
entity_idstringSwitch entity_id (required for 'get')
switches_activateTurn switches on, off, or toggle.
ParameterTypeDescription
action *stringActivation action
entity_id *stringSwitch 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.
ParameterTypeDescription
actionstringAction to perform: 'generate' (generate URL only), 'play' (play previous), 'speak' (generate and play)
cachebooleanWhether to cache generated audio (default: true)
languagestringLanguage code (e.g., 'en', 'de', 'es', 'fr'). Defaults to service language setting.
media_player_idstringOptional entity_id of media player to play audio on (e.g., 'media_player.living_room')
providerstringTTS provider (e.g., 'google_translate', 'microsoft_tts', 'openai_tts'). If not specified, uses default.
text *stringThe text to convert to speech
todoList Home Assistant to-do lists or get items from a specific list.
ParameterTypeDescription
action *stringThe read action to perform
entity_idstringThe entity ID of the to-do list (required for get_items)
statusstringStatus filter for get_items (default: both)
todo_modifyAdd, update, or remove items in a Home Assistant to-do list.
ParameterTypeDescription
action *stringThe modify action
descriptionstringDescription for the item (optional for add_item, update_item)
due_datestringDue date for the item, e.g. YYYY-MM-DD (optional for add_item, update_item)
due_datetimestringDue datetime for the item (optional for add_item, update_item)
entity_id *stringThe entity ID of the to-do list
item *stringThe name of the to-do item
renamestringNew name for the item (optional for update_item)
statusstringStatus 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.
ParameterTypeDescription
action *stringAction to perform with traces
domainstringDomain to query traces for (automation or script)
item_idstringInternal 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_idstringSpecific trace run_id from the list results (required for 'get' action)
vacuumsList all robot vacuums or get the state of a specific vacuum.
ParameterTypeDescription
action *stringRead action
entity_idstringVacuum entity_id (required for 'get')
vacuums_activateControl robot vacuums: start/pause/stop, return to dock, spot cleaning, locate, fan speed, vendor-specific commands.
ParameterTypeDescription
action *stringActivation action
commandstringVendor-specific command (send_command)
entity_id *stringVacuum entity_id
fan_speedstringFan speed/suction level (set_fan_speed)
paramsobjectOptional params for send_command
validation_demoDemonstrates parameter validation with Zod schemas
ParameterTypeDescription
preferencesobjectUser preferences
tagsarrayOptional list of tags (1-5)
userobjectUser 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.
ParameterTypeDescription
contextobjectThe current room context
transcription *stringThe voice transcription to parse into a command
use_aibooleanWhether to use Claude AI parsing
voice_command_executor_activateExecute parsed voice commands through Home Assistant. Maps intents to service calls and controls devices.
ParameterTypeDescription
action *stringThe action to execute
entitiesarrayList of entities mentioned in the command
intent *stringThe parsed intent from the voice command
parametersobjectAdditional parameters extracted from the command
targetstringThe 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.
ParameterTypeDescription
contextobjectThe current room context
languagestringLanguage code (e.g., 'en', 'de', 'es', 'fr'). Auto-detected if not provided.
transcription *stringThe 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
Questions

About Homeassistant

How do I install Homeassistant?

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

Is Homeassistant safe to use with an AI agent?

Its trust score is 61 out of 100 (good). It passes all 1 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Homeassistant still maintained?

Yes — the last commit was 16 days ago. The repository has 58 stars and 22 forks.

What tools does Homeassistant provide?

Conduid read 61 tools from the source: addon, addon_modify, alarms, alarms_activate, animation_control, animation_control_activate, automation, automation_activate and 53 more. 59 of them publish their parameters, listed under Tools above.