Mongo (QuantGeekDev)

Databases

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

Your AI app calls the Mongo (QuantGeekDev) MCP server, which does the databases work and sends the result back to the chat.

About Mongo (QuantGeekDev)

Mongo (QuantGeekDev) is a community MCP server from QuantGeekDev, filed in our directory under databases. A mongo db server for the model context protocol (MCP).

Mongo (QuantGeekDev) runs on your own machine: your AI app starts it with the command npx -y @smithery/cli and talks to it over standard input and output.

The README for Mongo (QuantGeekDev) lists tools such as find, listCollections, insertOne and updateOne, which your AI app can call once the server is connected.

At a glance

Publisher
QuantGeekDev (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @smithery/cli
Written in
TypeScript
License
MIT
GitHub stars
175

Tools Mongo (QuantGeekDev) gives your AI app

  • findQuery documents with filtering and projection.
  • listCollectionsList available collections.
  • insertOneInsert a single document.
  • updateOneUpdate a single document.
  • deleteOneDelete a single document.
  • createIndexCreate a new index.
  • dropIndexRemove an index.
  • indexesList indexes for a collection.

Tool names as the Mongo (QuantGeekDev) README lists them. Your AI app shows the live list once Mongo (QuantGeekDev) is connected.

How to set up Mongo (QuantGeekDev)

  1. Install Node.js on the machine that runs your AI app, because Mongo (QuantGeekDev) starts with npx and downloads its package on first run.
  2. Check the Mongo (QuantGeekDev) README for keys or settings; the registry lists none that Mongo (QuantGeekDev) requires.
  3. Add Mongo (QuantGeekDev) to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Mongo (QuantGeekDev) tools to confirm the connection.
  5. Run one read-only task with Mongo (QuantGeekDev) first, such as a call to find, before you allow anything that writes or sends.

Mongo (QuantGeekDev) compared with similar servers

  • MySQL (f4ww4z) by f4ww4z has fewer GitHub stars than Mongo (QuantGeekDev) (171 against 175); both are community servers, and both run locally.
  • Garmin Givemydata by nrvim has more GitHub stars than Mongo (QuantGeekDev) (177 against 175); both are community servers, and both run locally.
  • Werbot by werbot has fewer GitHub stars than Mongo (QuantGeekDev) (171 against 175); both are community servers, and both run locally.

Before you connect Mongo (QuantGeekDev)

  • Give Mongo (QuantGeekDev) its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Mongo (QuantGeekDev) tool call until you trust what it does with them.
  • Treat text that Mongo (QuantGeekDev) fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Mongo (QuantGeekDev) on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Mongo (QuantGeekDev)

How marketing and sales teams put Mongo (QuantGeekDev) to work, by company size. Pick the size closest to yours and start Mongo (QuantGeekDev) on one use case.

Small business

  • A small business with its own app can ask Mongo (QuantGeekDev) plain questions about customers and orders, without writing SQL.
  • Owners can use Mongo (QuantGeekDev) to pull a list of customers who haven't bought in 90 days and plan a win-back email.
  • Mongo (QuantGeekDev) runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing analysts can connect Mongo (QuantGeekDev) to answer campaign questions from the warehouse directly, instead of waiting on the data team's queue.
  • Lifecycle teams can use Mongo (QuantGeekDev) to build audience lists from product data and check counts before a send.
  • Start with find and listCollections, the tools Mongo (QuantGeekDev) lists first, and add more once the team trusts the results.

Enterprise

  • Enterprises should point Mongo (QuantGeekDev) at a read replica with a read-only role, so agents query freely without risk to production data.
  • Data teams can expose curated views through Mongo (QuantGeekDev), so marketing gets self-serve answers without access to raw customer tables.
  • Mongo (QuantGeekDev) is a community server, so have security review the code and pin a version before Mongo (QuantGeekDev) touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Mongo (QuantGeekDev) README

From QuantGeekDev/mongo-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

🗄️ MongoDB MCP Server for LLMS

A Model Context Protocol (MCP) server that enables LLMs to interact directly with MongoDB databases. Query collections, inspect schemas, and manage data seamlessly through natural language.

✨ Features

  • 🔍 Collection schema inspection
  • 📊 Document querying and filtering
  • 📈 Index management
  • 📝 Document operations (insert, update, delete)

Demo Video

https://github.com/user-attachments/assets/2389bf23-a10d-49f9-bca9-2b39a1ebe654

🚀 Quick Start

To get started, find your mongodb connection url and add this configuration to your Claude Desktop config file:

MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "mongodb": {
      "command": "npx",
      "args": [
        "mongo-mcp",
        "mongodb://<username>:<password>@<host>:<port>/<database>?authSource=admin"
      ]
    }
  }
}
Installing via Smithery

