MongoDB MCP server
Median of the database servers in the category that have the measure (145 for GitHub stars, 53 for Tools listed).
Source: Best MCP Servers data, December 2026
npx -y mongodb-mcp-server As published in the official MCP Registry; needs MDB_MCP_API_CLIENT_ID, MDB_MCP_API_CLIENT_SECRET, MDB_MCP_CONNECTION_STRING, MDB_MCP_CONNECTION_STRINGS, MDB_MCP_VOYAGE_API_KEY set in your client config. Read the README before running it. Build a client config
What the maintainers say it does
Official MongoDB MCP server: let AI agents search and manage databases and the Atlas data platform
Client setup in the README
Whether the README mentions setup for each client. A missing mention does not mean it fails there: most stdio servers run in any client that supports stdio.
| Client | README | List |
|---|---|---|
| Claude Code | Not mentioned | Best for Claude Code |
| Cursor | Mentions setup | Best for Cursor |
| Claude Desktop | Mentions setup | Best for Claude Desktop |
| VS Code | Mentions setup | Best for VS Code |
| Windsurf | Not mentioned | Best for Windsurf |
| Codex | Not mentioned | |
| Gemini CLI | Not mentioned | |
| ChatGPT | Not mentioned |
Tools listed (50)
Tool names as the README lists them.Source: raw.githubusercontent.com
- aggregate
- aggregate-db
- collection-indexes
- collection-schema
- collection-storage-size
- connect
- count
- create-collection
- create-index
- db-stats
- delete-many
- disconnect
- drop-collection
- drop-database
- drop-index
- explain
- export
- find
- insert-many
- list-collections
- list-connections
- list-databases
- mongodb-logs
- rename-collection
- update-many
- atlas-connect-cluster
- atlas-create-access-list
- atlas-create-cluster
- atlas-create-db-user
- atlas-create-free-cluster
- atlas-create-project
- atlas-get-performance-advisor
- atlas-get-regions
- atlas-inspect-access-list
- atlas-inspect-cluster
- atlas-list-alerts
- atlas-list-clusters
- atlas-list-db-users
- atlas-list-orgs
- atlas-list-projects
- atlas-load-sample-dataset
- atlas-pause-resume-cluster
- atlas-streams-build
- atlas-streams-discover
- atlas-streams-manage
- atlas-streams-teardown
- atlas-upgrade-cluster
- atlas-local-connect-deployment
- atlas-local-create-deployment
- atlas-local-delete-deployment
Facts and their sources
- Transport
- stdioSource: registry.modelcontextprotocol.io
- Authentication
- API key, OAuth (mentioned in the docs)Source: registry.modelcontextprotocol.io
- Maintainer
- mongodb-js · Community: Published by a GitHub organisation without its own product domain.
- Licence
- Apache-2.0Source: api.github.com
- Language
- TypeScript
- Repository created
- 2025-04-04
- Open issues
- 9
- npm package
mongodb-mcp-serverSource: api.npmjs.org
No verified reviews yet. Write a review · How reviews are verified
Is this your company? Claim it
Questions about this server
How do I add mongodb-mcp-server to my client?
Use the install line on this page when the registry entry gives one, or open the config generator to build a claude_desktop_config.json, .mcp.json, Cursor or VS Code file with placeholders for any secrets.
Is mongodb-mcp-server official?
The maintainer tag compares the GitHub owner with the product’s domain and the registry namespace. Official means they match; it is a rule, not a statement from the vendor.