MongoDB
Document database storing JSON-like records; Community Server is SSPL-licensed, Atlas is the managed cloud.
MongoDB stores data as flexible BSON documents, which maps naturally to objects in application code and allows schemas to evolve without migrations. It offers secondary indexes, an aggregation pipeline, multi-document transactions and built-in sharding. Since October 2018 the server is licensed under the Server Side Public License, which is not OSI-approved; MongoDB Atlas is the vendor's managed service with a free starter cluster.
- Type
- Database
- Category
- Data
- Maintainer
- MongoDB, Inc.
- First released
- 2009
- License
- Source available (SSPL-1.0)
- Pricing
- Freemium — Community Server is free to self-host under SSPL; Atlas has a free tier plus paid usage-based clusters.
- Level
- Beginner
- Technologies
- mongodb, nosql, javascript
- GitHub stars
- 28,814
- Weekly downloads
- 22,984,714 (npm)
- Last verified
- 26 Nov 2026
What MongoDB is used for
- Content and catalog data with varied shapes
- Rapid prototyping
- Event and IoT data
- MERN/MEAN stacks
Strengths
- Flexible schema
- Official drivers for most languages
- Managed Atlas with search and vector search
Limitations
- SSPL restricts offering it as a service; not OSI open source
- Relational joins and strict constraints are weaker than in SQL databases
- Schema discipline must be enforced by the application
MongoDB alternatives
How it relates to other tools
- MongoDB works with Node.js
- MongoDB works with Python
- MongoDB works with Docker
- MongoDB works with Amazon Web Services (AWS)
- MongoDB works with Microsoft Azure
- MongoDB works with Google Cloud
- Works with MongoDB: Express
- Works with MongoDB: Mongoose
- Works with MongoDB: Prisma ORM
Built with the same technologies
Learn MongoDB
Official links
- Official website
- Documentation
- Source code (mongodb/mongo)
- npm: mongodb
- pypi: pymongo