DatabaseJavaScript

mongodb-lens

MongoDB Lens is a local Model Context Protocol (MCP) server that allows users to interact with MongoDB databases using natural language.

Free
N/A rating (0 reviews)0 installs201 GitHub stars
MongoDBMCPNatural Language Processing

MongoDB Lens provides full-featured access to MongoDB databases, enabling users to perform queries, run aggregations, and optimize performance through natural language processing with large language models (LLMs). It simplifies database interactions by allowing users to communicate in plain language, making it accessible for those who may not be familiar with traditional query languages. With a variety of tools and resources, MongoDB Lens enhances the user experience by offering functionalities such as adding connection aliases, executing aggregation pipelines, and analyzing query patterns. This makes it a powerful tool for developers and data analysts looking to streamline their workflow and improve their database management capabilities.

Compatible with

Claude DesktopCursor

Install

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "mongodb-lens": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mongodb-lens"
      ]
    }
  }
}

Config File Location

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Linux: ~/.config/claude/claude_desktop_config.json

Some servers require additional setup - check the GitHub README for specific instructions.

Permissions

ok0
ok1