Paste or type a SQL query in the editor, or pick one of the example queries above to get started.
Integrate AutoDBA query diagnostics directly into your AI IDE.
AutoDBA is published as a standalone Python MCP server package (autodba-mcp). Run it locally in Claude Desktop, Cursor, or Antigravity via uvx autodba-mcp, or connect to the serverless JSON-RPC HTTP endpoint.
autodba-mcp
uvx autodba-mcp
Unlike other tools that ask for your database password, AutoDBA never connects to your database. It analyzes query syntax offline—meaning zero access to real customer data, zero security risk, and zero chance of accidental database mutations.
{ "mcpServers": { "autodba": { "command": "uvx", "args": [ "autodba-mcp" ] } } }
Unlock high-frequency agentic query rewrites.
*Rule-based analysis and all enterprise examples are always 100% free with unlimited runs.
sessionStorage
X-Gemini-Key
Wrap your query into an enterprise-standard, production-ready stored procedure.
USE [AppDB]; GO SET ANSI_NULLS ON; GO SET QUOTED_IDENTIFIER ON; GO -- ============================================= -- Author: AutoDBA -- Create Date: 2026-10-16 -- Description: Stored procedure for [dbo].[sp_GetData] -- ============================================= CREATE OR ALTER PROCEDURE [dbo].[sp_GetData] AS BEGIN SET NOCOUNT ON; SET XACT_ABORT ON; BEGIN TRY END TRY BEGIN CATCH -- Preserve error line number, severity, and state THROW; END CATCH; END; GO