FREEDOM251

Freedom251 › Message Broker Software

Mochi MQTT

Free plan APILinuxSelf-hosted

Visit Mochi MQTT Alternatives Pricing

Mochi MQTT's own site

What Mochi MQTT is

Mochi MQTT is an open-source Go broker and server for telemetry and Internet of Things projects. It can run as a standalone binary or be embedded as a library. The broker implements MQTT 5 and supports MQTT 3.1.1 and 3.0 clients, with QoS 0, 1, and 2, retained messages, shared subscriptions, topic aliases, and message and client session expiry. Built-in listeners include TCP, WebSocket, Unix sockets, HTTP statistics, and HTTP health checks, with TLS configurable on listeners. A stackable event-hook system supports custom integrations for authentication, storage, debugging, and broker lifecycle events. Built-in storage hooks support Redis, BadgerDB, and PebbleDB; the BoltDB hook is deprecated. Access defaults to deny-all, and a rule-based authentication and access-control hook is included. The default maximum message expiry interval is 24 hours. The project documents building and running the broker with Go and offers the mochimqtt/server Docker image. It is licensed under MIT.

Who it suits

It suits developers building telemetry or IoT systems who want a self-hosted MQTT broker or an embeddable Go library.

What it does well

  • Supports MQTT 5 and earlier listed clients
  • Offers TCP, WebSocket, and Unix socket listeners
  • Built-in storage hooks include Redis and PebbleDB
  • Access defaults to deny-all

What to know first

  • BoltDB storage hook is deprecated
  • File configuration supports only built-in hooks and listeners
  • Inline subscriptions support QoS 0 only

Plans

PlanBilled and limitsPrice
Mochi MQTT ServerOpen-source MQTT broker/server; standalone binary or embeddable Go libraryFree

As github.com lists them, read 4 Oct 2026. The maker's own page has the final word.

Verdict

Mochi MQTT offers multiple deployment options, protocol versions, listeners, and extension hooks. Note its configuration and inline-client limits, and avoid the allow-all authentication hook on untrusted networks.

Facts from Mochi MQTT's own pages

Authentication and ACL
The broker defaults to deny-all access and includes a rule-based authentication and access-control ledger hook. · github.com, 4 Oct 2026
Configuration limit
File-based configuration currently supports only built-in hooks and listeners, with at most one instance of each configured hook type. · github.com, 4 Oct 2026
Default limit
The default maximum message expiry interval is 24 hours, which the project says helps limit denial-of-service exposure from accumulating retained or in-flight messages. · github.com, 4 Oct 2026
Deployment
The project documents building and running the broker with Go and provides an official Docker image named mochimqtt/server. · github.com, 4 Oct 2026
Embedded client limit
The inline client does not support shared subscriptions, and inline subscriptions support QoS 0 only. · github.com, 4 Oct 2026
Extensibility
A stackable event hook system supports custom integrations for authentication, storage, debugging, and broker lifecycle events. · github.com, 4 Oct 2026
License and support
The repository identifies an MIT license and invites users to report bugs, ask questions, and request features through GitHub issues. · github.com, 4 Oct 2026
Listeners
Built-in listeners include TCP, WebSocket, Unix sockets, HTTP stats, and HTTP health checks, with TLS configurable on listeners. · github.com, 4 Oct 2026
MQTT features
Supported features include QoS 0, 1, and 2, retained messages, shared subscriptions, topic aliases, message expiry, and client session expiry. · github.com, 4 Oct 2026
Persistence integrations
Built-in storage hooks support Redis, BadgerDB, and PebbleDB; the BoltDB hook is deprecated. · github.com, 4 Oct 2026
Protocols
It implements MQTT 5 and supports MQTT 3.1.1 and 3.0 clients with hybrid compatibility. · github.com, 4 Oct 2026
Roadmap
The project lists cluster support and enhanced metrics support as roadmap items. · github.com, 4 Oct 2026
Security guidance
The project warns that its allow-all authentication hook should be used only for development, testing, or debugging, not on the internet or untrusted networks. · github.com, 4 Oct 2026
What it does
Mochi MQTT is an embeddable Go broker/server for telemetry and Internet of Things projects, available as a standalone binary or library. · github.com, 4 Oct 2026

Where Mochi MQTT stands on Freedom251

Look at these too