3 open source alternatives to MongoDB Atlas

Atlas is convenient but pricing jumps quickly with storage and shards. These open source document databases run on your own infrastructure with MongoDB-compatible or modern APIs.

3 open source alternativesOfficial website
#1

FerretDB/FerretDB

A truly Open Source MongoDB alternative

Why it works Keep the MongoDB driver, store data in Postgres.

11.1K·Apache-2.0·Go
#2

mongodb/mongo

The MongoDB Database

Why it works Full Atlas API compatibility when you run it yourself.

28.8K·C++
#3

surrealdb/surrealdb

A scalable, distributed, collaborative, document-graph database, for the realtime web

Why it works A modern alternative when you are not tied to MongoDB drivers.

33.4K·Rust

Compare at a glance

RepositoryStarsLicenseLanguageSelf-hostedLast push
FerretDB/FerretDB11.1KApache-2.0Go–11 days ago
mongodb/mongo28.8K–C++–1 day ago
surrealdb/surrealdb33.4K–Rust–14 days ago

Stats are refreshed from GitHub every hour. Always check the repository before adopting a project.

More Databases alternatives

Stop overpaying for software

Browse the hand-picked open source alternatives, or see which new GitHub repos are gaining stars this week.