Culprit SQL Studio
Identify database performance bottlenecks, slow queries, execution plans, and deadlocks with actionable evidence and fix suggestions.
Culprit SQL Studio is a comprehensive database performance analysis platform available as a desktop app, CLI, and MCP server. It brings query metrics, execution plans, wait states, and schema context into a unified interface across major databases like PostgreSQL, SQL Server, MySQL, SQLite, TimescaleDB, and YugabyteDB. By prioritizing bottlenecks by impact and pairing every finding with concrete evidence and suggested fixes, it enables both human engineers and AI coding agents to optimize database performance, verify fixes, and lint schema migrations in CI/CD pipelines safely.
Key Features
01Interactive execution plan analysis with side-by-side plan comparisons, row-estimate inspections, and HypoPG index testing
02Evidence-backed findings with actionable SQL fix suggestions, verification steps, and period-over-period deploy diffs
03Live session diagnostics to track blocking chains, transaction bottlenecks, and retained deadlock events
0424 GitHub stars
05Comprehensive database support including SQL Server, PostgreSQL, MySQL, MariaDB, SQLite, TimescaleDB, and YugabyteDB
06Full Model Context Protocol (MCP) server support with safe read-only queries, query approvals, and audit logging for AI coding agents
Use Cases
01Empowering AI coding assistants like Claude Code and Cursor to diagnose slow queries, inspect execution plans, and test hypothetical indexes safely
02Preventing deployment downtime by linting database migration files against production-like schemas and workloads in CI/CD pipelines
03Troubleshooting live production database performance degradation, connection pool churn, and transaction deadlocks