MongoDB Lens
MongoDB Lens is a community MCP server that runs locally and connects to a MongoDB deployment from a connection string, by default a server on localhost.
What it does
MongoDB Lens is a community MCP server that runs locally and connects to a MongoDB deployment from a connection string, by default a server on localhost. It offers a large set of tools for querying, aggregation, schema inference and comparison, index and query-pattern analysis, collection, database and user management, time series collections and bulk operations, plus resources such as server status and replica set state, and prompts for tasks like schema review or SQL conversion. Destructive actions such as dropping a database need a confirmation token unless that is turned off. It runs through npx, Docker or from source.
Capabilities
- Query, count and aggregate MongoDB documents
- Infer and compare collection schemas
- Analyse live query patterns and suggest indexes
- Create and drop collections, databases, indexes and users
- Read server status and replica set state
About
- Publisher
- James Furey
- Tool
- MongoDB
Works with
Install
- Run this to add it to Any client:
npx -y mongodb-lens mongodb://your-connection-string
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | MCP server | |
| Tool | MongoDB | |
| Publisher | James Furey | source |
| Official status | Community (not published by the tool's vendor) | source |
| Connection | Local (runs on your computer) | source |
| Can change data | Yes | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Platforms | Not stated in its documentation | |
| AI clients | Claude Desktop | source |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 7, 2026207 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
Sources
- README (README.md)github.com/furey/mongodb-lens · Backs: AI clients, Can change data, ConnectionNov 12, 2026
- Licence file (LICENSE)github.com/furey/mongodb-lens · Backs: LicenceNov 12, 2026
- GitHub repositorygithub.com/furey/mongodb-lens · Backs: Official status, Publisher, Activity, LicenceNov 11, 2026
- GitHub API recordgithub.com/furey/mongodb-lensNov 10, 2026