By zircote
SQL language server plugin for Claude Code with sql-language-server integration and automated hooks for formatting and linting
npx claudepluginhub zircote/lsp-marketplace --plugin sql-lspA Claude Code plugin providing comprehensive SQL development support through:
# Run the setup command (after installing the plugin)
/setup
Or manually:
# Install sql-language-server
npm install -g sql-language-server
# Install sqlfluff
pip install sqlfluff
The plugin configures sql-language-server for Claude Code via .lsp.json:
{
"sql": {
"command": "sql-language-server",
"args": ["up", "--method", "stdio"],
"extensionToLanguage": {
".sql": "sql"
},
"transport": "stdio"
}
}
Capabilities:
All hooks run afterWrite and are configured in hooks/hooks.json.
| Hook | Trigger | Description |
|---|---|---|
sql-format-on-edit | **/*.sql | Auto-format with sqlfluff |
sql-lint-on-edit | **/*.sql | Lint SQL with sqlfluff |
sql-todo-fixme | **/*.sql | Surface TODO/FIXME/XXX/HACK comments |
| Tool | Installation | Purpose |
|---|---|---|
sql-language-server | npm install -g sql-language-server | LSP server for SQL |
| Tool | Installation | Purpose |
|---|---|---|
sqlfluff | pip install sqlfluff | SQL linter and formatter |
/setupInteractive setup wizard for configuring the SQL development environment.
What it does:
.lsp.json is correctUsage:
/setup
Create a .sqlfluff configuration file in your project root:
[sqlfluff]
dialect = postgres
# Or: mysql, sqlite, bigquery, redshift, snowflake, etc.
[sqlfluff:rules]
max_line_length = 120
indent_unit = space
tab_space_size = 4
[sqlfluff:rules:L010]
# Keywords should be upper case
capitalisation_policy = upper
[sqlfluff:rules:L030]
# Function names should be upper case
capitalisation_policy = upper
Edit hooks/hooks.json to:
head -N)Example - disable a hook:
{
"name": "sql-lint-on-edit",
"enabled": false,
...
}
sql-lsp/
├── .claude-plugin/
│ └── plugin.json # Plugin metadata
├── .lsp.json # sql-language-server configuration
├── commands/
│ └── setup.md # /setup command
├── hooks/
│ └── hooks.json # Automated hooks
├── tests/
│ └── sample.sql # Sample SQL file
├── CLAUDE.md # Project instructions
└── README.md # This file
.sql files exist in project rootsql-language-server --versioncat .lsp.jsonsqlfluff --version.sqlfluffsqlfluff lint yourfile.sqlcat hooks/hooks.jsoncommand -v sqlfluff)MIT
Efficient skill management system with progressive discovery — 410+ production-ready skills across 33+ domains
Comprehensive real estate investment analysis plugin with financial modeling, market data APIs, deal analysis agents, and tax-aware structuring. Covers all property types: residential, commercial, multifamily, short-term rentals, and land development.
Open-source, local-first Claude Code plugin for token reduction, context compression, and cost optimization using hybrid RAG retrieval (BM25 + vector search), reranking, AST-aware chunking, and compact context packets.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.