home-assistant-blade-mcp

v0.8.0
home-assistant-blade-mcp Checked 18 hours ago Published 5 months ago

Home Assistant MCP Server — entities, control, automations, history, energy, multi-site

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ha_info Ha Info

Health check: instances, connection status, HA version, component count, write gate status.

ParameterTypeDescription
instanceTarget HA instance (omit for all)

ha_config Ha Config

HA configuration: location, units, elevation, currency, time zone, component count.

ParameterTypeDescription
instanceTarget HA instance (omit for all)

ha_error_log Ha Error Log

Recent error log entries from Home Assistant.

ParameterTypeDescription
instanceTarget HA instance (omit for all)
linesintegerNumber of recent log lines

ha_areas Ha Areas

List all areas with floor assignment and aliases. Uses WebSocket registry. Sorted by area_id ascending.

ParameterTypeDescription
instanceTarget HA instance (omit for all)

ha_devices Ha Devices

List devices, optionally filtered by area or manufacturer. Uses WebSocket registry.

ParameterTypeDescription
areaFilter by area_id
instanceTarget HA instance (omit for all)
limitintegerMax results
manufacturerFilter by manufacturer name
scopeDD-278 scope tag — home/family/personal accepted; out-of-vocab rejected

ha_entities Ha Entities

List entities from the registry with metadata (area, device, platform, labels). Uses WebSocket.

ParameterTypeDescription
areaFilter by area_id
domainFilter by domain (e.g. light, sensor)
instanceTarget HA instance (omit for all)
labelFilter by label
limitintegerMax results
scopeDD-278 scope tag — home/family/personal accepted; out-of-vocab rejected

ha_floors Ha Floors

List floors with their level and icon. Uses WebSocket registry. Sorted by floor_id ascending.

ParameterTypeDescription
instanceTarget HA instance (omit for all)

ha_labels Ha Labels

List all labels with color and description. Uses WebSocket registry. Sorted by label_id ascending.

ParameterTypeDescription
instanceTarget HA instance (omit for all)

ha_services_list Ha Services List

List available service domains and their services. Use domain= to filter. Deterministic ordering: domains sorted ascending, service names sorted ascending (upheld by format_services).

ParameterTypeDescription
domainFilter to a specific domain
instanceTarget HA instance (omit for all)

ha_state Ha State

Get current state and attributes of a single entity.

ParameterTypeDescription
entity_id *stringEntity ID (e.g. light.living_room)
fieldsSpecific attributes to include (omit for smart defaults)
instanceTarget HA instance

ha_states Ha States

Get states for multiple entities in one call. More efficient than repeated ha_state calls. Returned entities sorted by entity_id ascending (also upheld by format_entity_list).

ParameterTypeDescription
entity_ids *arrayList of entity IDs
fieldsSpecific attributes to include
instanceTarget HA instance

ha_states_by_domain Ha States By Domain

Get all entity states in a domain (e.g. all lights, all sensors). Optional area filter.

ParameterTypeDescription
domain *stringEntity domain (e.g. light, sensor, climate)
areaFilter by area_id
fieldsSpecific attributes to include
instanceTarget HA instance
limitintegerMax results
scopeDD-278 scope tag — home/family/personal accepted; out-of-vocab rejected

ha_history Ha History

State change history for entities in a time range. Use minimal=true (default) for token efficiency.

ParameterTypeDescription
entity_ids *arrayEntity IDs to query history for
start *stringStart time (ISO 8601)
endEnd time (ISO 8601, default: now)
instanceTarget HA instance
minimalbooleanMinimal response (state changes only)

ha_logbook Ha Logbook

Logbook entries for a time range. Human-readable event descriptions.

ParameterTypeDescription
start *stringStart time (ISO 8601)
endEnd time (ISO 8601, default: now)
entity_idFilter by entity
instanceTarget HA instance
limitintegerMax entries

ha_statistics Ha Statistics

Recorder statistics (pre-aggregated). More efficient than raw ha_history for trends.

ParameterTypeDescription
entity_ids *arrayStatistic IDs (usually entity IDs)
start *stringStart time (ISO 8601)
endEnd time (ISO 8601, default: now)
instanceTarget HA instance
periodstringAggregation: 5minute, hour, day, week, month
scopeDD-278 scope tag — home/family/personal accepted; out-of-vocab rejected
typesStat types: mean, min, max, sum, change

ha_statistics_list Ha Statistics List

List available statistic IDs and their metadata. Discover what can be queried with ha_statistics. Sorted by statistic_id ascending.

ParameterTypeDescription
instanceTarget HA instance
statistic_typeFilter: mean or sum

ha_calendar_events Ha Calendar Events

Get events from a Home Assistant calendar entity in a time range.

ParameterTypeDescription
end *stringEnd time (ISO 8601)
entity_id *stringCalendar entity ID
start *stringStart time (ISO 8601)
instanceTarget HA instance

ha_call_service Ha Call Service

Generic service call. Covers any HA service domain. Requires HA_WRITE_ENABLED=true.

