Skip to content

nats-server

Lightweight messaging server for connecting services, devices and edge systems

Permissive (OSI) · Apache-2.0
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

88

Health

Thriving

Overview

Stars

21,130

Last commit

today

Nov 2026

Repository age

14 years

since Oct 2012

Latest version

v2.15.3

Nov 2026

Contributors

–

15 active in 90 days

Releases

10

last 12 months

Language

Go

NATS is a messaging system for connecting services, devices and applications. The server is written in Go and runs on-premise, in the cloud, at the edge, and on a Raspberry Pi. It has over 40 client language implementations.

It is a Cloud Native Computing Foundation project under the Apache-2.0 license. The server runs on Linux and macOS and installs through Homebrew. A third-party security audit by Trail of Bits, arranged through OSTIF, has a published report from April 2025.

The project began in 2012 and releases regularly. It fits teams building distributed systems that need a message bus with many client libraries. It can serve as a self-hosted alternative to managed messaging services.

Who it's for

Backend teams building microservices

A small Go server and many client libraries make service messaging simple to wire up.

Skip if: You need a full streaming platform with a large connector ecosystem.

IoT and edge engineers

The server runs on small hardware such as a Raspberry Pi.

Skip if: Your devices cannot reach a central server.

Platform teams that want an open messaging layer

Apache-2.0 licensing and CNCF hosting suit long-term infrastructure choices.

Skip if: You prefer a managed service and do not want to operate servers.

The problem it solves

Distributed systems need a reliable way for services and devices to talk to each other. NATS provides a message server you can run anywhere, with client libraries for many languages.

Strengths

  • Over 40 client language implementations
  • Runs on-premise, in the cloud, at the edge and on a Raspberry Pi
  • Apache-2.0 license, CNCF project
  • Third-party security audit by Trail of Bits
  • Frequent releases: 10 in the past year

Trade-offs

  • You operate and secure the server yourself
  • Not a drop-in replacement for any single commercial product
  • Needs client library integration in each application

Self-host nats-server

Self-hostable
Yes

Frequently asked questions

Is NATS free?

Yes. It is open source under the Apache-2.0 license.

Can I self-host it?

Yes. The server runs on-premise, in the cloud and at the edge.

Which platforms does it run on?

Linux and macOS, including small devices such as a Raspberry Pi. It can be installed with Homebrew.

Which languages have clients?

There are over 40 client language implementations.

Similar tools in Integration and messaging platforms

EMQX

Integration and messaging platforms

Clustered MQTT broker for IoT device messaging, with a SQL rule engine

17k 2.6k today Thriving Apache-2.0

AnyCable

Integration and messaging platforms

Go WebSocket and SSE server for adding reliable realtime to Rails, Laravel and other

2.4k 131 10 days ago Active MIT

Centrifugo

Integration and messaging platforms

Self-hosted real-time messaging server for adding WebSocket pub/sub to any backend

11k 758 yesterday Thriving Apache-2.0

Soketi

Integration and messaging platforms

Self-hosted WebSockets server that speaks the Pusher protocol, for developers cutting

5.6k 362 3 years ago Dormant AGPL-3.0

CMAK

Integration and messaging platforms

Web UI for inspecting and administering Apache Kafka clusters, now dormant

12k 2.5k 4 years ago Dormant Apache-2.0

AutoMQ

Integration and messaging platforms

Kafka-compatible streaming on S3 storage for teams cutting cloud storage and traffic costs

11k 809 today Thriving Apache-2.0