MCP Catalogs
Homehass-mcp screenshot

hass-mcp

by voska·296·Score 48

Hass-MCP enables AI assistants to interact with Home Assistant through device control, entity queries, and automation management.

home-automationai-llmdeveloper-tools
48
Forks
14
Open issues
10 mo ago
Last commit
2d ago
Indexed

Overview

Hass-MCP is a comprehensive MCP server that bridges AI assistants with Home Assistant smart home systems. It provides tools for querying device states, controlling lights and switches, managing automations, and troubleshooting issues. The server implements multiple MCP endpoints including tools for entity actions, domain summaries, and automation support, along with resources for accessing detailed entity information. With optimized JSON responses for token efficiency, it's designed for seamless integration with Claude Desktop and other MCP-compatible clients.

Try asking AI

After installing, here are 6 things you can ask your AI assistant:

you:Control smart home devices through natural language commands
you:Troubleshoot automations and identify issues with entities
you:Generate Home Assistant automations based on conversation context
you:Summarize and analyze smart home usage patterns
you:What permissions does Hass-MCP require?
you:Can I use Hass-MCP with other AI assistants besides Claude?

When to choose this

Choose Hass-MCP if you want AI-powered control of your Home Assistant smart home devices through natural language interactions.

When NOT to choose this

Don't choose Hass-MCP if you use a smart home platform other than Home Assistant or need advanced automation not supported by the available tools.

Tools this server exposes

12 tools extracted from the README
  • 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

  • get_error_log

    Get the Home Assistant error log

  • create_automation

    Guide for creating Home Assistant automations based on trigger type

Comparable tools

ha-shell-mcpopenhab-mcphome-assistant-integration

Installation

Docker Installation (Recommended)

  1. Pull the Docker image:
docker pull voska/hass-mcp:latest
  1. Add to Claude Desktop config:
{
  "mcpServers": {
    "hass-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "HA_URL",
        "-e",
        "HA_TOKEN",
        "voska/hass-mcp"
      ],
      "env": {
        "HA_URL": "http://homeassistant.local:8123",
        "HA_TOKEN": "YOUR_LONG_LIVED_TOKEN"
      }
    }
  }
}
  1. Replace token and URL, then restart Claude Desktop.

FAQ

What permissions does Hass-MCP require?
Hass-MCP needs a Home Assistant long-lived access token with sufficient permissions to control devices and access entity data.
Can I use Hass-MCP with other AI assistants besides Claude?
Yes, Hass-MCP is compatible with any MCP client that implements the Model Context Protocol, including Cursor and Claude Code CLI.

On Hacker News

Recent discussion from the developer community.

Compare hass-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.