Mongodb MCP Server
Connect AI agents to MongoDB databases and Atlas with query, administration, diagnostics, and data-management tools.
Install Mongodb MCP Server
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"mongodb-mcp-server": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server@latest"
],
"env": {
"MDB_MCP_CONNECTION_STRING": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.
Overview
Use cases
- Query MongoDB collections with natural-language requests
- Inspect collection schemas, indexes, and storage usage
- Create and manage MongoDB Atlas clusters
- Analyze query execution plans and database statistics
- Insert, update, delete, or export MongoDB documents
Key features
- MongoDB and MongoDB Atlas connectivity
- Find, aggregation, count, and export operations
- Collection, index, database, and schema management
- Multi-document insert, update, and delete tools
- Query plans, database statistics, and mongod logs
- Atlas cluster, user, and access-list administration
Tools53
What Mongodb MCP Server lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 13d ago via OSV.dev · mongodb-mcp-server@latest (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Mongodb MCP Server works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Mongodb MCP Server
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mongodb-mcp-server)<a href="https://allmcps.com/mcp/mongodb-mcp-server"><img src="https://allmcps.com/api/badge/mongodb-mcp-server?style=directory" alt="Mongodb MCP Server on AllMCPs" /></a>