protogrid

Search / io.github.ajitpratap0/gosqlx

GoSQLX

R0· no sign-in

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

v1.18.0 · active · repository · website · descriptor JSON · versions

An agent can connect right now, no human step.Remote endpoint, no authentication, reachable on the last probe.
Quality91strong
Trust97of 100
Uptime, 30 days100%
Latency p50477 msp95 1044 ms

Connect

8 clients · secrets stay placeholders
Add to CursorAdd to VS Codeopens the client, which asks before adding the server
{
  "mcpServers": {
    "gosqlx": {
      "type": "http",
      "url": "https://mcp.gosqlx.dev/mcp"
    }
  }
}
claude mcp add --transport http gosqlx https://mcp.gosqlx.dev/mcp
[mcp_servers.gosqlx]
url = "https://mcp.gosqlx.dev/mcp"
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "gosqlx": {
      "type": "remote",
      "url": "https://mcp.gosqlx.dev/mcp",
      "enabled": true
    }
  }
}
{
  "mcpServers": {
    "gosqlx": {
      "type": "http",
      "url": "https://mcp.gosqlx.dev/mcp"
    }
  },
  "deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=gosqlx&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vbWNwLmdvc3FseC5kZXYvbWNwIn0%3D"
}
{
  "servers": {
    "gosqlx": {
      "type": "http",
      "url": "https://mcp.gosqlx.dev/mcp"
    }
  },
  "deeplink": "vscode:mcp/install?%7B%22name%22%3A%22gosqlx%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.gosqlx.dev%2Fmcp%22%7D"
}
{
  "mcpServers": {
    "gosqlx": {
      "httpUrl": "https://mcp.gosqlx.dev/mcp"
    }
  }
}
extensions:
  "gosqlx":
    enabled: true
    name: "gosqlx"
    type: streamable_http
    uri: "https://mcp.gosqlx.dev/mcp"
    timeout: 300

Quality 91 / 100strong

protocol75 · weight 25
  • warn
    protocol.modernnewest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
  • n/a
    protocol.statelessonly applies to 2026-07-28 servers
  • pass
    protocol.transportstreamable HTTP
  • n/a
    protocol.list_ttlonly applies to 2026-07-28 servers
authorizationn/a · weight 15
  • n/a
    auth.prm, auth.as_metadata, auth.cimdno remote uses OAuth
  • n/a
    auth.secret_in_urlno templated URL
tool hygiene100 · weight 30
  • pass
    tools.descriptionsevery tool has a description
  • pass
    tools.description_lengthdescriptions are concise
  • pass
    tools.schemasevery tool has an object input schema
  • pass
    tools.annotations7 of 7 tools declare readOnlyHint or destructiveHint
  • pass
    tools.directory_hintsevery tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
  • pass
    tools.token_costabout 1,114 tokens to load every tool
  • pass
    tools.api_dumptools are not a one-to-one API dump
  • pass
    tools.hidden_textno hidden text in tool, prompt or resource definitions
  • pass
    tools.poisoningno instructions aimed at the model in tool, prompt or resource definitions
stability100 · weight 15
  • pass
    stability.changesno tool changes in 30 days
  • pass
    stability.rug_pullno tool changed its meaning under the same name
  • pass
    stability.new_linksno tool change named a new site
dependenciesn/a · weight 15
  • n/a
    deps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI package

7 tools, about 1,114 tokens to load them all · tool set 24c79235d261 · tools last changed 2026-10-28 · checked 2026-11-29 14:52 UTC

Definition changes

  • parse_sqlchangeddescription, input schema
    before

    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.

    after · 67% of words in common

    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.

  • format_sqlchangeddescription
    before

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

    after · 79% of words in common

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

  • format_sqlchangedinput schema

Full history: list_changes · trend: quality JSON.

Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.

Trust 97 / 100

provenance90
liveness100
freshness100
hygiene100

+repository +namespace-matches-repo +website +reachable +uptime-100% +updated-1d-ago

Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.

Endpoints

Last 30 days100% of probes answered
remoteauthreachableuptime 30dp50p95protocollast ok
https://mcp.gosqlx.dev/mcp streamable-httpnoneyes100%477 ms1044 ms2025-11-252026-11-29

Tools (7)

analyze_sqlread-onlyUse 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-onlyUse 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-onlyUse 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_sqlread-onlyUse 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-onlyUse 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_scanread-onlyUse 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-onlyUse 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}.

Schemas: list_tools.

Prompts and resources (1 resource)

Resources

ui://gosqlx/analysis-v1.htmltext/html;profile=mcp-appInteractive GoSQLX analysis report: validity, statement types, referenced tables/columns/functions, security findings by severity, lint violations, and the formatted SQL with a copy button.

Definitions only, never their content. Full lists: prompts, resources.

Similar MCP servers

Official server.json
{
  "name": "io.github.ajitpratap0/gosqlx",
  "title": "GoSQLX",
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "remotes": [
    {
      "url": "https://mcp.gosqlx.dev/mcp",
      "type": "streamable-http"
    }
  ],
  "version": "1.18.0",
  "repository": {
    "url": "https://github.com/ajitpratap0/GoSQLX",
    "source": "github"
  },
  "websiteUrl": "https://gosqlx.dev",
  "description": "SQL validation, formatting, parsing, metadata extraction, linting, and security analysis."
}