Home Assistant MCP server for AI assistants

Home Assistant MCP server for AI assistants

advanced-homeassistant-mcp•byjango-blockchained

An MCP server that connects AI assistants like Claude and GPT to Home Assistant, exposing 50+ smart-home tools across STDIO and HTTP transports.

License: MIT•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Provides 50+ tools spanning lights, climate, media, locks, covers, fans, vacuums, alarms, scenes, and automations for smart-home control.
  • •Offers three transports: STDIO for local editors, HTTP+WS with JWT auth and rate limiting, and a lightweight fastmcp HTTP transport.
  • •Supports maintenance and analysis tools including orphaned device detection, battery warnings, and energy analysis.

BEST FOR

  • •Controlling Home Assistant devices by natural-language command through an AI assistant.
  • •Querying home state, history, and energy consumption from an assistant.
  • •Running local, privacy-focused voice control with wake word detection and speech-to-text.

ABOUT ADVANCED-HOMEASSISTANT-MCP

Home Assistant MCP server for AI assistants is cataloged as an MCP server attributed to jango-blockchained. An MCP server that connects AI assistants like Claude and GPT to Home Assistant, exposing 50+ smart-home tools across STDIO and HTTP transports. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Home Assistant MCP server for AI assistants are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which transports does the server support?

It supports STDIO for local editors, HTTP+WS for remote AI hosts, and a lightweight fastmcp HTTP transport.

Does it support voice control?

Yes, it offers wake word detection, local speech-to-text, and microphone access as optional speech features.

上游原版 README

在 GitHub 查看同一版本原文

README.md · b1aa766ab6c7 · 采集于 2026-11-13 08:59:01 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

🏠 Home Assistant MCP

Smithery Release npm Docker CI Bun Node License

Talk to your house. Your AI assistant (Claude, GPT, Cursor, Copilot) — connected to Home Assistant through the Model Context Protocol. 50+ tools, three transports, one bunx command.

# ⚡ Fastest way to try it
bunx github:jango-blockchained/advanced-homeassistant-mcp

🚀 Quick Start

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

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "homeassistant-mcp": {
      "command": "bunx",
      "args": ["github:jango-blockchained/advanced-homeassistant-mcp"],
      "env": {
        "HASS_HOST": "http://your-ha-instance:8123",
        "HASS_TOKEN": "your_long_lived_access_token"
      }
    }
  }
}

Restart Claude. You're done. Ask it to turn on the lights.

Cursor / VS Code

Cursor — add to .cursor/mcp.json
{
  "mcpServers": {
    "homeassistant-mcp": {
      "command": "bunx",
      "args": ["github:jango-blockchained/advanced-homeassistant-mcp"],
      "env": {
        "HASS_HOST": "http://your-ha-instance:8123",
        "HASS_TOKEN": "your_long_lived_access_token"
      }
    }
  }
}
VS Code + MCP Extension

Set your env vars in a .env file and use the pre-configured .vscode/mcp.json:

{
  "mcp.servers": {
    "homeassistant-mcp": {
      "type": "stdio",
      "command": "bun",
      "args": ["run", "dist/stdio-server.mjs"],
      "env": {
        "HASS_HOST": "${env:HASS_HOST}",
        "HASS_TOKEN": "${env:HASS_TOKEN}"
      }
    }
  }
}

Smithery (One-Click)

Install directly from the Smithery registry — no config files needed:

npx @smithery/cli install @jango-blockchained/advanced-homeassistant-mcp --client claude

📦 All Install Options

MethodCommand
Smithery (easiest)npx @smithery/cli install @jango-blockchained/advanced-homeassistant-mcp --client claude
bunx (no install)bunx github:jango-blockchained/advanced-homeassistant-mcp
npxnpx @jango-blockchained/homeassistant-mcp@latest
Dockerdocker run -d -p 7123:7123 --env-file .env ghcr.io/jango-blockchained/advanced-homeassistant-mcp:1.7.0
From sourcegit clone ... && bun install && bun run build:all && bun run start:stdio
npm globalnpm add -g @jango-blockchained/homeassistant-mcp && homeassistant-mcp

Available Docker tags:

  • latest - Latest stable release
  • 1.7.3, 1.7, 1 - Tagged versions
  • dev - Latest development build from main branch

🎯 What You Can Do

Once connected, you talk to your house like you talk to a human:

