GoSQLX
io.github.ajitpratap0/gosqlx
MCP server OK 7 tools
SQL validation, formatting, parsing, metadata extraction, linting, and security analysis.
Technical sheet
- Author
- ajitpratap0 (registry namespace)
- Repository
- github.com/ajitpratap0/GoSQLX
- Site
- gosqlx.dev
- Version
- 1.18.0
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://mcp.gosqlx.dev/mcp Streamable HTTP
- Tools
- 7
- Categories
- Databases, Security
- Last updated
- 28 Nov 2026
- Published
- 28 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.ajitpratap0/gosqlx)<a href="https://latlas.dev/en/mcp/io.github.ajitpratap0/gosqlx"><img src="https://latlas.dev/badge/statut/mcp/io.github.ajitpratap0/gosqlx.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.ajitpratap0/gosqlx)<a href="https://latlas.dev/en/mcp/io.github.ajitpratap0/gosqlx"><img src="https://latlas.dev/badge/fiche/io.github.ajitpratap0/gosqlx.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://mcp.gosqlx.dev/mcp
- Last result
- OK 28 Nov 2026, 08:38
- Response time
- 899 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- gosqlx-mcp 1.17.0
- Tools
- 7
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 08:38 | OK | 899 ms | 7 |
Exposed tools (7, from tools/list, 28 Nov 2026)
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| sql | string | yes | The SQL string to analyze |
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}.
| Parameter | Type | Required | Description |
|---|---|---|---|
| sql | string | yes | The SQL string to analyze |
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}.
| Parameter | Type | Required | Description |
|---|---|---|---|
| add_semicolon | boolean | no | Append a trailing semicolon (default: false) |
| indent_size | number | no | Spaces per indent level for nested blocks such as CREATE TABLE columns; clauses always start at column 0. 0 puts each statement on one line (default: 2) |
| sql | string | yes | The SQL string to format |
| uppercase_keywords | boolean | no | true upper-cases all SQL keywords (AND, IN, CASE, ...), but not data type names. false keeps the formatter's casing: clause keywords (SELECT, FROM, WHERE, ...) upper-case, other keywords (e.g. like) may keep their input case (default: false) |
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 comma placement (trailing), L009 aliasing consistency, L010 redundant whitespace. Returns {violation_count, violations}.
| Parameter | Type | Required | Description |
|---|---|---|---|
| sql | string | yes | The SQL string to lint |
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| dialect | enum: "generic" | "postgresql" | "mysql" | "mariadb" | "sqlserver" | "oracle" | "sqlite" | "snowflake" … | no | SQL dialect: generic, postgresql, mysql, mariadb, sqlserver, oracle, sqlite, snowflake, bigquery, redshift, clickhouse |
| sql | string | yes | The SQL string to parse |
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| sql | string | yes | The SQL string to scan |
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}.
| Parameter | Type | Required | Description |
|---|---|---|---|
| dialect | enum: "generic" | "postgresql" | "mysql" | "mariadb" | "sqlserver" | "oracle" | "sqlite" | "snowflake" … | no | SQL dialect: generic, postgresql, mysql, mariadb, sqlserver, oracle, sqlite, snowflake, bigquery, redshift, clickhouse |
| sql | string | yes | The SQL string to validate |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://mcp.gosqlx.dev/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http gosqlx https://mcp.gosqlx.dev/mcpCustomize > Connectors > + Add > Add custom connector ; Name : gosqlx ; URL : https://mcp.gosqlx.dev/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : gosqlx ; Server URL : https://mcp.gosqlx.dev/mcp ; Create as a plugin{
"mcpServers": {
"gosqlx": {
"url": "https://mcp.gosqlx.dev/mcp"
}
}
}{
"mcpServers": {
"gosqlx": {
"type": "http",
"url": "https://mcp.gosqlx.dev/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"gosqlx": {
"url": "https://mcp.gosqlx.dev/mcp"
}
}
}{
"mcpServers": {
"gosqlx": {
"httpUrl": "https://mcp.gosqlx.dev/mcp"
}
}
}[mcp_servers.gosqlx]
url = "https://mcp.gosqlx.dev/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
GoSQLX · L’Atlas · Tested on
[GoSQLX — L’Atlas](https://latlas.dev/en/mcp/io.github.ajitpratap0/gosqlx)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.