Mongo

Mongo is an MCP server that connects large language models directly to MongoDB databases. Designed for software engineers, database administrators, and developers using MCP-compliant clients such as Claude Desktop, this tool allows users to query, inspect, and update their NoSQL databases through natural language prompts. Instead of writing raw MongoDB query language commands or accessing dedicated database GUIs, users can ask their AI assistant to fetch collections, filter documents, inspect structures, and run database operations. The server exposes specific functions to manage data and index configurations on the fly. It supports querying with projection, inserting single records, updating document fields, deleting stale data, and handling index creation and removal. By bridging the Model Context Protocol with MongoDB connection strings, the server facilitates rapid data exploration, debugging, and administrative workflows without leaving the AI assistant interface.

Category: Databases & Data Stores

Tags: database, mongodb, nosql, query

Visit Mongo

How to install and configure Mongo

  1. Ensure Node.js 18+ and npx are installed on your system. 2. Locate your MongoDB connection string, including authentication details. 3. Open your Claude Desktop configuration file: - macOS: ~/Library/Application Support/Claude/claude_desktop_config.json - Windows: %APPDATA%/Claude/claude_desktop_config.json 4. Add the MongoDB server configuration under the mcpServers object: json { "mcpServers": { "mongodb": { "command": "npx", "args": [ "mongo-mcp", "mongodb://<username>:<password>@<host>:<port>/<database>?authSource=admin" ] } } } 5. Alternatively, install it automatically via Smithery by running npx -y @smithery/cli install mongo-mcp --client claude. 6. Restart Claude Desktop to apply the configuration.

What you can do with Mongo

  • Inspect collection schemas to understand document structure and field types before executing queries. - Execute filtered document lookups, such as finding active orders or high-rated inventory items using natural language. - Insert, update, or remove individual MongoDB documents directly from chat interactions during testing and development. - Create or drop indexes on database collections to optimize query performance without opening a separate administrative tool. - Explore available collections across the database during onboarding to new or unfamiliar backend projects.

Key facts

  • https://github.com/QuantGeekDev/mongo-mcp
  • Databases & Data Stores
  • database, mongodb, nosql, query

Part of MCP Servers

Related MCP servers

  • MCP Memory Keeper — MCP Memory Keeper is an MCP server that provides persistent context management and memory storage for Claude AI coding assistants.…
  • MCP Notes — MCP Notes is an MCP server that provides note-taking and note-management capabilities to AI models using Amazon Web Services DynamoDB…
  • MCP Neo4j Server — MCP Neo4j Server is an MCP server that provides an integration between the Neo4j graph database and Model Context Protocol…
  • MCP Memory Toolkit — MCP Memory Toolkit is an MCP server that provides persistent memory capabilities for Claude and other compatible assistants using ChromaDB.…
  • MCP Memory Server — MCP Memory Server is an MCP server that integrates Claude Desktop with Azure Cosmos DB and OpenAI embeddings to provide…
  • MCP MS SQL Server — MCP MS SQL Server is an MCP server that provides a standardized Model Context Protocol interface for AI models to…

What is Mongo MCP?

Mongo MCP is a Model Context Protocol server that enables AI assistants like Claude Desktop to connect directly to MongoDB databases. It provides tools to query collections, inspect schemas, manage indexes, and execute document insert, update, or delete operations.

How do I install Mongo MCP?

You can add it to your Claude Desktop configuration file under mcpServers using npx to execute mongo-mcp alongside your MongoDB connection URL. Alternatively, you can use the Smithery CLI by running npx -y @smithery/cli install mongo-mcp --client claude.

What tools are available in Mongo MCP?

The server provides database query and index tools, including listCollections, find, insertOne, updateOne, deleteOne, createIndex, dropIndex, and indexes. These tools enable complete document retrieval, mutation, and index management through conversational prompts.

Is Mongo MCP open source?

Yes, Mongo MCP is open source software published under the MIT License on GitHub by QuantGeekDev.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories