Lightlines
By mongodb

mongodb-query-optimizer

mongodb

Find the indexes that can speed up your MongoDB queries.

database performance

What it does

Diagnoses slow MongoDB queries and recommends high-impact index or query optimizations.

When to use it

Use when the user requests query or index optimization, performance help, or analysis of slow queries.

How to use it

Give it a MongoDB performance question; it returns concise optimization and indexing suggestions with reasoning.

Uses


Access · 2

This skill

MongoDB Atlas Performance Advisor

Read

Reads Atlas performance findings

MongoDB cluster

Read

Inspects your MongoDB cluster

What you need · 4

Optionally enables live database inspection and MongoDB Atlas Performance Advisor analysis; query-shape-only suggestions remain available without it.

An accessible MongoDB cluster optionally enables collection-index, explain-plan, and sample-document inspection.

Optionally enables the MongoDB MCP database tools against a connected cluster.

Optionally enables slow-query and recommendation retrieval from MongoDB Atlas Performance Advisor.


About this skill

Visibility
Public
Repository
mongodb/agent-skills
Created
Oct 8, 2026
Updated
Oct 8, 2026
Files
5