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.
@QuantGeekDev
Basic information
A mongo db server for the model context protocol (MCP)
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"
]
}
}
}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.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
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.
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.
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.
Provide your MongoDB connection URL in the server configuration: `mongodb://<username>:<password>@<host>:<port>/<database>?authSource=admin`.
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).
Query tools: `find`, `listCollections`, `insertOne`, `updateOne`, `deleteOne`. Index tools: `createIndex`, `dropIndex`, `indexes`.
In `claude_desktop_config.json` located at `~/Library/Application Support/Claude/` on macOS or `%APPDATA%/Claude/` on Windows.

Access millions of official legal and regulatory source documents from 155+ jurisdictions via MCP. Lawstronaut supports AI agents with structured legal research, legal data, laws, regulations, cases, guidance, official s

Model Context Protocol Servers

Model Context Protocol Servers
MCP server for interacting with Neon Management API and databases
Comments