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 NiclasOlofssonv0.1.0MITIn 1 marketplace
Multi-dialect SQL code intelligence for .sql files: positioned diagnostics, typed hover, go-to-definition, references and more, powered by the sqllens analyzer. Requires the sqllens-language-server binary (npm install -g sqllens-language-server).
Language servers for diagnostics and code navigation.
1 marketplace, most starred first
sql, lsp, language-server, code-intelligence, sqllens, databricks, snowflake, postgres ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
SQL code intelligence for Claude Code. Wires the
sqllens-language-server
into Claude Code's LSP tool, so Claude gets positioned diagnostics after every
edit to a .sql file, plus hover types, go-to-definition, references, and
document symbols on demand. Multi-dialect (databricks, tsql, snowflake,
bigquery, redshift, postgres, duckdb, trino, sqlite, mysql),
source-first: no database connection needed.
npm install -g sqllens-language-server
/plugin marketplace add NiclasOlofsson/sqllens-language-server
/plugin install sqllens-lsp@sqllens-language-server
.sqllens.json at your workspace root pins the
dialect per file glob and points at a schema catalog (see the
server README for the format). Without it, files fall back
to the databricks dialect and schema-aware tiers stay quiet.With the plugin installed, open a workspace containing this schema.json:
{ "sales": { "id": "bigint", "amount": "decimal(10,2)", "region": "varchar" } }
and this .sqllens.json:
{ "default": "duckdb", "schema": "schema.json" }
Three things to ask Claude that exercise the plugin end to end:
report.sql selecting total amount per region from sales." — after
the edit, the LSP diagnostics come back clean (or flag any typo'd column as
unknown column, positioned on the identifier).amount column have in report.sql?" — Claude answers
from hover: decimal(10,2) from the catalog, or the inferred result type of
an expression over it./plugin → Errors: step 1 was skipped or
the npm global bin dir is not on PATH. sqllens-language-server --stdio
should start (and wait silently) in a terminal..sqllens.json with your
dialect(s).schema to .sqllens.json for the semantic tier.Issues and questions: https://github.com/NiclasOlofsson/sqllens-language-server/issues
MIT licensed, same as the server.
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 niclasolofsson/sqllens-language-server --plugin sqllens-lspPlugins from other owners that cover similar ground