This is the official MongoDB MCP. It links Claude Code to MongoDB databases and Atlas clusters.
Given the connection string, the assistant can see your collections and documents.
You can query collections, build aggregations, and manage the data structure through a natural conversation. It’s handy for anyone working with document databases who wants to explore data without writing every query by hand.
When to use
- When you need to query documents in a collection.
- To build aggregations without memorizing MongoDB syntax.
- While exploring data from an Atlas cluster during development.
How to use
After installing, provide the MongoDB connection string and the MCP becomes available. Ask Claude Code to “list the collections” or “pull the most recent documents from this collection”.