Mongodb MCP Server
UnclaimedA Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.
Install
npx -y mongodb-mcp-server@latest --readOnlyUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverTools (40)
aggregate
Run an aggregation against a MongoDB collection
aggregate-db
Run an aggregation against a MongoDB database
atlas-connect-cluster
Connect to MongoDB Atlas cluster and get back a connectionId to pass to the other MongoDB tools. Each call establishes a new, independent connection — multiple connections can be active at the same time.
atlas-create-access-list
Allow Ip/CIDR ranges to access your MongoDB Atlas clusters.
atlas-create-cluster
Create a MongoDB Atlas cluster (M10–M80, replica set or single shard). Compute autoscaling is enabled by default: min instance size is set to the selected instance size, max is set two tiers above. Disk autoscaling is always enabled. Encryption at rest with customer-managed keys (CMK) is supported,
atlas-create-db-user
Create an MongoDB Atlas database user
atlas-create-free-cluster
Create a free MongoDB Atlas cluster
atlas-create-project
Create a MongoDB Atlas project
atlas-get-performance-advisor
Get MongoDB Atlas performance advisor recommendations and suggestions, which includes the operations: suggested indexes, drop index suggestions, schema suggestions, and a sample of the most recent (max 50) slow query logs
atlas-get-regions
List supported MongoDB Atlas regions for a cloud provider.
atlas-inspect-access-list
Inspect Ip/CIDR ranges with access to your MongoDB Atlas clusters.
atlas-inspect-cluster
Inspect metadata of a MongoDB Atlas cluster
atlas-list-alerts
List triggered alerts for a MongoDB Atlas project. These are alerts Atlas has raised, not the alert configurations that define them. Defaults to OPEN alerts; set status to TRACKING or CLOSED to see others.
atlas-list-clusters
List MongoDB Atlas clusters
atlas-list-db-users
List MongoDB Atlas database users
atlas-list-orgs
List MongoDB Atlas organizations
atlas-list-projects
List MongoDB Atlas projects.
collection-indexes
Describe the indexes for a collection
collection-schema
Describe the schema for a collection
collection-storage-size
Gets the size of the collection
connect
Connect to a MongoDB instance
count
Gets the number of documents in a MongoDB collection using db.collection.count() and query as an optional filter parameter
create-collection
Creates a new collection in a database. If the database doesn't exist, it will be created automatically.
create-index
Create an index for a collection
db-stats
Returns statistics that reflect the use state of a single database
delete-many
Removes all documents that match the filter from a MongoDB collection
disconnect
Close a MongoDB connection and revoke its connectionId.
drop-collection
Removes a collection or view from the database. The method also removes any indexes associated with the dropped collection.
drop-database
Removes the specified database, deleting the associated data files
drop-index
Drop an index for the provided database and collection.
explain
Returns statistics describing the execution of the winning plan chosen by the query optimizer for the evaluated method
export
Export a query or aggregation results in the specified EJSON format.
find
Run a find query against a MongoDB collection
insert-many
Insert an array of documents into a MongoDB collection. If the list of documents is above com.mongodb/maxRequestPayloadBytes, consider inserting them in batches.
list-collections
List all collections for a given database
list-connections
List the active MongoDB connections and their connectionIds. Use this to find a connectionId established earlier.
list-databases
List all databases for a MongoDB connection
mongodb-logs
Returns the most recent logged mongod events
rename-collection
Renames a collection in a MongoDB database
update-many
Updates all documents that match the specified filter for a collection. If the list of documents is above com.mongodb/maxRequestPayloadBytes, consider updating them in batches.