Control Home Assistant from Claude Desktop via MCP

Set up Home Assistant's MCP server and connect Claude Desktop to query and control smart-home entities.

Used for
Everyday life
Skill needed
Low code
Shown in video
Partial demo
Summary based on
Transcript
Alles AutomatischWatch on YouTube

Home Assistant mit Claude Desktop steuern (MCP)

Published Oct 11, 202624:2615,631 views258 likes

Key moments

  • 16:20First successful query to Home Assistant
  • 17:55Light toggled via Claude

What they made

Claude Desktop connected to Home Assistant via MCP; it read sensor availability and turned a light on and off.

17:39

How they did it

  1. Human6:03

    Added the Model Context Protocol server integration in Home Assistant.

    Stated in video · Home Assistant
  2. Human8:22

    Exposed selected entities and created a long-lived access token.

    Stated in video · Home Assistant
  3. Human11:32

    Installed uv and the MCP proxy package.

    Stated in video · uv
  4. Human14:42

    Edited Claude Desktop config JSON to add the MCP server and token, then restarted the app.

    Stated in video · Claude Desktop
  5. AI16:20

    Claude queried Home Assistant for living room temperature and listed lights that were on.

    Stated in video · Claude Desktop
  6. AI17:55

    Claude turned the light in the S-area on and then off.

    Stated in video · Claude Desktop

What you can reuse

  • Expose only needed entities to limit request size and improve security.
  • Use a long-lived access token and delete it after testing.
  • MCP enables AI to write and debug automations, not just toggle lights.

Trade-offs

  • Requests are processed by Anthropic's cloud, so data leaves the home.
  • Fully local operation requires a local LLM and more hardware/maintenance.

AI-generated case summaries can contain mistakes. Report an error

More cases like this: Run Home Assistant with AI

Related cases

Automate a smart home

Revive a 2019 Android TV with Claude Code

A creator used Claude Code over Wi-Fi to de-bloat his old Android TV and build a custom ad-free home screen, approving each risky step…

Claude Code111.2K views