"Turn off all lights in the bedroom"
"Set the thermostat to 72°F"
"Lock all doors and start the vacuum"
"Show me energy consumption this week"
"What's the temperature in the living room?"
"Activate the movie scene"
"Notify everyone that dinner is ready"
"Check my Home Assistant health"
"Find orphaned devices with low battery"
"Analyze my light usage patterns"

Every command maps to one of 50+ tools — lights, climate, media, locks, covers, fans, vacuums, alarms, scenes, automations, notifications, history, energy monitoring, maintenance, and more.

Full tool reference (all 50+ tools)
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
Switcheslist, get, turn on/off/toggle
Sceneslist, activate named scene
Automationslist, toggle, trigger, create/edit/delete
Notificationspush alerts via HA channels
Historyquery historical states
Add-onsinstall, configure, control
PackagesHACS integrations and custom components
Maintenanceorphaned devices, battery warnings, energy analysis
Smart Scenariosnobody-home mode, window/heat conflicts, energy waste
Lightinganimations, scenarios, showcase, BPM/beat detection
Voicewake word detection, speech-to-text, voice commands
Dashboardquery and manage Lovelace dashboards
Templatesrender Jinja2 templates via HA
To-Do Listsadd, update, remove items
Tracesautomation/script execution traces
Searchfull-text entity search with filters
Entity Stateget current state of any entity
Error Logquery HA error logs with filtering

Full docs: Tools Reference


🎙️ Speech Features (Voice Control)

Transform your setup into a fully voice-controlled smart home assistant. The speech integration provides local, privacy-focused voice processing.

  • Wake Word Detection: Powered by wyoming-openwakeword (default: "Hey Jarvis").
  • Speech-to-Text: Fast, local transcription using faster-whisper.
  • Audio Integration: Direct PulseAudio integration for seamless microphone access.

To enable speech features, use the dedicated Docker Compose file:

docker-compose -f docker-compose.speech.yml up -d

See the Speech Features Guide for detailed configuration and setup instructions.


🧱 Architecture

┌──────────────┐     ┌─────────────────────┐     ┌──────────────────┐
│  AI Assistant │◄───►│   Home Assistant    │◄───►│  Your Smart Home │
│ (Claude/GPT)  │     │    MCP Server       │     │  (Home Assistant)│
└──────────────┘     └─────────────────────┘     └──────────────────┘
                         │           │
                    ┌────┘           └────┐
                    ▼                     ▼
              ┌────────────┐      ┌──────────────┐
              │  HTTP/WS   │      │    STDIO     │
              │ (Express)  │      │ (fastmcp v3) │
              └────────────┘      └──────────────┘

Three transports, one codebase. Pick the one that fits your setup — all expose the same 50+ tools.

  • STDIO — for Claude Desktop, Cursor, VS Code (local editor integrations)
  • HTTP+WS — for remote AI hosts, with JWT auth, rate limiting, and WebSocket streaming
  • HTTP (fastmcp) — lightweight HTTP transport without bespoke middleware

⚙️ Configuration

Minimal setup. Two variables are required:

HASS_HOST=http://homeassistant.local:8123
HASS_TOKEN=eyJ...                          # long-lived access token

Optional:

PORT=7123                                  # HTTP server port (default: 4000)
LOG_LEVEL=info                             # debug | info | warn | error
JWT_SECRET=...                             # for HTTP/WS auth (min 32 chars)

For the full list of 20+ environment variables, see the Configuration docs.


🛠️ Development

bun install              # install dependencies
bun run build:all        # build all three entry points
bun test                 # run test suite (80% coverage threshold)
bun run lint             # ESLint + Prettier
bun run typecheck        # TypeScript type checking

Built with Bun, TypeScript, and fastmcp. Three entry points:

  • dist/index.cjs — HTTP+WS on a custom Express-based MCP server
  • dist/stdio-server.mjs — STDIO via fastmcp v3
  • dist/http-server.mjs — HTTP via fastmcp v3

📖 Docs

Full documentation lives at jango-blockchained.github.io/advanced-homeassistant-mcp — covers installation, configuration, all 50+ tools, deployment (HTTP, STDIO, Smithery), architecture deep-dives, and guides.


🤝 Contributing

PRs welcome. Keep it simple — same code style, add tests, update docs if you touch public APIs.

  1. Fork it
  2. Branch it
  3. Code it
  4. Test it
  5. PR it

See CONTRIBUTING.md for the full guidelines.


📄 License

MIT — go build something cool.


Your smart home speaks MCP. Now your AI speaks it too. 🏠⚡🤖🔋

Batteries included. 🔋

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Home Assistant MCP server for AI assistants from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/advanced-homeassistant-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops