Feedback

๐Ÿ—„๏ธ MongoDB MCP Server for LLMS โ€” by QuantGeekDev

@quantgeekdev Claim

Basic information

Runtime
node
Category
License
MIT
Transports
stdio
Author
quantgeekdev
Submitted by
Community
Quality
65
Stars
174

About ๐Ÿ—„๏ธ MongoDB MCP Server for LLMS

A mongo db server for the model context protocol (MCP)

๐Ÿ—„๏ธ MongoDB MCP Server for LLMS is a MCP server in the Databases category listed in the AddMCP.net directory, published by QuantGeekDev. Supported transport: stdio. Runtime: node. License: MIT. The repository has 174 GitHub stars. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "mongo-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@smithery/cli",
                "install",
                "mongo-mcp",
                "--client",
                "claude"
            ]
        }
    }
}

๐Ÿ—„๏ธ MongoDB MCP Server for LLMS โ€” by QuantGeekDev config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mongo-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@smithery/cli",
                "install",
                "mongo-mcp",
                "--client",
                "claude"
            ]
        }
    }
}

๐Ÿ—„๏ธ MongoDB MCP Server for LLMS โ€” by QuantGeekDev tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is ๐Ÿ—„๏ธ MongoDB MCP Server for LLMS?

A Model Context Protocol (MCP) server that enables LLMs to interact directly with MongoDB databases. It allows querying collections, inspecting schemas, and managing data through natural language, designed for use with MCP clients such as the Claude Desktop app.

How to use ๐Ÿ—„๏ธ MongoDB MCP Server for LLMS?

Install via npx by adding the server configuration to your Claude Desktop config file (MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%/Claude/claude_desktop_config.json). The command uses npx mongo-mcp "mongodb://<username>:<password>@<host>:<port>/<database>?authSource=admin". Alternatively, install automatically via Smithery with npx -y @smithery/cli install mongo-mcp --client claude. Prerequisites: Node.js 18+ and npx. A local test sandbox can be set up using Docker Compose and the provided seed script.

Key features of ๐Ÿ—„๏ธ MongoDB MCP Server for LLMS

  • Collection schema inspection
  • Document querying with filtering and projection
  • Index management (create, drop, list)
  • Document operations (insert, update, delete)

Use cases of ๐Ÿ—„๏ธ MongoDB MCP Server for LLMS

  • List available collections and inspect their schemas
  • Find documents with complex filters (e.g., electronics under $1000)
  • Create and manage indexes to optimize query performance
  • Insert, update, or delete documents directly via natural language
  • Query across collections using user references (e.g., orders by email)

Frequently asked questions

1 What are the prerequisites for using this server?

Node.js 18+, npx, and an MCP client (e.g., Claude Desktop app). Docker and Docker Compose are needed only for the optional local test sandbox.

2 How do I connect to my existing MongoDB database?

Provide your MongoDB connection URL in the server configuration: mongodb://<username>:<password>@<host>:<port>/<database>?authSource=admin.

3 Can I test the server without a real MongoDB instance?

Yes. Use the provided Docker Compose file to start a local MongoDB and run npm run seed to populate sample data (Users, Products, Orders collections).

4 What tools does the server expose to the LLM?

Query tools: find, listCollections, insertOne, updateOne, deleteOne. Index tools: createIndex, dropIndex, indexes.

5 Where is the server configuration stored for Claude Desktop?

In claude_desktop_config.json located at ~/Library/Application Support/Claude/ on macOS or %APPDATA%/Claude/ on Windows.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback ๐Ÿ’ฌ