GoSQLX logo

GoSQLX

by ajitpratap0

Analyze, validate, format, lint, parse, and security-scan SQL through seven MCP tools over Streamable HTTP.

Install GoSQLX

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for ajitpratap0/GoSQLX, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

ajitpratap0/GoSQLX exposes GoSQLX’s SQL parsing and analysis functions to AI clients through a public Streamable HTTP endpoint. Its seven tools validate, format, parse, lint, security-scan, extract metadata from, or fully analyze SQL queries. Use it when an agent needs structured SQL feedback without connecting to a live database. The server supports eight SQL dialects, including PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite, Snowflake, and ClickHouse.

Use cases

  • Validate generated SQL before execution
  • Format SQL for code review
  • Inspect tables and columns for lineage analysis
  • Lint SQL migration or query files
  • Scan queries for injection patterns

Key features

  • Seven SQL analysis tools over Streamable HTTP
  • Dialect-aware SQL validation
  • AST summaries and metadata extraction
  • Configurable SQL formatting
  • Style linting with violation details
  • Combined concurrent SQL analysis

Tools7

What GoSQLX lets your agent do. Expand a tool for its parameters.

Verified live~811 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

19/19 checks healthy over the last 77d

What it can do

From the 7 tools this server returned when we ran it.

Read-only tools · 7
Tool definitions changed on 2026-10-27. Review them if you approved this server earlier.

Observed 2026-10-27 in an isolated sandbox. A description of reach, not a security audit.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars120Stargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Tools exposed7Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How GoSQLX works

What ajitpratap0/GoSQLX does

ajitpratap0/GoSQLX brings GoSQLX’s SQL tooling into MCP-compatible AI clients. It operates on SQL text rather than querying a database, so it fits code review, query inspection, formatting, validation, and static analysis workflows.

The server provides seven focused operations. Queries can be checked for syntax, converted into a readable layout, summarized as an abstract syntax tree, inspected for referenced objects, reviewed against style rules, scanned for common injection patterns, or processed through a combined analysis. The combined operation runs validation, parsing, metadata extraction, security checks, linting, and formatting concurrently and returns one report.

How it works

Clients send SQL requests to the Streamable HTTP MCP endpoint at https://mcp.gosqlx.dev/mcp. Results are returned as structured data. For example, validation reports whether a statement is valid and can include an error and dialect; metadata extraction returns referenced tables, columns, and functions; parsing returns statement counts and statement types.

Dialect-aware validation is available for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite, Snowflake, and ClickHouse. GoSQLX also documents generic, BigQuery, and Redshift dialect names for its broader library and CLI interfaces, although the MCP tool description specifically identifies the eight dedicated dialects above.

The formatter places clauses on separate lines and can apply uppercase keywords and a trailing semicolon. It removes comments from formatted output. Security analysis checks for patterns such as tautologies, UNION-based attacks, stacked queries, and comment-based bypasses. Linting reports violations from rules covering whitespace, indentation, line length, keyword case, comma placement, alias consistency, and related style issues.

Setup and configuration

No local installation is required for the public remote server. Register the endpoint with Claude Code using:

Terminal
claude mcp add --transport http gosqlx https://mcp.gosqlx.dev/mcp

The same remote URL can be used by Cursor or another MCP client that supports Streamable HTTP. The project also documents adding the URL as a connector in ChatGPT developer mode, where compatible MCP Apps can render the combined analysis as an interactive report.

Tools and capabilities

  • validate_sql: Check SQL syntax, optionally for a selected dialect.
  • format_sql: Reformat SQL with configurable keyword casing and semicolon output.
  • parse_sql: Return an AST-oriented summary of statement count and statement types.
  • extract_metadata: Identify referenced tables, columns, and functions.
  • lint_sql: Report SQL style violations and their count.
  • security_scan: Find common SQL injection patterns and provide severity counts.
  • analyze_sql: Produce a composite report from all six analysis stages.

Limitations and notes

The formatter does not preserve comments. The security scanner focuses on detectable SQL injection patterns and should be treated as static analysis rather than a complete application security review. The MCP interface analyzes supplied SQL; it is not presented as a database connection or query execution service. The combined analysis is most useful when a client can display structured MCP results or MCP App content.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about GoSQLX

ajitpratap0/GoSQLX is an MCP server that connects AI clients to GoSQLX’s SQL analysis engine over Streamable HTTP. Its seven tools validate, format, parse, lint, scan for security issues, extract metadata, and produce a combined analysis report for SQL queries across supported dialects.

You can use the public remote server without installing it locally. Register `https://mcp.gosqlx.dev/mcp` with an MCP client; Claude Code uses `claude mcp add --transport http gosqlx https://mcp.gosqlx.dev/mcp`.

Yes, ajitpratap0/GoSQLX works with Cursor through its Streamable HTTP MCP endpoint. Configure Cursor to use `https://mcp.gosqlx.dev/mcp` as the remote MCP server.

No, the MCP tools analyze supplied SQL text rather than connecting to or executing queries against a database. Use metadata extraction, validation, parsing, linting, formatting, and security scanning for static SQL workflows.

The server supports PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite, Snowflake, and ClickHouse. The validation tool can optionally receive a dialect when checking syntax.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGoSQLX AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ajitpratap0-gosqlx?style=directory)](https://allmcps.com/mcp/ajitpratap0-gosqlx)
HTML Embed
<a href="https://allmcps.com/mcp/ajitpratap0-gosqlx"><img src="https://allmcps.com/api/badge/ajitpratap0-gosqlx?style=directory" alt="GoSQLX on AllMCPs" /></a>