opensourcestartups

> /v1/alternatives/mongodb

Open source alternatives to MongoDB[007]

MongoDB is a document database storing JSON-like records with flexible schemas, sharding and the managed Atlas cloud service. Below are 7 self-hostable open source alternatives, ranked by GitHub popularity.

// EDITOR'S TAKE

Nothing here is a drop-in for MongoDB's wire protocol, so choose by what you actually used it for. Convex and Instant come closest to the developer experience of schemaless documents with live sync to clients, TiDB is the move if you outgrew Mongo and want distributed SQL with strong consistency, and Memgraph only fits if your data was really a graph all along.

// FREQUENTLY ASKED

What is the best open source MongoDB alternative?

TiDB is the most popular open source MongoDB alternative by GitHub stars (40,064 stars). The other 6 options are ranked above.

Are these MongoDB alternatives self-hostable?

Yes — every project listed here is open source and runs on your own infrastructure. Click into a project to see its license, stars, language, and current health status.

Are they free?

All projects shown are free and open source. Check each project's license page for the terms — most are MIT, Apache 2.0, or AGPL.

// PART OF THESE COLLECTIONS