Free, open-source SQL Server execution plan analyzer — cross-platform GUI + CLI with 30 analysis rules, missing index detection, SSMS extension. Built-in MCP server for AI-assisted plan review.
# Add to your Claude Code skills
git clone https://github.com/erikdarlingdata/PerformanceStudioGuides for using mcp servers skills like PerformanceStudio.
PerformanceStudio is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by erikdarlingdata. Free, open-source SQL Server execution plan analyzer — cross-platform GUI + CLI with 30 analysis rules, missing index detection, SSMS extension. Built-in MCP server for AI-assisted plan review. It has 255 GitHub stars.
PerformanceStudio's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/erikdarlingdata/PerformanceStudio" and add it to your Claude Code skills directory (see the Installation section above).
PerformanceStudio is primarily written in C#. It is open-source under erikdarlingdata on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh PerformanceStudio against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
A cross-platform SQL Server execution plan analyzer with built-in MCP server for AI-assisted analysis. Parses .sqlplan XML, identifies performance problems, suggests missing indexes, and provides actionable warnings — from the command line or a desktop GUI.
Built for developers and DBAs who want fast, automated plan analysis without clicking through SSMS.
Write queries with syntax highlighting and SQL keyword completion, connect to any SQL Server, and capture plans with one click.

Graphical plan tree with SSMS-style operator icons, cost percentages, row counts, and warning badges. The Plan Insights panel shows runtime summary, missing indexes, parameters, and wait stats at a glance.

Navigate stored procedures and batches with multiple statements. Click any statement in the grid to jump to its plan. Plan Insights shows parameters with compiled vs runtime values.

Hover any operator for a grouped tooltip with costs, rows, timing, and parallelism. Click for the full properties panel, which has a filter box and folds per-thread stats into one expander per section instead of hundreds of rows.


Severity-scored cards for each statement: the warnings that fired, wait stats, memory grant, and missing indexes. Copy to clipboard gives you the plain-text version to paste into a ticket.

A real metric diff. Each statement is scored as regressed or improved, every metric carries its own delta chip, and the direction that counts as better is declared per metric rather than guessed from the sign.

Fetch top queries by CPU, duration, logical reads, physical reads, writes, memory, or executions from Query Store and load their plans directly into the analyzer.

The minimap provides a high-level overview of the entire plan, allowing you to quickly navigate to areas of interest. Colored links between operators indicate accuracy ratio divergence, helping you identify where estimates are most off from actuals.

Ask Claude Code to analyze loaded plans, identify warnings, suggest indexes, and compare plans — all through the built-in MCP server.

Set PLANVIEWER_OUTPUT_FORMAT=gcf to have the MCP server return tool results as GCF instead of JSON. GCF factors the repeated field names of record-heavy results (Query Store plan lists, connection and statement listings) into a single header, so a model spends roughly a third fewer tokens reading them. The substitution is opt-in and conservative: a result is re-encoded only when the wire is both smaller than the JSON and decodes back to the same value, so anything it cannot losslessly shrink is returned as the original JSON.
Feed it a query plan and it tells you what's wrong:
Each warning includes severity (Info, Warning, or Critical), the operator node ID, and enough context to act on immediately.
Pre-built binaries are available on the Releases page:
| Platform | Download |
|---|---|
| Windows (x64) | PerformanceStudio-win-x64.zip |
| macOS (Apple Silicon) | PerformanceStudio-osx-arm64.zip |
| macOS (Intel) | PerformanceStudio-osx-x64.zip |
| Linux (x64) | PerformanceStudio-linux-x64.zip |
These are self-contained — no .NET SDK required. Extract the zip and run.
macOS note: macOS may block the app because it isn't signed with an Apple Developer certificate. If you see a warning that the app "can't be opened," run this after extracting:
xattr -cr PerformanceStudio.app
Then open the app normally.
The planview command is a .NET tool on nuget.org. It needs the .NET 10 runtime.
dotnet tool install -g PerformanceStudio.Cli
planview analyze --help
For a CI pipeline, install into a folder and pin the version. A dotnet-tools.json manifest works too.
dotnet tool install --tool-path ./tools PerformanceStudio.Cli --version <version>
./tools/planview analyze plan.sqlplan --compact
To update:
dotnet tool update -g PerformanceStudio.Cli
Clone and build:
git clone https://github.com/erikdarlingdata/PerformanceStudio.git
cd PerformanceStudio
dotnet build
To verify the build:
dotnet test PlanViewer.sln
dotnet run --project src/PlanViewer.Cli -- analyze --help
If you already have a .sqlplan file (saved from SSMS, Azure Data Studio, or another tool):
# JSON output (default) — full operator tre