Categories › Data & Databases › SQL databases
SQL validation, formatting, parsing, metadata extraction, linting, and security analysis.
Remote server: your requests and data go to mcp.gosqlx.dev. Claude Code: claude mcp add --transport http gosqlx https://mcp.gosqlx.dev/mcp · Claude app: Settings → Connectors → Add custom connector.
The tools this server listed when we connected to it, in its own words.
analyze_sql — Use this when the user wants a complete review of a SQL query. Runs validate, parse, metadata, security, lint, and format concurrently and rextract_metadata — Use this when the user wants the tables, columns, and functions a SQL query references (e.g. for lineage or impact analysis). Returns {tableformat_sql — Use this when the user wants SQL pretty-printed or reformatted: one clause per line, optional upper-case keywords and trailing semicolon. Colint_sql — Use this when the user wants SQL style feedback. Applies the same 10 rules as `gosqlx lint`: L001 trailing whitespace, L002 mixed indentatioparse_sql — Use this when the user wants to know how SQL parses: returns an AST summary with the statement count and the type of each statement, optionasecurity_scan — Use this when the user wants SQL checked for injection patterns: tautologies, UNION attacks, stacked queries, comment bypasses, and more. Revalidate_sql — Use this when the user wants to know whether a SQL statement is syntactically valid, optionally for a specific dialect. Returns {valid: boolNot tested by KitScout yet. When our harness runs it, pros, cons and the tasks we tried appear here, with the date and evidence.