mongodb-query-optimizer - MongoDB Query Optimization and Indexing Help
Optimize MongoDB queries and suggest indexes for better performance
Tags
Updated: 2026-06-30Capabilities
Typical Inputs
Typical Outputs
What this skill does
- analyze query performance
- fetch collection indexes
- run explain on queries
- retrieve sample documents
- fetch slow query logs
- get index suggestions
- recommend compound indexes
- suggest index removal
- analyze aggregation pipelines
Inputs
- database connection string
- database name
- collection name
- query definition
- Atlas API credentials
- project ID
- cluster name
Outputs
- query performance analysis
- index recommendations
- slow query logs
- compound index definitions
- optimization suggestions
- schema suggestions
Requirements
- MongoDB MCP server
- Atlas API access
- reference files
