MercureOpen protocol and hub for HTTP real-time updates
NATSHigh-performance cloud and edge messaging server
Mercure vs NATS
How Mercure and NATS compare on popularity, activity, license and platforms: two open-source Messaging & Event Streaming projects, both alternatives to Ably.
At a glance
- NATS has more GitHub stars (21.3k vs 5.4k, about 4× as many).
- Both are actively maintained (last commits yesterday and today).
- Mercure uses AGPL-3.0 (copyleft); NATS uses Apache-2.0 (permissive).
- Both can be self-hosted.
- NATS is the older project (repository started 2012; Mercure in 2018).
Side by side
| Mercure | NATS | |
|---|---|---|
| GitHub stars | ★ 5,370 +5 in 7 days | ★ 21,318 +171 in 9 days |
| Forks | 351 | 2,084 |
| Last commit | yesterday | today |
| Latest version | v1.1.7 | v2.15.3 |
| Repository started | July 2018 | October 2012 |
| License | AGPL-3.0 · copyleft | Apache-2.0 · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Docker | – |
| Main language | Go | Go |
| Alternative to | Ably | Ably, Amazon SQS, PubNub |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
Mercure
Mercure pushes data updates to browsers and other HTTP clients using server-sent events. It suits async API updates, notifications, and live UIs without mandatory WebSocket client SDKs.
Key features
- Server-sent events over HTTP
- JWT-authenticated publish endpoint
- EventSource subscribe on clients
- Official Go hub and Docker image
- GraphQL subscription pattern support
- LLM token streaming use case
NATS
The NATS server is the messaging runtime for services and devices, aimed at distributed deployments from data centers to constrained edge hardware
Key features
- Many-to-many async messaging
- On-premise and cloud deployment
- Edge and IoT oriented topology
- Leaf nodes and superclusters
- Broad multi-language client ecosystem
- CNCF graduated messaging stack