Databases
gosqlx.dev
An SQL analysis and formatting MCP server that parses, lints, formats, reviews, and extracts metadata from SQL queries.
ENDPOINT 1
https://mcp.gosqlx.dev/mcp
MCP server metadata
- Name
- gosqlx-mcp
- Version
- 1.17.0
GoSQLX parses, validates, formats, lints, and security-scans SQL locally. All tools are read-only, deterministic, and never connect to a database or execute SQL. Pick the narrowest tool for the request: - analyze_sql: one-shot review of a query (validity, statement types, tables/columns/functions, security findings, lint violations, formatted SQL). Prefer it when the user asks to "review", "check", or "analyze" SQL; hosts that support MCP Apps render it as an interactive report. - validate_sql: is the SQL syntactically valid, optionally for a specific dialect (postgresql, mysql, mariadb, sqlserver, oracle, sqlite, snowflake, clickhouse). - format_sql: pretty-print SQL, one clause per line. Options: uppercase_keywords=true upper-cases all keywords, but not data type names (default false: clause keywords upper-case, other keywords such as like may keep their input case); indent_size=0 puts each statement on one line, larger values only indent nested blocks such as CREATE TABLE columns; add_semicolon appends ";". - parse_sql: statement count and AST statement types. - extract_metadata: tables, columns, and functions referenced. - security_scan: SQL-injection pattern detection (tautologies, UNION-based, stacked queries, comment bypass, ...), with severities. - lint_sql: style rules L001-L010 (whitespace, indentation, line length, alignment, keyword case, comma placement, aliasing). Pass the SQL text exactly as the user wrote it. Results are JSON; summarise them for the user rather than repeating them verbatim.
Known tools 7
extract_metadataUse this when the user wants the tables, columns, and functions a SQL query references (e.
Inferred read-onlyformat_sqlUse this when the user wants SQL pretty-printed or reformatted: one clause per line, optional upper-case keywords and trailing semicolon.
Inferred read-onlyparse_sqlUse 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.
Inferred read-onlysecurity_scanUse this when the user wants SQL checked for injection patterns: tautologies, UNION attacks, stacked queries, comment bypasses, and more.
Inferred read-onlyvalidate_sqlUse this when the user wants to know whether a SQL statement is syntactically valid, optionally for a specific dialect.
Inferred read-onlyCONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.gosqlx-mcp]
url = "https://mcp.gosqlx.dev/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"gosqlx-mcp": {
"type": "http",
"url": "https://mcp.gosqlx.dev/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: gosqlx-mcp
Remote MCP URL: https://mcp.gosqlx.dev/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"gosqlx-mcp": {
"url": "https://mcp.gosqlx.dev/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"gosqlx-mcp": {
"type": "http",
"url": "https://mcp.gosqlx.dev/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "gosqlx-mcp",
"transport": "streamable-http",
"url": "https://mcp.gosqlx.dev/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
TRUST AND VERIFICATION EVIDENCE
Trust Data Available
BuiltWith Trust API v2 evidence for gosqlx.dev was fetched 2026-10-30T21:25:06.788Z.
gosqlx.dev is assessed as Neutral: No suspicious signals found, but no strong positive signal either
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.