XiaoZhi to Home Assistant (MCP)
HACS custom integration that links the XiaoZhi ESP32 AI chatbot to Home Assistant over MCP so the voice bot can control devices.
- Hardware:
- XiaoZhi ESP32 device, Home Assistant server
- Difficulty:
- Intermediate
- Creator:
- mac8005
Control your home from a XiaoZhi ESP32 bot.

By mac8005
What it does
HACS custom integration that links the XiaoZhi ESP32 AI chatbot to Home Assistant over MCP so the voice bot can control devices.
What you need
- Difficulty
- Intermediate
- License
- No license stated
Parts
- XiaoZhi ESP32 device (board)
- Home Assistant server
- AI model or service
- XiaoZhi LLMs, MCP
Full instructions: View original
How it works
XiaoZhi's LLM calls Home Assistant entities exposed through MCP.
Like this build? Get the weekly builds
Every Thursday: the 5 best gadget hacks you can copy. Free.
Built something? Submit a build
Hardware
- XiaoZhi ESP32 device
- Home Assistant server
This page is a short summary written by HardwareLab. Build steps, code and photos belong to the creator; follow “View original” for the full project.
Featured? Add this badge
Built this? Paste the badge into your README. It links back to this page.
Markdown
[](https://hardwarelab.dev/projects/xiaozhi-ha-mcp/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w)HTML
<a href="https://hardwarelab.dev/projects/xiaozhi-ha-mcp/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w"><img src="https://hardwarelab.dev/badge.svg" alt="Featured on HardwareLab" width="188" height="20"></a>Related builds
All 14 in Smart Home
Koala Satellite
A premium ESP32-S3 + XMOS voice satellite for Home Assistant.
- ESP32-S3 DevKitC
- ReSpeaker Lite XU316
- LED strip
Intermediate163
Voice-response video doorbell
An ESP32-CAM doorbell that answers visitors.
- ESP32-CAM
- DFPlayer Mini
- speaker
Intermediate205
Sticky Remote
A reTerminal Sticky becomes a dedicated e-ink Apple TV and lights remote through Home Assistant.
- Seeed reTerminal Sticky (ESP32-S3, 3.97-inch 800×480 touch e-paper, 750 mAh battery, magnet back)
- USB-C cable
- Apple TV or another Home Assistant media_player
- +1 more
Beginner · Our suggestion6
3D Home TV OS
A Google TV home screen that is a live 3D model of your home, with the lights wired in and no ads.
- Google TV or Android TV (tested on a Philips Google TV)
- Philips Hue or other Home Assistant lights
- iPhone or iPad Pro with LiDAR (optional, for the scanner app)
- +1 more
Advanced · Our suggestion59
Visionbridge AI Glasses
ESP32 glasses firmware with voice, camera, display and MCP.
- ESP32
- camera
- display
- +1 more
Advanced5
Homeplate
TRMNL and Home Assistant dashboard on Inkplate e-ink.
- Inkplate e-ink display (ESP32)
Intermediate318