List your AI tool on AI Orion for free. Submit a tool

Culprit SQL Studio

Find the slow query that's dragging your database down.

Pricing
Free

About Culprit SQL Studio

Culprit SQL Studio is a desktop application, command-line tool and MCP server that finds the queries slowing down a database and explains what is slow, what it costs and how to fix it in one sentence. It supports SQL Server, PostgreSQL, TimescaleDB, YugabyteDB, MySQL, MariaDB and SQLite. It is aimed at developers and coding agents who need to diagnose database performance without installing anything on the server.

Culprit reads the statistics a database already keeps, such as catalog and statistics views, Query Store, plan cache, DMVs, Extended Events, pg_stat_statements and performance_schema, depending on the engine. Scans are read-only with short lock timeouts, and estimated plans never run anything. On a production connection, any statement that is not provably read-only asks for approval before running, and suggested fixes are shown but never applied automatically.

Findings rank slow queries, missing indexes, unsafe migrations, lock pile-ups and query regressions by their share of database time, each with supporting detail, a production-safe fix and a way to verify it. Execution plans are explained in plain words with a diagram of where the cost goes, and two plans can be compared or a virtual index tested with HypoPG before it is built. A "What changed" view compares two periods and lists what got slower or improved.

Culprit SQL Studio runs on macOS, Windows and Linux, with a separate command-line binary and an MCP server that gives Claude Code, Codex and Cursor 27 tools, including dashboard, findings, execution plans and migration linting. It is free and open source under the MIT license, with no account, cloud or telemetry; passwords are kept in the OS keychain. The Windows installer is not yet code-signed.

Use cases

  • Diagnosing why a report query times out in production
  • Catching unsafe migration DDL before it locks a table in CI
  • Finding a missing index behind a slow filter
  • Resolving blocking sessions and deadlocks
  • Letting a coding agent query database performance directly

Key features

  • Ranks slow queries, missing indexes and unsafe migrations by cost
  • Explains execution plans with a cost diagram
  • Flags query regressions between two time periods
  • Shows blocking chains and deadlocks live
  • MCP server gives coding agents 27 database tools
  • Tests a virtual index before it is built
  • Lints migrations for unsafe DDL before deploy
  • Runs read-only with no account or telemetry
  • CLI binary usable in scripts, CI and agents

Pros and cons

Pros

Free and open source under the MIT license
Read-only, with no account, cloud or telemetry
Small, fast native app

Cons

Windows build is not yet code-signed

Reviews

Loading reviews…

Frequently asked questions

What permissions does Culprit need?
Read access to the database's statistics and catalog, or read access to a SQLite file.
Do I need to install anything on the database server?
No; there is no background agent or collector to deploy.
Will it change anything in my database?
No. Scans only read statistics and catalog views, and suggested fixes are shown, never applied.
Is it really free?
Yes, Culprit SQL Studio is open source under the MIT license, including the app, CLI and MCP server.
Which coding agents work with it?
Any agent that speaks the Model Context Protocol, including Claude Code, Codex and Cursor.

Alternatives to Culprit SQL Studio

More in AI Developer Tools