Runs inside SQL Server Management Studio 22
Your AI pair-DBA, inside SSMS — on your own Claude or ChatGPT account.
It reads your query, your execution plan, and the red error in Messages, then helps you fix it — and it never runs a write without passing a ScriptDom safety gate first. Sign in with the Claude or ChatGPT account you already have. No GitHub Copilot license, no second AI bill.
SSMS 22 · Windows · signs in with Claude Code or Codex CLI · own it from $39 or subscribe from $29/yr
Why it exists
Three things that break a DBA's flow — solved without leaving SSMS.
01
The red error you have to go read about
Msg 8134, divide by zero — again. SQL Sage sees the error in the Messages pane and your query, explains the real cause, and proposes a safe fix you can insert with one click.
02
"Why is this query slow?" — answered from the plan
Point it at the execution plan or a Query Store regression. It reasons over the actual plan and statistics, not a guess from the query text alone.
03
AI that wants to run SQL on production
Every statement is classified before it runs. Read-only executes; anything that writes or changes schema stops for your explicit approval, with the full SQL in front of you. A gate, not a hope.
What's inside
Everything a chat assistant should do in SSMS — and the DBA parts it usually skips.
Screenshots from the live panel; a couple of newer views are on the way. Below is what ships today.
01 Chat in the context of your connection
The chat is locked to one server and database, shown at the top at all times. Answers know which engine, version, and database they're talking about.

02 SQL block toolbar: Copy · Insert · New query · Run · Format
Every SQL block the assistant writes carries a READ / WRITE / DDL badge and one-click actions. Insert is never Run — putting text in your editor and executing it are two different buttons.

03 ScriptDom safety gate
Statements are classified by the same parser SSMS uses. SELECT runs read-only; DML and DDL require a confirmation dialog showing the exact SQL before anything executes.

04 Query Store, built in
Ask for regressed queries, top consumers, or a stored plan. SQL Sage reads Query Store directly — something GitHub Copilot in SSMS doesn't do.
05 Slash commands
/explain, /optimize, /fix, /doc on your attached query, plus /format with zero tokens. The commands DBAs expect, on the code you're looking at.
06 Multi-provider, your model
Switch between Claude and OpenAI, pick the model, keep your history. Powered by the account you already pay for — nothing resold, nothing metered by us.

07 Pin to a window
Working across five servers? Pin the chat to a specific query window so context never drifts to the wrong connection.

08 Privacy by default
Schema metadata and your query go to the model; query results never do, unless you opt in per session. Server and database names can be masked.

