LogoSTMCP
Download
hass-mcp

Hass-MCP

Hass-MCP is a Model Context Protocol server that enables AI assistants like Claude to interact directly with Home Assistant, allowing device control, state queries, automation management, and smart home troubleshooting.

Tools

1. get_version

Get the Home Assistant version.

2. get_entity

Get the state of a specific entity with optional field filtering.

3. entity_action

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

4. list_entities

Get a list of entities with optional domain filtering and search.

5. search_entities_tool

Search for entities matching a query.

6. domain_summary_tool

Get a summary of a domain's entities.

7. list_automations

Get a list of all automations.

8. call_service_tool

Call any Home Assistant service.

9. restart_ha

Restart Home Assistant.

10. get_history

Get the state history of an entity.

11. get_error_log

Get the Home Assistant error log.

Open Graph image for Hass-MCP

JSON 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"
      }
    }
  }
}

Useful Links

Information

  • Author@voska
  • Published date2025/09/22