LocalFree

ha MCP server

homeassistant-ai/ha-mcp

Comprehensive Model Context Protocol server for managing Home Assistant through AI assistants.

5,378 GitHub stars258 forks

Install ha in Claude Code

PyPI (uv)

Claude Code
claude mcp add ha -- uvx ha-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "ha": {
      "command": "uvx",
      "args": [
        "ha-mcp"
      ]
    }
  }
}

Docker

Claude Code
claude mcp add ha -- docker run -i --rm ghcr.io/homeassistant-ai/ha-mcp:9.0.0
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "ha": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/homeassistant-ai/ha-mcp:9.0.0"
      ]
    }
  }
}

Frequently asked questions

What does the ha MCP server do?

Comprehensive Model Context Protocol server for managing Home Assistant through AI assistants.

Is the ha MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does ha run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add ha to Claude Code?

Run: claude mcp add ha -- uvx ha-mcp

More ai agents & coding agents MCP servers

View all