GoSQLX
MCP server by ajitpratap0
Validate, parse, format, lint and security-scan SQL across 8 dialects without connecting to a database.
Connect to GoSQLX
No sign-in needed. Connect with GoSQLX’s own URL:
Paste it into any client that supports remote MCP servers. Your client talks to ajitpratap0 directly, not through mcp.tc.
Share this server
Opens this page, with the URL and setup steps.
mcp.tc/i/gosqlxAbout
GoSQLX is a Go SQL parser exposed as an MCP server. It validates, parses, formats, lints and scans SQL text for injection patterns, and extracts the tables, columns and functions a query references. Supported dialects include PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite, Snowflake and ClickHouse.
All tools are read-only and deterministic. They never connect to a database or execute SQL. The server runs as a hosted Streamable HTTP endpoint, and no sign-in or API key is needed.
What you can do
- Run a full review of a query in one call
- Check SQL syntax for a specific dialect
- Pretty-print SQL with optional upper-case keywords
- Lint SQL against style rules L001-L010
- Detect SQL injection patterns with severities
- Extract referenced tables, columns and functions
- Summarize statement count and types from the AST
Tools 7
analyze_sqlRead-onlyRuns validation, parsing, metadata, security, lint and format checks and returns one report.
extract_metadataRead-onlyReturns the tables, columns and functions a SQL query references.
format_sqlRead-onlyPretty-prints SQL with options for keyword case, indent size and trailing semicolon.
lint_sqlRead-onlyApplies style rules L001-L010 and returns the violations.
parse_sqlRead-onlyReturns statement count and statement types, optionally for a dialect.
security_scanRead-onlyDetects SQL injection patterns such as tautologies and UNION attacks, with severities.
validate_sqlRead-onlyChecks whether SQL is syntactically valid, optionally for a dialect.
Read from the live server on 18 Nov 2026. Read-only, Writes and Can delete are hints the server declares; your client decides whether to ask before running a tool.
Example prompts
Review this SQL query and tell me if anything looks wrong.
Is this statement valid PostgreSQL? SELECT * FROM users WHERE id = 1;
Format this SQL with upper-case keywords and a trailing semicolon.
Scan this query for SQL injection patterns.
Set up
Every client connects to mcp.gosqlx.dev. Pick yours; the page remembers your choice.
Claude Code
- Run this in a terminal, in your project folder:
claude mcp add --transport http gosqlx https://mcp.gosqlx.dev/mcp- Start Claude Code and type
/mcp. gosqlx should show as connected.
Add --scope user to make it available in every project, not just this one.
Claude Desktop
- Open Customize → Connectors, click + Add, then Add custom connector.
- Name it GoSQLX and paste this URL:
https://mcp.gosqlx.dev/mcp- Click Add. Its tools appear in the chat’s tools menu.
Claude Desktop’s JSON config file only starts local servers. Remote servers go through Connectors, and connectors you add on claude.ai show up here too.
claude.ai
- Open the connector form on claude.ai. This button fills in the name and URL for you:
Add to claude.ai (opens in a new tab)
- Check that the URL reads
https://mcp.gosqlx.dev/mcpand click Add. - Turn it on in a chat from the tools menu.
Free plans allow one custom connector. On Team and Enterprise plans an owner adds it under Organization settings → Connectors.
ChatGPT
- On chatgpt.com, go to Plugins, select +, then Add custom MCP server.
- Enter a name for the server.
- Under Connection, paste
https://mcp.gosqlx.dev/mcpas the server URL, then for authentication choose No authentication. - Check I understand and want to continue, then select Create as a plugin.
Whether you can add a custom MCP server depends on your ChatGPT plan and your workspace permissions (in Business workspaces, admins and owners can).
Cursor
Add to Cursor (opens in a new tab)
Or add it by hand to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project):
{
"mcpServers": {
"gosqlx": {
"url": "https://mcp.gosqlx.dev/mcp"
}
}
}VS Code
Install in VS Code (opens in a new tab)
Or from a terminal:
code --add-mcp '{"name":"gosqlx","type":"http","url":"https://mcp.gosqlx.dev/mcp"}'Or commit it to the repo in .vscode/mcp.json:
{
"servers": {
"gosqlx": {
"type": "http",
"url": "https://mcp.gosqlx.dev/mcp"
}
}
}Devin Desktop
- Add it to
~/.config/devin/mcp_config.json(macOS and Linux) or%APPDATA%\devin\mcp_config.json(Windows):
{
"mcpServers": {
"gosqlx": {
"serverUrl": "https://mcp.gosqlx.dev/mcp"
}
}
}- Refresh the MCP server list in Cascade.
Devin Desktop is the new name for Windsurf. It reads serverUrl (or url) for remote servers.
Codex
codex mcp add gosqlx --url https://mcp.gosqlx.dev/mcpOr edit ~/.codex/config.toml directly:
[mcp_servers.gosqlx]
url = "https://mcp.gosqlx.dev/mcp"Gemini CLI
gemini mcp add --transport http gosqlx https://mcp.gosqlx.dev/mcpThis adds it to the current project. Add -s user to use it everywhere.
Any client
Most clients accept this shape. Some name the URL field differently: serverUrl in Devin Desktop, httpUrl in Gemini CLI’s settings file.
{
"mcpServers": {
"gosqlx": {
"type": "http",
"url": "https://mcp.gosqlx.dev/mcp"
}
}
}Zed puts servers under context_servers in its settings. Cline needs "type": "streamableHttp", or it assumes SSE.
Client only starts local servers? Bridge it with npx -y mcp-remote https://mcp.gosqlx.dev/mcp.
Embed
Show GoSQLX in a README or on your site. Each embed links to this page, uses the server’s own URL, and sets no cookies. How embeds work
The card, the iframe and the JSON are in English. Add ?lang=it, fr, de or es to their address for another language.
README badge
[](https://mcp.tc/i/gosqlx)<a href="https://mcp.tc/i/gosqlx"><img src="https://mcp.tc/i/gosqlx/badge.svg" alt="GoSQLX on mcp.tc" height="20"></a>It follows the reader’s light or dark mode. Add ?theme=light or ?theme=dark to fix it, or ?style=compact to show the mark without the word.
Website card
<script src="https://mcp.tc/w/gosqlx.js" async></script>The card appears where the tag is. Add data-theme="dark" or data-size="compact" to the tag to change it. The file holds everything it needs, so it makes no other requests and sets no cookies.
iframe
<iframe src="https://mcp.tc/embed/gosqlx" title="GoSQLX on mcp.tc" width="420" height="200" loading="lazy" allow="clipboard-write" style="border:0;border-radius:8px;max-width:100%"></iframe>Use it on pages that don’t allow scripts. Add ?theme=light or ?theme=dark to the address to fix the colors.
JSON
The listing as data for your own pages and tools: name, tagline, the server’s own URL, tools and the “Add to” links. Any site can read it (CORS is open).
https://mcp.tc/i/gosqlx.jsonAI prompt
Paste this into an AI coding assistant, such as Claude Code or Cursor, and it adds the GoSQLX card to your site.
Add the mcp.tc card for GoSQLX, an MCP server, to my website. It is one static script: no build step, no package to install, no cookies.
Put this tag where the card should appear. The card renders right before it:
```html
<script src="https://mcp.tc/w/gosqlx.js" async></script>
```
To show the card somewhere else, put this placeholder there and load the same script once, for example before `</body>`. Keep the link inside: visitors without JavaScript see it.
```html
<div data-mcptc="gosqlx"><a href="https://mcp.tc/i/gosqlx">GoSQLX on mcp.tc</a></div>
```
Options:
- `data-theme="light"` or `"dark"` on the tag or the placeholder fixes the colors. Without it, the card follows the visitor’s light or dark mode.
- `data-size="compact"` gives a smaller card without the tagline.
- The CSS variable `--mcptc-max-width` on the placeholder or a parent sets the width (default `520px`).
- `?lang=` on the script URL sets the card’s language: `en`, `it`, `fr`, `de` or `es`.
If the site has a Content Security Policy, allow `script-src https://mcp.tc` and `img-src data:` (the icon is inline).
For a README or other Markdown docs, use the badge instead:
```markdown
[](https://mcp.tc/i/gosqlx)
```
Reference: https://mcp.tc/embedChange history
We read this server’s tool list every 3 hours and record what changes. Last read 18 Nov 2026, 02:44 UTC.
FAQ
Can I paste mcp.tc/i/gosqlx into my MCP client?
No. mcp.tc links are pages, not server addresses. Connect with https://mcp.gosqlx.dev/mcp, so your client talks to GoSQLX directly. The quick link is for sharing: it opens this page, with setup steps for every client.
Does GoSQLX need an API key or a sign-in?
No. GoSQLX doesn’t ask for an account or key.
Is GoSQLX a remote or a local server?
Remote. ajitpratap0 hosts it at https://mcp.gosqlx.dev/mcp, and it speaks Streamable HTTP. There’s nothing to install.
What can GoSQLX do?
It has 7 tools, including analyze_sql, extract_metadata and format_sql. You can run a full review of a query in one call, check SQL syntax for a specific dialect and Pretty-print SQL with optional upper-case keywords.
Which clients can use it?
Any client that supports remote MCP servers: Claude Code, Claude Desktop, claude.ai, ChatGPT, Cursor, VS Code, Devin Desktop, Codex, Gemini CLI, Zed and others. The setup steps cover each one.
Does mcp.tc track changes to GoSQLX?
Yes. GoSQLX’s History tab shows each change we find to its tools, down to descriptions and parameters, plus new versions and edits by its owner. Follow the listing to get an email when it changes.
Who wrote this page?
mcp.tc’s robot read GoSQLX’s own metadata (its MCP handshake, tool list and public pages), and an AI model drafted the text from it. A person reviews anything the checks can’t confirm. The text can still be wrong, so if you spot a mistake, use Report this listing on this page.
mcp.tc isn’t affiliated with ajitpratap0. This page was built from GoSQLX’s public metadata, last checked on 18 Nov 2026, and an AI model wrote the description, so it can be wrong. Names and marks belong to their owners. Something off? Report this listing.