
MCP MongoDB Server
par kiliczsh
Enable LLMs to inspect schemas and execute queries on MongoDB databases with smart ObjectId handling.
What it does
Connects AI agents to MongoDB databases, allowing them to perform complex data operations and structural analysis without manual query writing.
Tools
query: Execute MongoDB queries and aggregation pipelines.insert/update: Perform write operations on collections.get_schema: Automatically infer collection schemas from document samples.list_collections: Auto-complete and retrieve collection names.explain: Get query explain plans for performance tuning.
Installation
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"mongodb": {
"command": "npx",
"args": ["-y", "mcp-mongo-server", "mongodb://your-connection-string"]
}
}
}
Supported hosts
Confirmed support for Claude Desktop, Windsurf, and Cursor.
Installation rapide
npx -y mcp-mongo-server mongodb://localhost:27017/databaseInformations
- Tarification
- free
- Publié
- 4/19/2026
- étoiles






