Home Automation & IoT · AI Chatbot

Hass MCP logo

Hass MCP

voska/hass-mcp

A Model Context Protocol (MCP) server for Home Assistant integration with Claude and other LLMs.

Install

docker run -i --rm -e HA_URL -e HA_TOKEN voska/hass-mcp

Client configuration

{
  "mcpServers": {
    "hass-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "HA_URL",
        "-e",
        "HA_TOKEN",
        "voska/hass-mcp"
      ],
      "env": {
        "HA_URL": "<HA_URL>",
        "HA_TOKEN": "<HA_TOKEN>"
      }
    }
  }
}

Environment variables

HA_URLHA_TOKEN
GitHub stars
60
Author
@voska
Category
Home Automation & IoT, AI Chatbot
License
MIT
Updated
Oct 6, 2026

About Hass MCP

Hass-MCP enables AI assistants like Claude to interact directly with your Home Assistant instance, allowing them to:

Features

  • Entity Management: Get states, control devices, and search for entities

  • Domain Summaries: Get high-level information about entity types

  • Automation Support: List and control automations

  • Guided Conversations: Use prompts for common tasks like creating automations

  • Smart Search: Find entities by name, type, or state

  • Live Dashboard Editing: Read and edit Lovelace dashboards (cards and views) over Home Assistant's WebSocket API — changes appear instantly in open browsers, with automatic backups and a dry-run…

  • Token Efficiency: Lean JSON responses to minimize token usage

Tools (19)

  • get_version

    Get the Home Assistant version

  • get_entity

    Get the state of a specific entity with optional field filtering

  • entity_action

    Perform actions on entities (turn on, off, toggle)

  • list_entities

    Get a list of entities with optional domain filtering and search

  • search_entities_tool

    Search for entities matching a query

  • domain_summary_tool

    Get a summary of a domain's entities

  • list_automations

    Get a list of all automations

  • call_service_tool

    Call any Home Assistant service

  • restart_ha

    Restart Home Assistant

  • get_history

    Get the state history of an entity (last N hours)

  • get_history_range

    Get state-change history for an entity over an explicit date/time range (start_time / end_time, ISO-8601)

  • get_statistics

    Get long-term aggregated statistics (mean / min / max per bucket) for an entity over the last N hours — works for data older than the recorder's short-term…

  • get_statistics_range

    Same, but for an explicit date/time range — useful for monthly / yearly trend queries

  • get_error_log

    Get the Home Assistant error log, with optional level / integration / search_term / lines filters applied server-side so noisy logs don't blow Claude's context

  • get_dashboard_config

    Get a dashboard's full config

  • set_dashboard_config

    Replace a dashboard's full config (low-level)

  • add_card

    update_card / remove_card / move_card: Edit cards within a view (the view is selected by index, or by its path / title)

  • add_view

    remove_view / update_view: Edit a dashboard's views

  • list_dashboard_backups

    restore_dashboard: List and roll back to the automatic pre-save backups

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux
LibreChat logo

LibreChat

Web · Free · MIT

An extensible open-source AI chat platform. Supports multiple AI providers and MCP servers.

Web

Related MCP servers

More servers
rulego logo

rulego

rulego/rulego

1.1k

RuleGo also provides a large number of reusable components that support the aggregation, filtering, distribution, transformation, enrichment, and execution of various actions on data, and can also interact and integrate with various protocols and systems.

Home Automation & IoT
Homeassistant MCP logo

Homeassistant MCP

tevonsb/homeassistant-mcp

246

A powerful bridge between your Home Assistant instance and Language Learning Models (LLMs), enabling natural language control and monitoring of your smart home devices through the Model Context Protocol (MCP). This server provides a comprehensive API for managing your entire Home Assistant ecosystem, from device control to system administration.

Home Automation & IoT
MCP Server Apple Shortcuts logo

MCP Server Apple Shortcuts

recursechat/mcp-server-apple-shortcuts

145

A Model Context Protocol (MCP) server that lets AI assistants like Claude control Apple Shortcuts automations. This enables AI models to trigger shortcuts and automate tasks on macOS in a safe and controlled way.

Home Automation & IoT
Siri Shortcuts logo

Siri Shortcuts

dvcrn/mcp-server-siri-shortcuts

115

This MCP server provides access to Siri shortcuts functionality via the Model Context Protocol (MCP). It allows listing, opening, and running shortcuts from the macOS Shortcuts app.

Home Automation & IoT
MCP Server Home Assistant logo

MCP Server Home Assistant

allenporter/mcp-server-home-assistant

45

A Model Context Protocol Server for Home Assistant. See Model Context Protocol for context.

Home Automation & IoT
3D Printer Manager logo

3D Printer Manager

dmontgomery40/mcp-3d-printer-server

42

An MCP server that connects Claude, Codex, and other MCP clients to 3D printers running OctoPrint, Klipper (Moonraker), Duet, Repetier-Server, Bambu Lab, PrusaLink or Prusa Connect, and Creality.

Home Automation & IoT