Back to MCP Servers

Mongodb Lens

MongoDB Lens: Full Featured MCP Server for MongoDB Databases

databasesgomongodb
By furey
20431Updated 1 year agoJavaScriptMIT

Installation

npx -y mongodb-lens

Configuration

{
  "mcpServers": {
    "mongodb-lens": {
      "command": "npx",
      "args": ["-y", "mongodb-lens"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes

MongoDB Lens

License Docker Hub Version NPM Version Buy Me a Coffee

MongoDB Lens is a local Model Context Protocol (MCP) server with full featured access to MongoDB databases using natural language via LLMs to perform queries, run aggregations, optimize performance, and more.

Contents

Quick Start

Features

Tools

Resources

View source on GitHub