talira

The free, source-available version of MongoDB

source availableSSPL-1.0self-hostablefreeMCP

MongoDB is a document database that stores data as JSON-like documents with flexible schemas, queried through the MongoDB Shell, drivers and aggregation pipelines. Community Edition is free under the Server Side Public License (SSPL) and, from version 8.2, includes full-text and vector search on Linux. Enterprise Advanced adds a commercial licence, the in-memory storage engine, auditing, Kerberos authentication, Ops Manager, the Enterprise Kubernetes Operator and 24/7 support. MongoDB Atlas is the hosted service, with clusters in 125+ regions across AWS, Azure and Google Cloud, automated backups, auto-scaling, search, vector search and stream processing.

Problems it solves

  • my data doesn't fit neatly into tables and the schema keeps changing every sprint
  • store nested JSON objects as they are instead of splitting them across ten tables
  • I'm tired of writing migrations every time a field is added
  • add semantic search over my documents without running a separate vector database
  • full-text search with fuzzy matching and autocomplete inside my main database
  • a free hosted database for a prototype that I can scale up later
  • run one database cluster across AWS, Azure and Google Cloud
  • a managed database with automatic backups, point-in-time restore and auto-scaling
  • store product catalogues where every item has different attributes
  • a database a health app can use with a signed BAA
  • run the same document database on my laptop that production uses

Features

  • JSON-like document model
  • aggregation pipelines
  • full-text and vector search ($search, $vectorSearch)
  • MongoDB Shell
  • Atlas CLI
  • automated backups with point-in-time recovery (Atlas)
  • auto-scaling (Atlas)
  • stream processing (Atlas)
  • multi-cloud clusters (Atlas)
  • Ops Manager and Kubernetes Operator (Enterprise Advanced)

Ways to run it

MongoDB Atlas

Hosted by MongoDB

Free (M0): $0, 512 MB; Flex: $0.011/hour, up to $30/month; Dedicated: from $0.08/hour, starts at $56.94/month

Only in this edition

  • fully managed provisioning, backups, patches, upgrades, scaling and failover
  • 125+ regions across AWS, Azure and Google Cloud, multi-region and multi-cloud clusters
  • auto-scaling
  • stream processing
  • federated queries and tiered backup storage
  • data visualization
  • compliance reports listed on its trust page

Pricing

MongoDB Community Edition

You run it, SSPL-1.0 (source-available)

free

Not included

  • in-memory storage engine
  • auditing
  • Kerberos authentication
  • Ops Manager for automated deployment, monitoring, backups and upgrades
  • a commercial licence
  • 24/7 support
  • search and vector search on macOS and Windows (Linux, Docker and Kubernetes only)

You arrange

  • servers, Docker or Kubernetes
  • replica set and sharding setup
  • backups and restore tests
  • monitoring and upgrades
  • a lawyer's view of the SSPL if you offer MongoDB as a service to others

Self-hosting docs

MongoDB Enterprise Advanced

You run it, under a commercial licence

through sales; no price published

Only in this edition

  • commercial licence for MongoDB Enterprise Server
  • in-memory storage engine, auditing and Kerberos authentication
  • Ops Manager and Cloud Manager
  • Enterprise Kubernetes Operator, including Search and Vector Search nodes
  • 24/7/365 support with a response SLA
  • Search add-on

You arrange

  • servers or a Kubernetes cluster
  • running Ops Manager
  • upgrades

Self-hosting docs

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Has an MCP serverplan not known

Alternatives

The same job

These do what MongoDB does.

  1. PostgreSQL A powerful, open source object-relational database system
  2. Couchbase Distributed JSON document database with a built-in cache, SQL++ queries, search and mobile sync
  3. SurrealDB A multi-model database built in Rust that unifies document, graph, relational, time-series, geospatial and key-value data
  4. Apache CouchDB Seamless multi-primary syncing database with an intuitive HTTP/JSON API, designed for reliability
  5. ScyllaDB A high-throughput, low-latency NoSQL database compatible with Apache Cassandra and Amazon DynamoDB
  6. Amazon DynamoDB Serverless, fully managed, distributed NoSQL database with single-digit millisecond performance at any scale

Compare MongoDB with the top 3