1. Price
“Free $0/hour Explore Atlas Free forever For learning and exploring MongoDB in a cloud environment. 512MB of storage Shared RAM Shared vCPU Flex $0.011/hour Build a Prototype Up to $30/month”
Free tier: 512MB storage, shared RAM and vCPU, up to 100 ops/second. As reported on the official pricing page, checked Oct 9, 2026.
mongodb.com/pricing2. Commercial use
“"license":"Apache-2.0"”
Allowed as a paying or free-tier Atlas customer under MongoDB's cloud terms; the drivers are Apache-2.0. Data: Opt-out, for data put into Atlas AI features only; the opt-out needs a payment method on file.
registry.npmjs.org/mongodb/latest3. Key & sign-up
“After completing these steps, you have a connection string that contains your database username and password.”
Connection string with a database user name and password (SCRAM); X.509 certificates and AWS IAM are also supported. The Atlas admin side uses service accounts or API keys.
mongodb.com/docs/drivers/node/current/get-started.md4. Agent access
“The MongoDB MCP Server is our official MCP server implementation that gives your AI client a set of tools that can be used to interact with your MongoDB data and deployments.”
Our agent check: 3 of 6 (Nov 13, 2026).
mongodb.com/docs/mcp-server/overview.mdChecked against the maker's official pages, pricing on Oct 9, 2026. Tap a verdict to see its source.How we checkedReport an error
What MongoDB Atlas does
MongoDB Atlas is a database that MongoDB runs for you in the cloud. Your app stores records such as users, orders or chat messages as flexible documents, and finds them again with simple queries. There is a free cluster for learning and small projects; your server connects with an official code library and a connection address, not a web request per action.
- MongoDB Atlas is one of 29 APIs in the Databases and backends category on AgentGid.
- Its cheapest paid plan ($9 a month) is the 5th cheapest of the 18 here with a monthly plan.
- It is one of 26 that can be started for free.
- 8 of them ship an official MCP server; MongoDB Atlas does not.
- Its official SDK is the 1st most downloaded in the category (40.9M a week).
What people build with it
Store users and orders for a web app
Keep sign-ups, profiles and orders in one hosted database that your server reads and writes, without running a database machine yourself.
Look up one record by a field
Find a product, article or movie by its title or another field and show it on a page.
Search by meaning for an AI assistant
Let a chatbot find the help articles or notes closest in meaning to a question, stored next to your other data.
Let an AI assistant query your data
Connect Claude, VS Code or another AI tool to your database so you can ask questions about your data in plain words.
Chat history for a support bot Idea
Save each conversation as one document with its messages, so the bot can reload the thread when the customer returns.
Product catalog with varied fields Idea
Keep products whose details differ, like sizes for shoes and voltage for lamps, in one collection without changing a table layout.
MongoDB Atlas popularity
SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.
Pricing
512MB storage, shared RAM and vCPU, up to 100 ops/second
$9 a month
$0.08/hour for M10 dedicated cluster (starts at $56.94/month)
Added automatically: its SDK was in 107 of the public agent repos we sampled when it was added; integrations in CrewAI, LangChain, LlamaIndex. Prices read from the official pricing page.
What one action costs
| Action | Price |
|---|---|
| 1 hour of a Flex cluster (capped at $30 a month) | $0.011 |
| 1 hour of the smallest dedicated cluster (from $56.94 a month) | $0.08 |
| 1 hour of the free cluster | $0 |
Price history
- A year of the pricing page in the Internet Archive (13 months): the lowest monthly figure went from $9 (2025-10) to $9 (2026-10).
As reported on the official pricing page, checked Oct 9, 2026. Prices change: confirm before you buy. mongodb.com/pricing
Limits
100 read and write operations per second
0.5 GB of data
10 GB in and 10 GB out per rolling seven days
At most 500 connections; 100 databases and 500 collections
From the official docs. mongodb.com/docs/atlas/reference/free-shared-limitations
Key and access
Connection string with a database user name and password (SCRAM); X.509 certificates and AWS IAM are also supported. The Atlas admin side uses service accounts or API keys.
none fixed by the driver; MONGODB_URI is the common choice in your own .envNo
Steps only a person can do
- Create a MongoDB Atlas account, a free cluster and a database user, and load the sample data if you want to follow the docs. Read MONGODB_URI from .env on the server (kept out of git).
- Add your server's IP address to the project's IP access list in Network Access. Retry the connection; MongoServerSelectionError should go away.
- Decide whether MongoDB may use data you put into its AI features; the opt-out is in account settings and needs a payment method. Nothing in code; note the choice in the project README.
Commercial use and your data
Atlas is a paid cloud service with a free tier; using it in a commercial app is normal and is covered by MongoDB's cloud terms. The official drivers are open source under the Apache 2.0 license.
Allowed as a paying or free-tier Atlas customer under MongoDB's cloud terms; the drivers are Apache-2.0.
“"license":"Apache-2.0"” source
You may not use Atlas AI features to develop or train an AI model.
“You will not use the AI Features to develop or train any AI model.” source
Shipping the Apache-2.0 driver in your server app is allowed with its license notice; the database itself stays in Atlas.
“"license":"Apache-2.0"” source
Opt-out, for data put into Atlas AI features only; the opt-out needs a payment method on file.
“You own any data that you input into AI Features, and we will not use that data to train any model if you opt out.” source
You choose the cloud provider (AWS, Google Cloud, Azure) and region for each cluster.
“The choice of cloud provider and region affects network latency for clients accessing your cluster and the cost of running the cluster.” source
Errors to handle
The driver cannot reach the cluster, often because your IP is not on the access list or a firewall blocks port 27017.
Add your server's IP in Network Access and check the firewall; for ECONNREFUSED on Node 17+ try family 4.
Wrong user name or password, or special characters not encoded in the connection string.
Check the user in Atlas Database Access and percent-encode the password.
You inserted a document with an _id that already exists.
Let the driver generate _id values, or check for an existing document first.
All connections in the pool are busy or the network is slow.
Reuse one client, raise maxPoolSize carefully, or set connectTimeoutMS above your network latency.
Use it from an agent
3 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP no, status page no, AI assistants allowed yes
Checked Nov 13, 2026.
MongoDB MCP Server (local, or Atlas Managed MCP Server)
npx mongodb-mcp-server@latest setup
npm install mongodbpip install pymongoInstructions in its docs to check first
“npx mongodb-mcp-server@latest setup”
Ask the person first; it runs an unpinned package and writes a config with database credentials. Pin a version and turn on read-only mode.
Alternatives
MongoDB Atlas This page
Pick Neon when you prefer a managed Postgres database with tables and SQL instead of documents.
Pick Firebase when you want database, sign-in, hosting and serverless functions from one backend platform.
Pick Turso when you want many small SQLite-compatible databases, for example one per user or per agent.
Get started
Tell your AI assistant
“Connect my Node.js server to MongoDB Atlas with mongodb 7.8.0: read MONGODB_URI from .env, create one MongoClient for the whole app, add insert and find functions for the orders collection, and never send the connection string to the browser.”
Create a free Atlas cluster, load the sample data and create a database user; save the user name and password somewhere safe.
Install the official Node.js driver.
npm install mongodb@7.8Copy the connection string from the Atlas Connect dialog, put in the password, and run a first query.
import { MongoClient } from 'mongodb'; const client = new MongoClient(uri); const movie = await client.db('sample_mflix').collection('movies') .findOne({ title: 'Back to the Future' });
First request
Atlas has no plain web endpoint for data (the Data API ended); this is the driver quick start, comments trimmed.
import { MongoClient } from 'mongodb';
async function runGetStarted() {
const uri = '<connection string>';
const client = new MongoClient(uri);
try {
const movies = client.db('sample_mflix').collection('movies');
const movie = await movies.findOne({ title: 'Back to the Future' });
console.log(movie);
} finally {
await client.close();
}
}
runGetStarted().catch(console.dir);{
_id: ...,
plot: 'A young man is accidentally sent 30 years into the past...',
genres: [ 'Adventure', 'Comedy', 'Sci-Fi' ],
...
title: 'Back to the Future',
...
}Mistakes to avoid
The Data API has reached end of life.
The 7.8.0 package declares Node >=20.19.0 in its engines field.
Unencoded special characters break the address and give "bad auth" errors.
0.0.0.0/0 lets anyone on the internet try to connect.
Each client opens its own pool of connections (default 100), and the free tier allows at most 500 connections.
Questions
Do I need a credit card for the free cluster?
No. The driver guide says the free Atlas deployment needs no credit card.
Can my web page talk to Atlas directly with a plain web request?
Not anymore. The Data API that allowed it has reached end of life; use an official driver on your server.
What happens if my free cluster gets busy?
Above 100 operations per second Atlas slows the cluster down and queues the extra work.
Where is my data stored?
In the cloud provider and region you pick when creating the cluster, on AWS, Google Cloud or Microsoft Azure.