xiaozhi-esp32

ESP32 voice chatbot firmware with device and cloud MCP control

Local

Install

See setup instructions on xiaozhi.me

What it does

xiaozhi-esp32 is open-source firmware for ESP32 boards that turns them into voice assistants. Speech is captured from a wake word onward, streamed as Opus audio, and processed by large models such as Qwen or DeepSeek, with replies spoken through text-to-speech. Communication runs over WebSocket or a combination of MQTT and UDP. Hardware support is broad: many Espressif chipsets and a large set of off-the-shelf boards are covered, with Wi-Fi, Ethernet, USB, or optional cellular networking. A device-side MCP interface exposes hardware such as speakers, LEDs, servos, and GPIO pins, while cloud-side MCP tools extend the assistant to smart home control, desktop work, and search. Includes speaker recognition, displays with expressions, and camera input on supported boards. Beginners can flash prebuilt firmware and use the official hosted service; developers need ESP-IDF 6.0.1 or newer, and 5.x builds are no longer supported. Local servers exist separately. The project is MIT licensed.

Compatibility and authentication

Connection
Local
Transports
Unspecified
Authentication
Unknown

Security and permissions

  • When you run the server locally, it runs with your user permissions.
  • Authentication type: Unknown.

Repository data

Stars
33,653
Last push
Nov 21, 2026
License
MIT
Archived
No

FAQ

What license does xiaozhi-esp32 use?
MIT
Does xiaozhi-esp32 run locally or remotely?
It runs locally.
Is xiaozhi-esp32 an official server?
It is listed as a community server.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/mcp/xiaozhi-esp32"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options