selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Self-hosted alternatives to MongoDB

Teams moving off MongoDB can look at self-hosted, open-source databases that run on their own servers. More about MongoDB

--sort
5 projects· by score

Projects

Also in Databases

Not listed as MongoDB alternatives, but they cover the same ground and are worth a look.

All 63 Databases projects

About these MongoDB alternatives

The projects below differ in how close they stay to MongoDB. FerretDB is a self-hosted MongoDB alternative under Apache-2.0. It is a proxy that turns MongoDB 5.0+ queries into SQL on PostgreSQL with the DocumentDB extension. DocumentDB is a MongoDB-compatible database engine under MIT, built for scalability, performance, and developer productivity. ArcadeDB is a multi-model database under Apache-2.0 that supports SQL, Cypher, Gremlin, HTTP/JSON, MongoDB and Redis, and it supports vector embeddings. Apache CouchDB offers multi-primary syncing with an HTTP/JSON API, designed for reliability.

5 open-source, self-hosted alternatives to MongoDB are listed here, ranked by popularity, maintenance and documentation.

Highest rated
SurrealDB (33 311 GitHub stars, Other license, written in Rust), followed by ScyllaDB and ferretdb
Docker
5 of the top 5 ship an official Docker image
Easiest to set up
SurrealDB
Recently updated
ScyllaDB scylla-2026.3.6-candidate-20261111121238 on 2026-11-11

MongoDB alternatives compared

ProjectLicenseLanguageStarsDockerSetupLatest releaseScore
SurrealDBOtherRust33 311YesEasyv4.0.177
ScyllaDBOtherC++15 835YesAdvancedscylla-2026.3.6-candidate-2026111112123872
ferretdbApache-2.0Go11 116YesModeratev2.7.067
ArcadeDBApache-2.0Java1 251YesModerate26.11.159
DumboDBApache-2.0Go73YesModeratev0.8.337