Honest comparison
GitHub Copilot in SSMS is free. Here's when you'd want SQL Sage instead.
If Copilot works for you and your org allows it, use it. We're built for the cases it doesn't cover — and we don't try to replace the deterministic tooling you already love.
| GitHub Copilot in SSMS | Red Gate SQL Prompt | SQL Sage | |
|---|---|---|---|
| Sign in with your own Claude / ChatGPT account | No — GitHub account required | n/a | Yes — Claude Code or Codex |
| Works where GitHub is blocked by policy | No | Yes | Yes |
| Classifies SQL before execution (not just approval) | Approval only ("not a security boundary") | n/a | Yes — ScriptDom gate |
| Query Store as a source of regressions | No | No | Yes |
| Deterministic SQL formatting | No | Yes | Yes (ScriptDom) |
| Inline completions (ghost text) | Yes | Yes | Optional (own key) · keyless planned |
| Second AI bill / metered tokens | Copilot subscription | n/a | No — your account |
| Price | Free tier + paid | ~$369/yr | $39 once or $29/yr · 30-day free trial |
Built for production
Trust is the feature.
A tool that can run SQL on your production server has to earn its place. Here's how.
Read-only by default
Every statement is classified before it runs. Writes and DDL never auto-execute — you approve the exact SQL, and you can edit it first.
One connection, always visible
The chat locks to one server and database, shown at the top. You always know which server an answer will touch.
Your data stays yours
Schema metadata is not your data. Query results are never sent to the model without your explicit, per-session opt-in. Server and database names can be masked.
We never hold your tokens
You sign in through Claude Code or Codex on your own machine. SQL Sage only asks the CLI whether you're signed in — it never sees, stores, or transmits your credentials.
Pricing
Own it once, or subscribe. Your call.
Buy a perpetual licence and keep it forever, or subscribe for the always-latest build. Either way you bring your own Claude or ChatGPT account — nothing metered or resold by us. Start with a 30-day free trial, all features, no credit card.
Own it — one-time
Personal
Individual DBAs & consultants
12 months of updates included, then optional maintenance ~$19/yr.
Buy PersonalPro popular
Small teams & power users
12 months of updates included, then optional maintenance ~$39/yr.
Buy ProTeam
Teams, priority support
12 months of updates included, then optional maintenance ~$89/yr.
Buy TeamSubscription — always latest
Personal
Individual DBAs & consultants
Always the latest version, updates included, cancel anytime.
Subscribe — PersonalPro popular
Small teams & power users
Always the latest version, updates included, cancel anytime.
Subscribe — ProTeam
Teams, priority support
Always the latest version, updates included, cancel anytime.
Subscribe — Team// Recommended launch pricing, to confirm. 30-day free trial, no card. Secure hosted checkout via our payments provider (merchant of record).
Get it
Install in two minutes.
Windows · x64 or Arm64 · ~ a few MB · v0.1.0 · 30-day trial starts on first run
Requirements
- SQL Server Management Studio 22 (Windows, x64 or Arm64)
- Claude Code or Codex CLI installed and signed in — that's how SQL Sage reaches the AI. Links below.
- Admin rights for install (writes to Program Files, standard for SSMS extensions)
Steps
- Close SSMS.
- Run
SqlSageSetup.exeand approve the UAC prompt. - Reopen SSMS — the SQL Sage panel opens automatically.
- Sign in with Claude or OpenAI in the panel's status bar, and start chatting.
"Windows protected your PC"? Here's why.
SQL Sage is a young product and the installer isn't code-signed yet, so Windows SmartScreen shows a warning. This is expected for now. Click More info → Run anyway. Code signing (Microsoft Trusted Signing) is on the way.
Questions
Frequently asked.
Do I need a GitHub account or a Copilot license?
No. SQL Sage signs in with your own Claude or ChatGPT account through Claude Code or Codex.
Do you resell tokens or add a markup?
No. The AI runs on the account you already have. We never meter or resell usage.
Can it run destructive SQL on my database?
Not without you. Reads run automatically; writes and DDL stop for a confirmation dialog showing the exact SQL. Classification happens before execution.
Does my data get sent to the AI?
Schema metadata and the query text do. Query results never leave your machine unless you opt in per session. Names can be masked.
Why does Windows warn me during install?
The installer isn't code-signed yet. See the install section above. Signing (Microsoft Trusted Signing) is on the way.
Which SSMS versions are supported?
SSMS 22. SSMS 21 support is under evaluation.
Does it work with Azure SQL?
The assistant is engine- and Azure-aware. Full Azure SQL / Managed Instance connectivity with Entra auth is on the roadmap.
Does it do inline completions like Copilot?
Optionally. Ghost-text completions in the query editor are an opt-in advanced feature that today uses your own Anthropic key; keyless completions for paid plans are on the roadmap. Chat, query help and safe execution need no key — just sign in with Claude or ChatGPT.
Is it affiliated with Microsoft, Anthropic, or OpenAI?
No. SQL Sage is an independent extension by Luma.
How much does it cost?
Your choice. Own it once — Personal $39, Pro (5 seats) $79, Team (10 seats) $179, with 12 months of updates included. Or subscribe for the always-latest build — Personal $29/yr, Pro $59/yr, Team $129/yr. Every install starts with a 30-day free trial, all features, no credit card. You bring your own Claude or ChatGPT account; we never meter or resell usage.
Stay posted
Get told when there's something new.
One email when there's a new release. No spam, no card. This is optional — you don't need it to download or start your trial.
We'll email once, when there's something to try. That's it.