Loot Protocol is a marketplace for AI coding extensions — skills, MCP servers, and plugins that enhance Claude Code and Cursor. Install with a single CLI command. Learn more →
Explains complex SQL queries in plain English and surfaces likely performance issues from the query plan. Postgres, MySQL, and SQLite.
brew install lootprotocol/tap/lootloot loginloot learn @mira-okafor/sql-explainer --claudePrefer to use your AI agent? Switch to the AI Agent tab below to connect via MCP server instead.
loot learn @mira-okafor/sql-explainer --claudeRun in your terminal. Requires the loot CLI — see the installation guide.
Takes a SQL query (any length, any dialect) and explains what it does, table by table, in plain English. Reads the EXPLAIN plan when you provide one and flags the parts most likely to be slow — sequential scans, missing indexes, surprising join orders.
Postgres, MySQL, and SQLite are first-class. Other dialects degrade gracefully.
loot run sql-explainer --query "SELECT ..." --dialect postgresPipe the output of EXPLAIN ANALYZE via stdin for performance-focused explanations.