How to connect Home Assistant to Claude

Connect Claude to Home Assistant and choose which smart-home entities it can see. Start with a read-only check on one known sensor.

Published by Home Assistant

How to connect Home Assistant to Claude

  1. In Home Assistant, open Settings and add the Model Context Protocol integration under Devices & services.
  2. Open Settings → System → AI and copy the MCP server URL for the tools you want to share. Review which entities those tools can access.
  3. In Claude, add a custom connector and paste that URL. For Claude Code, replace the example URL in the command below, run it, and open /mcp inside Claude Code to authorize.
  4. Ask for the current reading from one named sensor and compare it with your Home Assistant dashboard.
Claude Code · Add the Home Assistant server
claude mcp add --transport http home-assistant "https://YOUR-HOME-ASSISTANT-HOST/api/mcp"

Choose what Claude can see in Home Assistant

Use the Model Context Protocol integration to expose Home Assistant tools to Claude. Decide which tools and entities are needed before connecting the app. A request to check a room’s temperature only needs that sensor and read access.

Connect from the Claude client you use

Open Home Assistant’s MCP configuration and follow its instructions for your Claude client. Pay attention to which endpoint you select and which tool sets it exposes. Home Assistant documents how to configure the main endpoint and how remote access affects cloud clients.

Start with the smallest set of entities that answers your question. Before approving controls, check whether you are connecting a device-only tool set or a broader administrator connection.

Home Assistant’s MCP integration guide

Verify one sensor before using a routine

Ask Claude to report the current reading for a named temperature sensor. Compare the value and units with the Home Assistant dashboard. If Claude cannot find it, check whether the entity is exposed and whether the client is connected to the expected Home Assistant instance.

Browse Connectors