NestDaddy

GoSQLX

io.github.ajitpratap0/gosqlx · v1.17.0

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

Connect Remote server

Terminal
claude mcp add --transport http gosqlx https://mcp.gosqlx.dev/mcp
~/.cursor/mcp.json
{
  "mcpServers": {
    "gosqlx": {
      "url": "https://mcp.gosqlx.dev/mcp"
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "gosqlx": {
      "type": "http",
      "url": "https://mcp.gosqlx.dev/mcp"
    }
  }
}
Claude Desktop
Settings > Connectors > Add custom connector
URL: https://mcp.gosqlx.dev/mcp

Tools 7 found in our last check

  • 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 returns one composite report; hosts that support MCP Apps render it as an interactive report.

  • extract_metadata

    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_sql

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

  • lint_sql

    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 co…

  • parse_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, optionally for a specific dialect. GO batch separators are excluded from the count.

  • security_scan

    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_sql

    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}.

Details

Endpointhttps://mcp.gosqlx.dev/mcp (Streamable HTTP)
First published31 Oct 2026
Last updated31 Oct 2026
Registry nameio.github.ajitpratap0/gosqlx

More security servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.