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.
Overview
Mercure defines a protocol for publishing updates to web browsers and HTTP clients in a way that stays efficient on batteries and networks. It fits reactive web and mobile apps that need real-time changes to resources exposed through REST or GraphQL APIs.
Publishing is an authenticated HTTP POST; subscribing uses standard EventSource in the browser. The same pattern works across platforms without locking clients to a proprietary SDK. Use cases described include live dashboards, in-app notifications, LLM token streaming, agent progress, async job status, and GraphQL subscriptions over HTTP.
A production-grade open hub implementation is written in Go and ships with an official Docker image. A Go library lets applications speak the protocol without a separate hub. Managed hosting is offered separately, but the open hub is MIT-licensed and intended for self-hosting without caps.
The hub builds on Caddy and is used with frameworks such as Symfony’s real-time component. Enterprise options add clustering, alternative message transports, and compliance-oriented controls, while the core OSS hub remains deployable on your own infrastructure.
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
- No required client SDK
- Symfony ecosystem integration
Use cases
- Live dashboards and sensor feeds
- In-app notification fan-out
- LLM response token streaming
- Long-running job progress in the browser
- Collaborative presence and editing sync
Does the same job as
Mercure doesn't name these products itself, but its own description shows it does the same job.