Scout your MongoDB databases with AI - safety features, live monitoring, and data quality
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Scout your MongoDB databases with AI - A production-ready Model Context Protocol server with built-in safety features, live monitoring, and data quality tools.
You ask:
"Anything unusual happening with order volume this month?"
Mongo Scout returns:
ordersStatistics (last 30 days)
| Metric | Value |
|---|---|
| Daily Average | 2,847 documents |
| Standard Deviation | 412 |
| Min / Max | 1,923 / 3,601 |
Anomalies Detected
Recommendations
That's detectVolumeAnomalies β one of 50 tools covering exploration, querying, diagnostics, monitoring, data quality, and safe writes.
Then ask: "What collections do I have and what do their schemas look like?"
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
Add to your MCP settings:
The server runs in read-only mode by default. For write operations, run a separate instance:
listDatabases β all databases in the instancegetDatabaseStats β storage and performance statisticslistCollections β collections in the current databasegetCollectionStats β size, document count, index detailsinferSchema β schema inference from sampled documentsfind β query documents with filtering, sorting, projectionaggregate β run aggregation pipelinescount β count documents matching a querydistinct β unique values for a fieldtextSearch β full-text search across indexed fieldsexplainQuery β query execution plan analysisdetectVolumeAnomalies β unusual patterns in document volumeanalyzeQueryPerformance β query optimization using explain plansgetServerStatus β server performance metricsgetCurrentOperations β currently running operationsgetConnectionPoolStats β connection pool healthgetProfilerStats β profiler data and slow operationsgetLiveMetrics β real-time metrics with continuous updatesgetHottestCollections β collections with highest activitygetCollectionMetrics β detailed per-collection metricsgetSlowestOperations β slow query trackingrunAdminCommand β execute admin commandsfindDuplicates β duplicate documents by field combinationfindOrphans β orphaned references across collectionsfindMissingFields β documents missing required fieldsfindInconsistentTypes β type inconsistencies across documentsvalidateDocuments β custom validation with MongoDB $exprexploreRelationships β multi-hop relationship traversalfindRecent β documents within a time windowfindInTimeRange β date range queries with optional groupinglistIndexes β all indexes for a collectioncreateIndex β create new indexesdropIndex β remove indexesexportCollection β JSON, JSONL, or CSVcloneCollection β clone with filtering and index copyingpreviewUpdate / previewDelete β see what would change before committingpreviewBulkWrite β preview bulk operationsinsertOne / insertMany β insert documentsupdateOne / updateMany β update with dryRun and maxDocuments limitsreplaceOne β replace a single documentfindOneAndUpdate β find and update atomicallydeleteOne / deleteMany β delete with dryRun and maxDocuments limitsbulkWrite β multiple write operations in one callrenameField β rename fields with dry-run and index migrationcreateCollection / dropCollection β collection management"What collections do I have and what's the schema of users?"
"Find duplicate emails in the users collection."
"Show me order volume anomalies over the last month."
"What's happening on the server right now?"
"Find orders that reference deleted users."
"Export the products collection as CSV."
| Variable | Default | Description |
|---|---|---|
ENABLE_LOGGING | false | Enable file logging |
LOG_DIR | ./logs | Log file directory |
CLI flags: --read-only (default), --read-write, --mode <mode>
File logging is disabled by default. Set ENABLE_LOGGING=true to enable. Two log files are created in LOG_DIR:
Connection strings are automatically redacted in all output.
Both formats accepted:
Apache-2.0
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mongo-scout-mcp)<a href="https://allmcps.com/mcp/mongo-scout-mcp"><img src="https://allmcps.com/api/badge/mongo-scout-mcp?style=directory" alt="Mongo Scout MCP on AllMCPs" /></a>