Server Directory
DatabaseIntermediate

MongoDB

by MongoDB

Connect to MongoDB databases for document operations. Query collections, insert and update documents, manage indexes, and run aggregation pipelines.

CAPABILITIES

  • Query collections
  • Insert and update documents
  • Aggregation pipelines
  • Index management
  • Collection management

INSTALLATION

Terminal
npx -y mongodb-mcp-server

CLAUDE DESKTOP CONFIG

claude_desktop_config.json
{
  "mcpServers": {
    "mongodb": {
      "command": "npx",
      "args": [
        "npx", "-y",
        ""mongodb-mcp-server"
      ]
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json

QUICK FACTS

Category
Database
Difficulty
Intermediate
Maintained By
MongoDB
NPM Package
mongodb-mcp-server

NEW TO MCP?

Learn how to set up MCP servers with Claude Desktop step by step.

Read the tutorial →