Home Assistant Model Context Protocol (MCP) MCP Server

MCP server that gives AI assistants control over your Home Assistant. Including 50+ tools over 3 transports. Batteries included 🔋

Local serverstdioTypeScript

What is the Home Assistant Model Context Protocol (MCP) MCP server?

Connect Home Assistant Model Context Protocol (MCP) to Claude, Cursor or any other MCP client and it stops being a tab you switch to. MCP server that gives AI assistants control over your Home Assistant. Including 50+ tools over 3 transports. Batteries included 🔋. The home assistant model context protocol (mcp) mcp server is what makes that connection.

What the server does

You need a Home Assistant instance and a long-lived access token (create one here).

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • latest — Latest stable release
  • dev — Latest development build from main branch
  • Speech-to-Text — Fast, local transcription using faster-whisper
  • STDIO — for Claude Desktop, Cursor, VS Code (local editor integrations)
  • Method — Command
  • Category — Tools
  • Lights — list, get, turn on/off, brightness, color temp, RGB, effects
  • Climate — list, get, HVAC modes, target temp, fan mode, humidify
  • Media — list, get, play/pause, volume, source, sound mode, shuffle
  • Covers — list, get, open/close, position, tilt, garage door
  • Locks — list, get, lock/unlock with code support
  • Fans — list, get, speed, oscillation, direction, preset

Credentials and setup notes

Configuration is passed through the environment: HASS_HOST, HASS_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

The server ships on npm as @smithery/cli, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Where it fits

Plenty of AI and media services servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Home Assistant Model Context Protocol (MCP)'s toolset — latest, dev, Speech-to-Text and 11 more — is a fair guide to whether it matches your workflow. It is maintained by jango-blockchained; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Home Assistant Model Context Protocol (MCP).
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
latestLatest stable release
devLatest development build from main branch
Speech-to-TextFast, local transcription using faster-whisper.
STDIOfor Claude Desktop, Cursor, VS Code (local editor integrations)
MethodCommand
CategoryTools
Lightslist, get, turn on/off, brightness, color temp, RGB, effects
Climatelist, get, HVAC modes, target temp, fan mode, humidify
Medialist, get, play/pause, volume, source, sound mode, shuffle
Coverslist, get, open/close, position, tilt, garage door
Lockslist, get, lock/unlock with code support
Fanslist, get, speed, oscillation, direction, preset
Vacuumslist, get, start/stop/dock, spot clean, fan speed
Alarmlist, get, arm home/away/night, disarm

How to install the Home Assistant Model Context Protocol (MCP) MCP server

{
  "mcpServers": {
    "advanced-homeassistant": {
      "command": "npx",
      "args": ["-y", "@smithery/cli"],
      "env": {
        "HASS_HOST": "your-value",
        "HASS_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
HASS_HOSTEndpoint or connection string the server talks to.Optional
HASS_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Home Assistant Model Context Protocol (MCP) to latest.
  • Use Home Assistant Model Context Protocol (MCP) to dev.
  • Use Home Assistant Model Context Protocol (MCP) to Speech-to-Text.

Frequently asked questions

A Home Assistant instance and a long-lived access token from your account profile.