Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ajitpratap0v1.18.0Apache-2.0In 1 marketplace
Validates, lints and formats SQL, and scans queries and SQL-building code for injection patterns. Any SQL Claude passes to its tools goes to a hosted GoSQLX server; the plugin claims it needs no API key.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude writes or edits files
Connects to a remote server outside your machine
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
SQL, PostgreSQL, MySQL, Snowflake, SQLite, SQL Server, Oracle, ClickHouse
sql-linter, sql-formatter, sql-injection, sql-validation, sql-dialects, parser, linter, formatter ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
The official GoSQLX plugin for Claude Code. It gives Claude SQL validation, formatting, linting, SQL injection scanning and analysis, backed by the GoSQLX parser.
In Claude Code:
/plugin marketplace add ajitpratap0/GoSQLX
/plugin install gosqlx@gosqlx
From a shell:
claude plugin marketplace add ajitpratap0/GoSQLX
claude plugin install gosqlx@gosqlx
The marketplace lives at the root of the GoSQLX repository. To avoid checking out the whole repository, add it with a sparse checkout: claude plugin marketplace add ajitpratap0/GoSQLX --sparse .claude-plugin plugins.
Run /reload-plugins (or restart Claude Code) and check /mcp. The server appears as plugin:gosqlx:gosqlx.
| Component | Name | What it does |
|---|---|---|
| MCP server | gosqlx | Remote GoSQLX MCP server at https://mcp.gosqlx.dev/mcp. No install, no API key |
| Skill | sql-analysis | Full review via analyze_sql, explained in plain language |
| Skill | sql-formatting | Formatting via format_sql |
| Skill | sql-security-review | Injection scan via security_scan, plus review of code that builds SQL strings |
| Skill | sql-linting | Lint via lint_sql; explains rules L001-L030 |
| Skill | sql-dialects | Dialect validation via validate_sql |
| Command | /gosqlx:analyze | Analyze a SQL string or .sql file |
| Command | /gosqlx:format | Format a SQL string or .sql file |
| Command | /gosqlx:lint | Lint a SQL string or .sql file |
| Command | /gosqlx:security | Injection review of SQL or a source file |
| Agent | sql-reviewer | Read-only reviewer for SQL files, migrations and SQL-building code |
| Hook | PostToolUse | After Claude writes or edits a .sql file, validates it with the local gosqlx CLI if it is installed |
MCP tools (all read-only): validate_sql, format_sql, parse_sql, extract_metadata, security_scan, lint_sql, analyze_sql. In Claude Code they are named mcp__plugin_gosqlx_gosqlx__<tool>.
/gosqlx:analyze SELECT * FROM users WHERE id = 1 OR 1=1
/gosqlx:format db/queries/report.sql
/gosqlx:lint "select a,b from t where x=1"
/gosqlx:security internal/store/users.go
@agent-gosqlx:sql-reviewer review the migrations in this branch
The skills also trigger from plain requests, for example "is this query valid on Snowflake?", "format this SQL", "explain lint rule L019" or "check this handler for SQL injection".
lint_sql and gosqlx lint apply the style rules L001-L010. Rules L011-L030 (safety, performance, naming) run only through the Go library (gosqlx.Lint). See LINTING_RULES.md.validate_sql accepts these dialects: generic, mysql, postgresql, sqlite, sqlserver, oracle, snowflake. Newer server builds also accept mariadb and clickhouse; if the connected server's tool schema does not list them, use the CLI: gosqlx validate --dialect clickhouse file.sql.analyze_sql costs more than the other tools.The hook runs hooks/validate-sql.sh after Write, Edit and MultiEdit. It is best-effort and never blocks:
.sql and the gosqlx CLI is on PATH.gosqlx validate reports a syntax error, the error is passed back to Claude so it can fix the file.jq when available, with a sed fallback otherwise.GOSQLX_HOOK_DISABLE=1 in your environment.Install the CLI to enable it:
go install github.com/ajitpratap0/GoSQLX/cmd/gosqlx@latest
The CLI validates with its default dialect. Dialect-specific files can produce false positives.
What the plugin runs, sends and fetches:
https://mcp.gosqlx.dev/mcp. Any SQL that Claude passes to a GoSQLX tool is sent to that server. It needs no account or API key and the plugin sends no credentials. The server keeps no SQL, results or request data on disk. Don't send SQL that contains secrets, credentials or personal data. For proprietary schemas or queries, use local mode.gosqlx CLI already installed on your machine, reads only the .sql file Claude just wrote, and sends nothing over the network. It downloads and installs nothing.gosqlx CLI.The tools only parse and analyze text. They never connect to or execute anything against a database.
Privacy policy: https://gosqlx.dev/privacy/.
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub ajitpratap0/gosqlx --plugin gosqlxPlugins from other owners that cover similar ground