Insights

find_slow_queries

find_slow_queries

Find the queries that slow your app down.

Read only

Reads query statistics, groups similar statements and ranks them by total time, so the agent can suggest indexes with real numbers.

Parameters

since

duration

Time window, like 24h or 7d.

Try asking

“What's making the dashboard slow?”

Give your agent every tool in two minutes.

One command connects Socket to Claude, ChatGPT, Cursor or VS Code. Read-only until you say otherwise.

Terminal
$ npx -y @socketmcp/server init

Create a free website with Framer, the website builder loved by startups, designers and agencies.