# sqls-server/sqls

SQL language server written in Go.

Repository: https://github.com/sqls-server/sqls
Canonical: https://ross.abutalabs.com/products/sqls
Language: Go
License: MIT
License Family: permissive
Topics: language-server-protocol, autocomplete, sql, language-server
Last push: 2026-08-20T14:16:36+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 93, longevity 100
- inputs: {"age_days": 2501, "days_push": 13, "days_rel": 49, "gap_med": 4.0, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1330, forks 90 (observed 2026-08-28T04:04:23.974108+00:00)

## What it is
sqls is a SQL language server written in Go that implements the Language Server Protocol. It provides editor intelligence for SQL including autocompletion, hover, signature help, code actions, and document formatting, backed by live connections to MySQL, PostgreSQL, SQLite3, MSSQL, H2, and Vertica.

## Use cases
- get SQL autocomplete in my editor
- language server for SQL with LSP support
- complete JOIN statements based on foreign keys
- run SQL queries directly from my editor
- format SQL documents in vim or vscode
- hover documentation for SQL statements

## When to choose
- you edit SQL in vim, neovim, VS Code, or Emacs and want LSP features
- you want schema-aware completion driven by a live database connection
- you want to execute or switch database connections from within your editor

## When to avoid
- you need a standalone SQL IDE rather than an editor-integrated language server
- you cannot connect the server to a live RDBMS, since most features require a connection
- you need DDL completion like CREATE TABLE, which is not yet implemented

## Facets
- artifact type: service
- maturity: active
- function: editor, developer-tools, database
- domain: databases, developer-tools, text-editors
- platform: cross-platform, editor-plugin, go
- tags: language-server-protocol, sql, autocomplete, lsp, code-intelligence

## Member repositories
- sqls-server/sqls (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:23.974108+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:45:33.484608+00:00, confidence not recorded.
  - readme: https://github.com/sqls-server/sqls (fetched 2026-08-28T04:04:23.974108+00:00, sha 18b59007ebeb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