ParameterTypeDescription
domain *stringService domain (e.g. light, switch, cover)
service *stringService name (e.g. turn_on, set_temperature)
dataService data parameters
instanceTarget HA instance
targetTarget: {entity_id, device_id, area_id, label_id} (string or list)

ha_light Ha Light

Control lights: on/off/toggle, brightness, colour, temperature. Requires HA_WRITE_ENABLED=true.

ParameterTypeDescription
actionstringon, off, or toggle
areaTarget all lights in area
brightnessBrightness 0-255
color_tempColor temperature in mireds
entity_idLight entity ID
instanceTarget HA instance
rgb_colorRGB color [r, g, b]
transitionTransition time in seconds

ha_climate Ha Climate

Control HVAC: mode, temperature, fan, preset. Requires HA_WRITE_ENABLED=true.

ParameterTypeDescription
areaTarget all climate in area
entity_idClimate entity ID
fan_modeFan mode: auto, low, medium, high
hvac_modeHVAC mode: heat, cool, heat_cool, auto, dry, fan_only, off
instanceTarget HA instance
preset_modePreset: away, home, eco, boost
target_temp_highUpper target for heat_cool
target_temp_lowLower target for heat_cool
temperatureTarget temperature

ha_scene Ha Scene

Activate a scene. Requires HA_WRITE_ENABLED=true.

ParameterTypeDescription
entity_id *stringScene entity ID (e.g. scene.movie_night)
instanceTarget HA instance

ha_lock Ha Lock

Lock or unlock a door. Security-sensitive: requires HA_WRITE_ENABLED=true AND confirm=true.

ParameterTypeDescription
actionstringlock, unlock, or open
areaTarget all locks in area
codeLock code if required
confirmbooleanMust be true — security-sensitive operation
entity_idLock entity ID
instanceTarget HA instance

ha_alarm Ha Alarm

Arm, disarm, or trigger an alarm panel. Security-sensitive: requires confirm=true.

ParameterTypeDescription
action *stringarm_away, arm_home, arm_night, disarm, or trigger
entity_id *stringAlarm control panel entity ID
codeAlarm code if required
confirmbooleanMust be true — security-sensitive operation
instanceTarget HA instance

ha_automations Ha Automations

List all automations with state (on/off) and last triggered time. Sorted by entity_id ascending.

ParameterTypeDescription
instanceTarget HA instance
limitintegerMax results

ha_automation_get Ha Automation Get

Get full YAML configuration of an automation by ID.

ParameterTypeDescription
automation_id *stringAutomation ID (from entity_id after 'automation.')
instanceTarget HA instance

ha_automation_trigger Ha Automation Trigger

Manually trigger an existing automation. Requires HA_WRITE_ENABLED=true.

ParameterTypeDescription
entity_id *stringAutomation entity ID
instanceTarget HA instance

ha_automation_toggle Ha Automation Toggle

Enable or disable an automation. Requires HA_WRITE_ENABLED=true.

ParameterTypeDescription
entity_id *stringAutomation entity ID
actionstringturn_on or turn_off
instanceTarget HA instance

ha_automation_create Ha Automation Create

Create a new automation. Requires HA_WRITE_ENABLED=true.

ParameterTypeDescription
action *arrayAction configuration list
alias *stringHuman-readable name
automation_id *stringUnique ID for the automation
trigger *arrayTrigger configuration list
conditionCondition list
descriptionAutomation description
instanceTarget HA instance
modesingle, restart, queued, parallel

ha_automation_delete Ha Automation Delete

Delete an automation. Destructive: requires HA_WRITE_ENABLED=true AND confirm=true.

ParameterTypeDescription
automation_id *stringAutomation ID to delete
confirmbooleanMust be true to confirm deletion
instanceTarget HA instance

ha_script_run Ha Script Run

Run a script with optional variables. Requires HA_WRITE_ENABLED=true.

ParameterTypeDescription
script_id *stringScript entity ID or slug
instanceTarget HA instance
variablesScript variables

ha_template Ha Template

Render a Jinja2 template server-side. Powerful for complex queries without multiple round trips.

ParameterTypeDescription
template *stringJinja2 template string
instanceTarget HA instance (omit for all)

ha_camera_snapshot Ha Camera Snapshot

Get camera snapshot URL. Returns authenticated proxy URL, not image bytes (token-efficient).

ParameterTypeDescription
entity_id *stringCamera entity ID
instanceTarget HA instance

ha_webhook Ha Webhook

Fire a webhook on the HA instance. Requires HA_WRITE_ENABLED=true.

ParameterTypeDescription
webhook_id *stringWebhook ID registered in HA
dataJSON payload
instanceTarget HA instance

ha_events Ha Events

Recent events from the logbook (poll-based). Alias for ha_logbook with event-oriented framing.

ParameterTypeDescription
start *stringStart time (ISO 8601)
endEnd time (ISO 8601, default: now)
entity_idFilter by entity
instanceTarget HA instance
limitintegerMax entries

ha_notify Ha Notify

Send a notification via HA notify service. Requires HA_WRITE_ENABLED=true.

ParameterTypeDescription
message *stringNotification message
service *stringNotify service name (e.g. mobile_app_phone)
dataExtra notification data
instanceTarget HA instance
titleNotification title