Skip to main content
Glama
daedalus
by daedalus

mcp-homeassistant

MCP server exposing Home Assistant 2026.4.1 REST API functionality.

PyPI Python Ruff

mcp-name: io.github.daedalus/mcp-homeassistant

Install

pip install mcp-homeassistant

Related MCP server: Home Assistant MCP Server

Configuration

Set the following environment variables:

Usage

export HA_URL="http://homeassistant:8123"
export HA_TOKEN="your_long_lived_access_token"
mcp-homeassistant

Tools

The MCP server exposes the following tools:

  • get_api_status - Check if the API is running

  • get_config - Get HA configuration

  • get_components - List loaded components

  • get_events - List event types and listener counts

  • get_services - List available services by domain

  • get_states - Get all entity states

  • get_state - Get a specific entity state

  • set_state - Update or create an entity state

  • delete_state - Delete an entity state

  • fire_event - Fire a custom event

  • call_service - Call a Home Assistant service

  • render_template - Render a Jinja template

  • get_history - Get historical state changes

  • get_logbook - Get logbook entries

  • check_config - Validate configuration.yaml

  • handle_intent - Handle an intent

  • get_error_log - Get error log

  • get_calendars - List calendar entities

  • get_calendar_events - Get calendar events

Resources

  • homeassistant://config - Current config

  • homeassistant://states - All entity states

  • homeassistant://services - Available services

  • homeassistant://components - Loaded components

Development

git clone https://github.com/daedalus/mcp-homeassistant.git
cd mcp-homeassistant
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mypy src/
A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    F
    maintenance
    Enables controlling and querying Home Assistant devices and services via natural language. Supports state retrieval, listing states, and calling any Home Assistant service.
    Last updated
    215
    5
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    Enables natural language interaction with Home Assistant for managing entities, automations, services, and dashboards via the Model Context Protocol.
    Last updated
    215
    MIT

View all related MCP servers

Related MCP Connectors

  • Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

  • Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...

  • List, configure, chat with, analyse and embed your Echo AI assistants.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/daedalus/mcp-homeassistant'

If you have feedback or need assistance with the MCP directory API, please join our Discord server