MongoDB Lens: Full Featured MCP Server for MongoDB Databases
Mongodb lens mcp server connects Mongodb Lens to AI assistants that speak the Model Context Protocol. MongoDB Lens: Full Featured MCP Server for MongoDB Databases.
MongoDB Lens inserts a metadata collection into each database it creates.
Once connected, the assistant can call these 3 tools directly:
Tools — The Tools tool exposed by this serverResources — The Resources tool exposed by this serverPrompts — The Prompts tool exposed by this serverThe server is distributed via npm as requires, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.
Database servers turn schema archaeology and ad-hoc reporting into conversation, which is why they tend to be the second or third server people install. Mongodb Lens sits in that group, and the shape of its toolset — Tools, Resources, Prompts — tells you what it is really for. Worth comparing against the other databases servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| Tools | The Tools tool exposed by this server. |
| Resources | The Resources tool exposed by this server. |
| Prompts | The Prompts tool exposed by this server. |
{
"mcpServers": {
"mongodb-lens": {
"command": "npx",
"args": ["-y", "requires"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.
Serverless Postgres with database branching — point your assistant at Neon and let it work on disposable copies.