GO

GoSQLX

io.github.ajitpratap0/gosqlx

SQL validation, formatting, parsing, metadata extraction, linting, and security analysis.

Yes, your AI can use this right now.Answered a live MCP handshake in 292 ms with no sign-in needed and exposes 7 tools.
Is this your server? Claim the listing. Verified adds a vendor-confirmed mark on this page and matching app pages.
Claim with Verified — $49/moWant it in front of people comparing Developer Tools tools? Feature it — $149/mo

Connect it

Settings → Connectors → Add custom connector
URL: https://mcp.gosqlx.dev/mcp

7 tools, pulled live

Pulled straight from the server with tools/list on 2026-10-27.
analyze_sqlread-only

Use this when the user wants a complete review of a SQL query. Runs validate, parse, metadata, security, lint, and format concurrently and returns one composite report; hosts that support MCP Apps render it as an interactive report.

extract_metadataread-only

Use this when the user wants the tables, columns, and functions a SQL query references (e.g. for lineage or impact analysis). Returns {tables, columns, functions}.

format_sqlread-only

Use this when the user wants SQL pretty-printed or reformatted: one clause per line, optional upper-case keywords and trailing semicolon. Comments are not kept. Returns {formatted_sql, options}.

lint_sqlread-only

Use this when the user wants SQL style feedback. Applies the same 10 rules as `gosqlx lint`: L001 trailing whitespace, L002 mixed indentation, L003 consecutive blank lines, L004 indentation depth, L005 line length (>100), L006 column alignment, L007 keyword case (upper), L008 comma placement (trailing), L009 aliasing consistency, L010 redundant whitespace. Returns {violation_count, violations}.

parse_sqlread-only

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.

security_scanread-only

Use this when the user wants SQL checked for injection patterns: tautologies, UNION attacks, stacked queries, comment bypasses, and more. Returns findings with severity counts.

validate_sqlread-only

Use this when the user wants to know whether a SQL statement is syntactically valid, optionally for a specific dialect. Returns {valid: bool, error?: string, dialect?: string}.

Alternatives in Developer Tools

Compare →
Try “Notion”, “Stripe”, “create invoice”, “browser”