Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
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
Share bugs, ideas, or general feedback.
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
DevsForge SQL query formatter with beautification, syntax highlighting, optimization hints, and multiple dialect support
Database engineering agents providing expertise in schema design, query optimization, and reliability
SQLite SQL language server — diagnostics, formatting, completions, and semantic tokens
SQL query optimization and execution plan analysis
Database architecture and SQL optimization with PostgreSQL expertise
Analyze and optimize SQL queries for better performance, suggesting indexes, query rewrites, and execution plan improvements
Persistent memory system for AI coding assistants. Captures decisions, learnings, and context from coding sessions and surfaces them when relevant.
Pure filesystem-based memory system for Claude Code with custom ontology support
Rust language server
Comprehensive agent library featuring 115+ specialized Opus 4.5 agents organized by domain
Detect AI-generated writing patterns and build authentic voice profiles through adaptive interviews and computational stylistics
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim