Skip to content
← All builds
Build an ESP32 AI voice robot with XiaoZhi and MCP: media published by 78/xiaozhi-esp32
Build an ESP32 AI voice robot with XiaoZhi and MCP: media published by 78/xiaozhi-esp32Credit: 78/xiaozhi-esp32
Build an ESP32 AI voice robot with XiaoZhi and MCP: media published by 78/xiaozhi-esp32 (image 2)
Build an ESP32 AI voice robot with XiaoZhi and MCP: media published by 78/xiaozhi-esp32 (image 3)

Build an ESP32 AI voice robot with XiaoZhi and MCP

Desk, Medium

XiaoZhi is an open-source ESP32 voice chatbot that talks to large models and controls devices through MCP; the community uses it as the brain for robot dogs and desk bots.

It supports 170+ board variants, needs ESP-IDF 6.x, and lists builds like the ESP-HI low-cost robot dog. MCP tools let the model move servos or toggle hardware.

Hardware & cost: An ESP32-S3 board with mic, speaker and screen, often $15-40.

Difficulty: Medium.

Agent install prompt (paste into Claude Code, Cursor or Codex): "Clone https://github.com/78/xiaozhi-esp32, install ESP-IDF 6.x, build for my board, flash it, and add an MCP tool that moves a servo when I ask."

Source: 78/xiaozhi-esp32 on GitHub — https://github.com/78/xiaozhi-esp32 (facts checked against the project README, Oct 2026; prices vary by region).

Quick answers

What do you need to build an ESP32 AI voice robot with XiaoZhi and MCP?
An ESP32-S3 board with mic, speaker and screen, often $15-40.
How hard is it to build an ESP32 AI voice robot with XiaoZhi and MCP?
Medium.

Ideas to try with it

Our ideas, not the builder's claims.

  1. Use it as the voice brain for a robot dog or desk bot
  2. Ask it to turn on a lamp through a device-side MCP tool
  3. Give it a custom wake word and personality
1 more idea
  1. Hook it to a local model server so voice stays on your network
Source
78/xiaozhi-esp32 on GitHub
Last commit
2026-11-01
Builder
78
Repo
78/xiaozhi-esp32, 32,540 stars
Built with
ESP32

Guides: How to set up Anki Vector with wire-pod (2026) · Give your AI agent a robot body · Codex and ChatGPT hardware projects people actually built · Cheap ESP32 robot projects you can build · Robots you can build with AI · AI hardware for robot and agent builds

What to build next

Builds that share a board, robot or agent with this one.