# GoSQLX (MCP server)

> GoSQLX is an MCP server that adds database tools to AI assistants such as Claude Code, Cursor and VS Code. SQL validation, formatting, parsing, metadata extraction, linting, and security analysis. It has 120 GitHub stars, is released under the Apache-2.0 license and runs as a remote server at https://mcp.gosqlx.dev/mcp.

Pure-Go SQL parser, formatter, linter and security scanner for 8 dialects. Playground &nbsp;·&nbsp; Docs &nbsp;·&nbsp; Benchmarks &nbsp;·&nbsp; VS Code &nbsp;·&nbsp; MCP server

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/ajitpratap0/GoSQLX |
| GitHub stars | 120 |
| License | Apache-2.0 |
| Language | Go |
| Transport | streamable-http |
| Packages | none (remote only) |
| Remote URL | https://mcp.gosqlx.dev/mcp |
| Needs API key | no |
| Official | no |
| Works with | Claude Code, Cursor, VS Code, Claude.ai, ChatGPT |
| Category | Databases |
| Latest release | v1.16.0 (Oct 22, 2026) |
| Last commit | Oct 25, 2026 |
| MCP registry name | io.github.ajitpratap0/gosqlx |

## Install

### Claude Desktop

```
Settings > Connectors > Add custom connector
URL: https://mcp.gosqlx.dev/mcp
```

Remote servers are added as a custom connector, not in claude_desktop_config.json.

### Claude Code

```sh
claude mcp add --transport http gosqlx "https://mcp.gosqlx.dev/mcp"
```

### Cursor (.cursor/mcp.json)

```json
{
  "mcpServers": {
    "gosqlx": {
      "url": "https://mcp.gosqlx.dev/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "gosqlx": {
      "type": "http",
      "url": "https://mcp.gosqlx.dev/mcp"
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Similar MCP servers

- [Tiger MCP](https://appsgit.com/mcp-servers/tiger-mcp): Provides programmatic access to Tiger Cloud services, databases, and documentation. (127 stars, Apache-2.0, needs API key)
- [SAP HANA CLI](https://appsgit.com/mcp-servers/sap-hana-cli): 150+ SAP HANA database tools as MCP tools for AI assistants. (114 stars, Apache-2.0, official)
- [Avrotize](https://appsgit.com/mcp-servers/avrotize): Schema conversion and schema-driven code generation MCP server. (132 stars, Apache-2.0)
- [flowR](https://appsgit.com/mcp-servers/flowr): Static dataflow analysis, program slicing, linting, and dependency extraction for R code. (105 stars, GPL-3.0)
- [Prism Coder](https://appsgit.com/mcp-servers/prism-coder): Session memory for coding agents: local-first recall, drift detection, on-device inference. (156 stars, Apache-2.0, needs API key)
- [Dynoxide](https://appsgit.com/mcp-servers/dynoxide): A DynamoDB emulator with an MCP server exposing 35 DynamoDB tools to coding agents. (102 stars, Apache-2.0)

---

Canonical page: https://appsgit.com/mcp-servers/gosqlx
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
