Back to Apps

MongoDB Lens
Supports UIby furey
Full-featured MCP server for MongoDB databases, enabling natural language queries, aggregations, and schema analysis.
0 stars
Works in:Cursor
Exposes:ToolsResourcesPrompts
What it does\nMongoDB Lens connects AI agents to MongoDB databases, allowing them to perform complex database operations using natural language. It simplifies database management by translating LLM intents into MongoDB queries and aggregation pipelines.\n\n## Tools\n- find-documents: Run queries with filters, projections, and sorting.\n- aggregate-data: Execute complex aggregation pipelines.\n- analyze-schema: Automatically infer collection schemas.\n- create-index: Create new indexes for performance optimization.\n- explain-query: Analyze query execution plans.\n- insert-document: Insert one or more documents into collections.\n- update-document: Update documents matching specified criteria.\n- delete-document: Delete documents matching specified criteria.\n\n## Installation\nAdd the following to your claude_desktop_config.json:\n\njson\n{\n "mcpServers": {\n "mongodb-lens": {\n "command": "npx",\n "args": [\n "-y",\n "mongodb-lens@latest",\n "mongodb://your-connection-string"\n ]\n }\n }\n}\n\n\n## Supported hosts\n- Claude Desktop\n- Cursor
Quick install
npx -y mongodb-lens@latest mongodb://your-connection-stringInformation
- Pricing
- free
- Published
- 4/16/2026
- stars
- 0
Categories
Choose your AI client and follow the steps below.
Cursor
Add to mcp.json in ~/.cursor/ or project .cursor/Claude Desktop
{
"mcpServers": {
"mongodb-lens": {
"command": "npx",
"args": [
"-y",
"mongodb-lens@latest",
"mongodb://your-connection-string"
]
}
}
}





