mongodb-lens

mongodb-lens

156

MongoDB Lens is an MCP server that enhances interaction with MongoDB databases through natural language commands, leveraging LLMs for intelligent query processing and database management. It offers a variety of features for database analysis, schema management, and data security, making it a comprehensive tool for managing MongoDB instances.

MongoDB Lens

MongoDB Lens is a local Model Context Protocol (MCP) server designed to provide full-featured access to MongoDB databases using natural language processing through LLMs. It allows users to perform a variety of operations including querying, running aggregations, and optimizing performance using tools and prompts. Key features include:

  • Tools: Add connection aliases, execute aggregation pipelines, analyze queries and schemas, perform bulk operations, handle indexes and collections, and more.
  • Resources: Access collection indexes, schemas, stats, user roles, and performance metrics.
  • Installation: Supported via NPX, Docker Hub, Node.js, with specific instructions for older MongoDB versions.
  • Client Setup: Compatible with Claude Desktop and other MCP clients.
  • Data Protection: Read-only user accounts, backups, confirmation for destructive operations, and data flow projections.
  • Other Features: Configuration options, smart caching, backward compatibility, and a comprehensive log system.
  • Support: Users can support development through Buy Me a Coffee or GitHub Sponsorship.