MongoDB

latest · 2.1.0

Official MongoDB MCP server.

Install

Needs an env var: MDB_MCP_CONNECTION_STRING — replace the <placeholders> with your values.

Set MDB_MCP_CONNECTION_STRING to your MongoDB connection string; drop --readOnly to allow writes.

claude mcp add mongodb --env MDB_MCP_CONNECTION_STRING=<MDB_MCP_CONNECTION_STRING> -- npx -y mongodb-mcp-server@latest --readOnly

/mcp confirms it's connected.

Install

Or add it manually in ~/.cursor/mcp.json:

{
  "mcpServers": {
    "mongodb": {
      "command": "npx",
      "args": [
        "-y",
        "mongodb-mcp-server@latest",
        "--readOnly"
      ],
      "env": {
        "MDB_MCP_CONNECTION_STRING": "<MDB_MCP_CONNECTION_STRING>"
      }
    }
  }
}

In claude_desktop_config.json (Settings → Developer → Edit Config), then restart:

{
  "mcpServers": {
    "mongodb": {
      "command": "npx",
      "args": [
        "-y",
        "mongodb-mcp-server@latest",
        "--readOnly"
      ],
      "env": {
        "MDB_MCP_CONNECTION_STRING": "<MDB_MCP_CONNECTION_STRING>"
      }
    }
  }
}

Config entry, any MCP client:

{
  "command": "npx",
  "args": [
    "-y",
    "mongodb-mcp-server@latest",
    "--readOnly"
  ],
  "env": {
    "MDB_MCP_CONNECTION_STRING": "<MDB_MCP_CONNECTION_STRING>"
  }
}

Community score

Community68/ 100

from web signals · no reviews yet · 2 mentions · 4 reactions (community v3)

  • Mentions (reaction sentiment)100/100 · 13% of the weight
  • Web signals (ecosystem baseline)63/100 · 87% of the weight
Used it? Rate v2.1.0

No reviews yet — be the first.

What the web says

Ecosystem baseline63/ 100

Objective public usage & activity (formula v3) — the community score's web-signals input, and its own sort.

GitHub stars · 19 days ago
★ 1.1K
Last commit · 19 days ago
today
Issue close rate · 19 days ago
96%
Release cadence · 19 days ago
about daily
Packages

No package-registry data collected yet.

Listed on
Glama · 3 days ago
Listed · Glama quality score 3.2 ↗
Mentions
Quotes5
Docs & livenesssource ↗

No liveness or verification signals yet.

Version history1
  • 2.1.0release date unknown
Badge for your README

Shows this page's community score and its sample, kept current, and links readers here to review.

rateme12 community score badge

[![rateme12 community score](https://api.rateme12.com/servers/seed-mongodb/badge.svg)](https://rateme12.com/servers/seed-mongodb)
Details
Transport
stdio
Status
listed
Source
Listed in rateme12
Repository
source ↗
Homepage
site ↗