RemoteFree server, account needed

MongoDB MCP server

Query MongoDB Atlas clusters and manage collections and indexes.

Install MongoDB in Claude Code

Claude Code
claude mcp add --transport http mongodb-2 https://mcp.mongodb.com/mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "mongodb-2": {
      "url": "https://mcp.mongodb.com/mcp"
    }
  }
}

Your client opens a browser window to sign in on first use.

Frequently asked questions

What does the MongoDB MCP server do?

Query MongoDB Atlas clusters and manage collections and indexes.

Is the MongoDB MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does MongoDB run locally or remotely?

Remote. Hosted by the provider. You connect with a URL, nothing to install.

How do I add MongoDB to Claude Code?

Run: claude mcp add --transport http mongodb-2 https://mcp.mongodb.com/mcp

More databases MCP servers

View all