To install MongoDB MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install mongo-mcp --client claude
Prerequisites
  • Node.js 18+
  • npx
  • Docker and Docker Compose (for local sandbox testing only)
  • MCP Client (Claude Desktop App for example)
Test Sandbox Setup

If you don't have a mongo db server to connect to and want to create a sample sandbox, follow these steps

  1. Start MongoDB using Docker Compose:
docker-compose up -d
  1. Seed the database with test data:
npm run seed
Configure Claude Desktop

Add this configuration to your Claude Desktop config file:

MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json

Local Development Mode:
{
  "mcpServers": {
    "mongodb": {
      "command": "node",
      "args": [
        "dist/index.js",
        "mongodb://root:example@localhost:27017/test?authSource=admin"
      ]
    }
  }
}
Test Sandbox Data Structure

The seed script creates three collections with sample data:

Users
  • Personal info (name, email, age)
  • Nested address with coordinates
  • Arrays of interests
  • Membership dates
Products
  • Product details (name, SKU, category)
  • Nested specifications
  • Price and inventory info
  • Tags and ratings
Orders
  • Order details with items
  • User references
  • Shipping and payment info
  • Status tracking

🎯 Example Prompts

Try these prompts with Claude to explore the functionality:

Basic Operations
"What collections are available in the database?"
"Show me the schema for the users collection"
"Find all users in San Francisco"
Advanced Queries
"Find all electronics products that are in stock and cost less than $1000"
"Show me all orders from the user john@example.com"
"List the products with ratings above 4.5"
Index Management
"What indexes exist on the users collection?"
"Create an index on the products collection for the 'category' field"
"List all indexes across all collections"
Document Operations
"Insert a new product with name 'Gaming Laptop' in the products collection"
"Update the status of order with ID X to 'shipped'"
"Find and delete all products that are out of stock"

📝 Available Tools

The server provides these tools for database interaction:

Query Tools
  • find: Query documents with filtering and projection
  • listCollections: List available collections
  • insertOne: Insert a single document
  • updateOne: Update a single document
  • deleteOne: Delete a single document
Index Tools
  • createIndex: Create a new index
  • dropIndex: Remove an index
  • indexes: List indexes for a collection

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

Questions about Mongo (QuantGeekDev)

What is the Mongo (QuantGeekDev) MCP server?

A mongo db server for the model context protocol (MCP). Mongo (QuantGeekDev) is maintained by QuantGeekDev on GitHub at QuantGeekDev/mongo-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Mongo (QuantGeekDev) MCP server?

Add Mongo (QuantGeekDev) to your AI app's MCP config with the command npx -y @smithery/cli. In Claude Code, run claude mcp add --transport stdio mongo -- npx -y @smithery/cli. To run Mongo (QuantGeekDev) this way you need Node.js installed.

Does Mongo (QuantGeekDev) need an API key?

The registry lists no required keys for Mongo (QuantGeekDev). Check the Mongo (QuantGeekDev) README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Mongo (QuantGeekDev) an official MCP server?

No. Mongo (QuantGeekDev) is a community server maintained by QuantGeekDev. Community servers can be excellent; read the code and the open issues before you give Mongo (QuantGeekDev) access to company data.

What license is Mongo (QuantGeekDev) under?

Mongo (QuantGeekDev) is released under the MIT license, according to its GitHub repository. The license covers the code of Mongo (QuantGeekDev); the service it connects to has its own terms.