Data & APIs

MongoDB MCP

MongoDB’s official MCP server connects assistants to Atlas and self-hosted clusters. Explore collections, run queries and aggregations, and manage Atlas resources with API credentials or a connection string.

Stars

1.1k

Installs

303.7k

License

Apache-2.0

Kind

MCP

Trust evidence

Verified

Verified MCP — curated catalog entry with reviewed setup metadata.

  • Stars: 1.1k · catalog
  • Freshness: Updated 2026-06-16
  • Used in 0 known stacks (editorial graph may still apply)

Prerequisites

  • · Host app that loads MCP config (Cursor, Claude Desktop, etc.)
  • · Environment: MDB_MCP_CONNECTION_STRING
  • · Node.js 18+

Reference command

{
  "mcpServers": {
    "mongodb": {
      "command": "npx",
      "args": ["-y", "mongodb-mcp-server"],
      "env": {
        "MDB_MCP_CONNECTION_STRING": "<your-mongodb-connection-string>"
      }
    }
  }
}

Often stacked with