Enterprise DNA
M MCP Servers Developer low

furey/mongodb-lens

by Various

πŸƒπŸ”Ž MongoDB Lens: Full Featured MCP Server for MongoDB Databases

F

MCP

furey/mongodb-lens

Added 1 June 2026

#ai #claude #database #llm #mcp #model-context-protocol #mongodb

Overview

An open-source MCP server written in JavaScript that provides a full-featured interface for AI assistants to interact with MongoDB databases. It enables natural language queries, schema inspection, and data manipulation through the Model Context Protocol.

Best for

Best for
Developers and data analysts who want to interact with MongoDB using conversational AI assistants

Use cases

  • Query MongoDB collections using natural language from an MCP-compatible AI tool
  • Explore database schemas and document structures without writing raw MongoDB queries
  • Perform CRUD operations on MongoDB through an AI assistant's chat interface

How to use

Install

npx -y mongodb-lens

Tools exposed

  • add-connection-alias
  • aggregate-data
  • analyze-query-patterns
  • analyze-schema
  • bulk-operations
  • clear-cache
  • collation-query
  • compare-schemas
  • connect-mongodb
  • connect-original
  • count-documents
  • create-collection
  • create-database
  • create-index
  • create-timeseries
  • create-user
  • current-database
  • delete-document
  • distinct-values
  • drop-collection

Tested with

Claude Desktop, Cursor

Notes

An open-source MCP server written in JavaScript that provides a full-featured interface for AI assistants to interact with MongoDB databases. It enables natural language queries, schema inspection, and data manipulation through the Model Context Protocol.

203 stars on GitHub. Last updated 2025-04-23. Licensed MIT.

Use cases

  • Query MongoDB collections using natural language from an MCP-compatible AI tool
  • Explore database schemas and document structures without writing raw MongoDB queries
  • Perform CRUD operations on MongoDB through an AI assistant’s chat interface

Pros

  • Simplifies MongoDB interaction for non-expert users by abstracting query syntax
  • Open-source with active community (203 stars) and clear documentation
  • Supports a wide range of MongoDB features including find, aggregate, insert, update, and delete

Cons

  • Requires an MCP-compatible AI client (e.g., Claude Desktop) to function
  • Limited to MongoDB databases; not usable with other NoSQL or SQL systems
  • Performance depends on network latency and server setup due to its client-server architecture

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Simplifies MongoDB interaction for non-expert users by abstracting query syntax
  • Open-source with active community (203 stars) and clear documentation
  • Supports a wide range of MongoDB features including find, aggregate, insert, update, and delete

Cons

  • Requires an MCP-compatible AI client (e.g., Claude Desktop) to function
  • Limited to MongoDB databases; not usable with other NoSQL or SQL systems
  • Performance depends on network latency and server setup due to its client-server architecture
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks