part 1 - Claude Code + ha mcp server for Home Assistant
I use Claude Code (Anthropic’s AI assistant) directly into Home Assistant. With it, you can create automations, debug configurations, and manage your smart home using natural language through Claude Code.
Table of Contents
What does it do?
Create automations by describing what you want in plain English
Access your entities - Claude can see your sensors, lights, climate, etc.
Edit YAML configurations directly
Debug automations that aren’t working
Usage examples
claude “List all my automations”
claude “Create an automation to turn off lights when I leave home”
claude “Why isn’t my motion sensor automation working?”
claude “Show the state of all temperature sensors”
How does it work?
The HA-MCP Custom Component from HACS uses ha-mcp server(Model Context Protocol) which allows Claude to:
Query entity states
Control devices
List available services
Access the entire Home Assistant API
Requirements
Home Assistant Docker
Anthropic account
Comments
Comments are closed