Skip to content

MongoDB

Query collections and manage Atlas clusters.

LocalAPI keyDatabasesby MongoDB

Add it to your app

  1. Open Claude Desktop → Settings → Developer → Edit Config.
  2. Add the server below inside mcpServers (merge with any servers you already have).
  3. Replace mongodb+srv://user:pass@cluster.example.mongodb.net/ with your own values (your MongoDB connection string).
  4. Save the file and fully quit and restart Claude Desktop.
claude_desktop_config.json
{  "mcpServers": {    "mongodb": {      "command": "npx",      "args": [        "-y",        "mongodb-mcp-server@latest",        "--readOnly"      ],      "env": {        "MDB_MCP_CONNECTION_STRING": "mongodb+srv://user:pass@cluster.example.mongodb.net/"      }    }  }}

Requires Node.js 22.13+. Run npx -y mongodb-mcp-server@latest setup for guided configuration.

What it can do

  • List databases and collections
  • Find, aggregate and count
  • Inspect schemas and indexes
  • Manage Atlas clusters

Try asking

Supabase

Supabase

Design tables, run SQL and manage your Supabase projects.

mcp.supabase.com/mcp

Neon

Neon

Serverless Postgres with branch-based migrations.

mcp.neon.tech/mcp
Esc
↑↓ navigate↵ open