mongodb-lens

MongoDB Lens is a local Model Context Protocol server that enables natural language interaction with MongoDB databases. It allows users to perform queries, run aggregations, and optimize performance using LLMs.

112
1

MongoDB Lens - README Summary

MongoDB Lens is a local Model Context Protocol (MCP) server that enables natural language interaction with MongoDB databases. It allows users to perform queries, run aggregations, and optimize performance using LLMs.

Key features include a variety of tools for tasks such as data aggregation, schema analysis, index optimization, and bulk operations. It also provides resources like collection schemas, statistics, and indexes, as well as prompts for tasks like query building, schema analysis, and security auditing.

Installation is supported via NPX, Docker Hub, or from source using Node.js or Docker. Configuration is customizable through a JSON config file or environment variables, allowing users to define MongoDB connection strings, caching behavior, and security settings. Data protection measures include read-only user accounts, working with database backups, and a confirmation system for destructive operations.

MongoDB Lens is intended for educational and experimental purposes, offering a user-friendly interface for exploring and managing MongoDB databases.

Repository

FU
furey

furey/mongodb-lens

Created

March 9, 2025

Updated

March 28, 2025

Language

JavaScript

Category

Database