Home Assistant MCP

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Provides a Model Context Protocol Server for Home Assistant, allowing Claude to interact with Home Assistant through the MCP protocol. Requires a Home Assistant instance with a long-lived access token.

mcp-server-home-assistant

Home Assistant用のモデルコンテキストプロトコルサーバー。コンテキストについては、モデルコンテキストプロトコルを参照してください。

この統合に必要なカスタム コンポーネントは、 https://github.com/home-assistant/core/pull/134122で Home Assistant Core に移行しています。

Claude Desktopでの使用

  1. Home Assistantインスタンスにhome-assistant-model-context-protocolカスタムコンポーネントをインストールします。
  2. 長期アクセストークンを作成する
  3. このgitリポジトリ/Users/allen/Development/mcp-server-home-assistantのようなパスにクローンします。
  4. claude_desktop_config.jsonを次のように編集し、ホーム アシスタントの URL と API トークンを追加します。
    { "mcpServers": { "Home-assistant": { "command": "uv", "args": [ "--directory", "/Users/allen/Development/mcp-server-home-assistant", "run", "mcp-server-home-assistant", "-v", "-v" ], "env": { "HOME_ASSISTANT_WEB_SOCKET_URL": "http://localhost:8123/api/websocket", "HOME_ASSISTANT_API_TOKEN": "byJhbVci0iJIUzI1ii1sInR5cCI6IkpXVCJ9..... } } } }
  5. 何が起こっているかを理解するために、ログ(例: ~Library/Logs/Claude/mcp-server-Home-assistant.logを参照できます。
-
security - not tested
A
license - permissive license
-
quality - not tested

ホームコントロールを可能にするモデルコンテキストプロトコルサーバーを通じて、すべての Home Assistant 音声インテントを公開します。

  1. Usage in Claude Desktop
    ID: e4g8l8fy1p