boostvolt/claude-code-lsps
boostvolt/claude-code-lsps · 23 plugins
Marketplace LSP plugins for Claude Code — Astro, Bash/Shell, C/C++/Objective-C, C#, Clojure, Dart/Flutter, Elixir, Gleam, Go, Java, Kotlin, Lua, Nix, OCaml, PHP, Python, Ruby, Rust, Swift, Terraform, TypeScript/JavaScript, YAML & Zig
Install
The repo has no one-line install. Follow its README.
Plugins 23
After adding the marketplace, install one with /plugin install <name>@claude-code-lsps.
- 1astro-lspAstro language server
/plugin install astro-lsp@claude-code-lsps - 2bash-language-serverBash language server
/plugin install bash-language-server@claude-code-lsps - 3clangdC/C++ language server
/plugin install clangd@claude-code-lsps - 4clojure-lspClojure language server
/plugin install clojure-lsp@claude-code-lsps - 5dart-analyzerDart/Flutter language server
/plugin install dart-analyzer@claude-code-lsps - 6elixir-lsElixir language server
/plugin install elixir-ls@claude-code-lsps - 7gleamGleam language server
/plugin install gleam@claude-code-lsps - 8goplsGo language server
/plugin install gopls@claude-code-lsps - 9intelephensePHP language server
/plugin install intelephense@claude-code-lsps - 10jdtlsJava language server
/plugin install jdtls@claude-code-lsps - 11kotlin-lspKotlin language server
/plugin install kotlin-lsp@claude-code-lsps - 12lua-language-serverLua language server
/plugin install lua-language-server@claude-code-lsps - 13nixdNix language server
/plugin install nixd@claude-code-lsps - 14ocaml-lspOCaml language server
/plugin install ocaml-lsp@claude-code-lsps - 15omnisharpC# language server
/plugin install omnisharp@claude-code-lsps - 16pyrightPython language server
/plugin install pyright@claude-code-lsps - 17rust-analyzerRust language server
/plugin install rust-analyzer@claude-code-lsps - 18solargraphRuby language server
/plugin install solargraph@claude-code-lsps - 19sourcekit-lspSwift language server
/plugin install sourcekit-lsp@claude-code-lsps - 20terraform-lsTerraform language server
/plugin install terraform-ls@claude-code-lsps - 21vtslsTypeScript/JavaScript language server
/plugin install vtsls@claude-code-lsps - 22yaml-language-serverYAML language server
/plugin install yaml-language-server@claude-code-lsps - 23zlsZig language server
/plugin install zls@claude-code-lsps
Files
Claude Code LSPs
A collection of Language Server Protocol (LSP) plugins for Claude Code.
What is LSP Integration?
Note
LSP Integration: If you're on v2.0.69 through v2.0.x, LSP integration is broken due to a race condition (#14803, #13952). This has been fixed in v2.1.0+. Please upgrade to the latest version.
The Language Server Protocol provides IDE-like intelligence to Claude Code. On startup, Claude Code automatically starts LSP servers from installed plugins and exposes them to Claude in two ways:
LSP Tool - A builtin tool with 9 operations mapping directly to LSP commands:
| Operation | Description |
|---|---|
goToDefinition |
Find where a symbol is defined |
findReferences |
Find all references to a symbol |
hover |
Get hover info (docs, type info) for a symbol |
documentSymbol |
Get all symbols (functions, classes, variables) in a document |
workspaceSymbol |
Search for symbols across the entire workspace |
goToImplementation |
Find implementations of an interface/abstract method |
prepareCallHierarchy |
Get call hierarchy item at a position |
incomingCalls |
Find all functions/methods that call the function at a position |
outgoingCalls |
Find all functions/methods called by the function at a position |
Automatic Diagnostics - Real-time error and warning detection similar to the VS Code integration, but operating independently. These diagnostics tend to be faster and more comprehensive than the VS Code equivalent.
Available Plugins
| Plugin | Language | Extensions | LSP |
|---|---|---|---|
| bash-language-server | Bash/Shell | .sh .bash .zsh .ksh |
bash-language-server |
| clangd | C/C++/Objective-C | .c .h .cpp .hpp .cc .cxx .hxx .m .mm |
clangd |
| clojure-lsp | Clojure | .clj .cljs .cljc .edn |
clojure-lsp |
| dart-analyzer | Dart/Flutter | .dart |
Dart SDK |
| elixir-ls | Elixir | .ex .exs |
elixir-ls |
| gleam | Gleam | .gleam |
gleam |
| gopls | Go | .go |
gopls |
| intelephense | PHP | .php .phtml |
Intelephense |
| wordpress-intelephense | PHP (WordPress) | .php .phtml |
Intelephense |
| jdtls | Java | .java |
jdtls |
| kotlin-lsp | Kotlin | .kt .kts |
kotlin-lsp |
| lua-language-server | Lua | .lua |
lua-language-server |
| nixd | Nix | .nix |
nixd |
| ocaml-lsp | OCaml | .ml .mli |
ocaml-lsp |
| omnisharp | C# | .cs .csx |
OmniSharp |
| pyright | Python | .py .pyi |
pyright |
| rust-analyzer | Rust | .rs |
rust-analyzer |
| solargraph | Ruby | .rb .rake .gemspec |
Solargraph |
| sourcekit-lsp | Swift | .swift |
sourcekit-lsp |
| terraform-ls | Terraform | .tf .tfvars |
terraform-ls |
| vtsls | TypeScript/JavaScript | .ts .tsx .js .jsx .mjs .cjs |
vtsls |
| yaml-language-server | YAML | .yaml .yml |
yaml-language-server |
| zls | Zig | .zig .zon |
zls |
Getting Started
1. Add the Marketplace
claude
/plugin marketplace add boostvolt/claude-code-lsps2. Install Plugins
Install individual plugins:
/plugin install bash-language-server@claude-code-lsps
/plugin install clangd@claude-code-lsps
/plugin install clojure-lsp@claude-code-lsps
/plugin install dart-analyzer@claude-code-lsps
/plugin install elixir-ls@claude-code-lsps
/plugin install gleam@claude-code-lsps
/plugin install gopls@claude-code-lsps
/plugin install intelephense@claude-code-lsps
/plugin install wordpress-intelephense@claude-code-lsps
/plugin install jdtls@claude-code-lsps
/plugin install kotlin-lsp@claude-code-lsps
/plugin install lua-language-server@claude-code-lsps
/plugin install nixd@claude-code-lsps
/plugin install ocaml-lsp@claude-code-lsps
/plugin install omnisharp@claude-code-lsps
/plugin install pyright@claude-code-lsps
/plugin install rust-analyzer@claude-code-lsps
/plugin install solargraph@claude-code-lsps
/plugin install sourcekit-lsp@claude-code-lsps
/plugin install terraform-ls@claude-code-lsps
/plugin install vtsls@claude-code-lsps
/plugin install yaml-language-server@claude-code-lsps
/plugin install zls@claude-code-lspsOr browse and install interactively:
/pluginManual LSP Installation
Each plugin will attempt to auto-install its LSP server on first use. If auto-install fails, use the manual instructions below.
Bash/Shell (bash-language-server)
brew install bash-language-serverOr via npm:
npm install -g bash-language-serverC/C++/Objective-C (clangd)
brew install llvmOr via Xcode Command Line Tools:
xcode-select --installSupports C, C++, Objective-C (.m), and Objective-C++ (.mm) files.
C# (omnisharp)
brew install omnisharp/omnisharp-roslyn/omnisharp-monoOr via dotnet:
dotnet tool install -g csharp-lsDart/Flutter (dart-analyzer)
Install Dart SDK:
brew tap dart-lang/dart
brew install dartOr install Flutter (includes Dart):
# See https://docs.flutter.dev/get-started/installEnsure dart is in your PATH.
Elixir (elixir-ls)
brew install elixir-lsRequires Elixir to be installed:
brew install elixirGo (gopls)
go install golang.org/x/tools/gopls@latestEnsure ~/go/bin is in your PATH.
Java (jdtls)
brew install jdtlsOr download manually from Eclipse JDT Language Server.
Requires Java 21+ runtime.
Kotlin (kotlin-lsp)
brew install JetBrains/utils/kotlin-lspOr download from GitHub releases.
Requires Java 17+.
OCaml (ocaml-lsp)
opam install ocaml-lsp-serverRequires opam to be installed:
brew install opam
opam initPHP (intelephense)
npm install -g intelephensePHP / WordPress (wordpress-intelephense)
Same LSP as intelephense but with WordPress stubs enabled. Install this instead of intelephense for WordPress projects.
npm install -g intelephensePython (pyright)
pip install pyrightRuby (solargraph)
gem install solargraphRust (rust-analyzer)
brew install rust-analyzerOr via rustup:
rustup component add rust-analyzerSwift (sourcekit-lsp)
sourcekit-lsp is bundled with Xcode. Install Xcode from the App Store:
# Verify installation
xcrun --find sourcekit-lspOr install a Swift toolchain from swift.org/install.
TypeScript/JavaScript (vtsls)
npm install -g @vtsls/language-server typescriptYAML (yaml-language-server)
brew install yaml-language-serverOr via npm:
npm install -g yaml-language-serverCreating Your Own Plugin
Plugin Structure
my-lsp/
├── .claude-plugin/
│ └── plugin.json
├── .lsp.json
└── hooks/
├── hooks.json
└── check-my-lsp.sh
.lsp.json Schema
The .lsp.json file configures the language server:
{
"language-id": {
"command": "lsp-server-command",
"extensionToLanguage": {
".ext": "language-id"
}
}
}Required Fields
| Field | Type | Description |
|---|---|---|
command |
string | Command to start the LSP server |
extensionToLanguage |
object | Maps file extensions to language IDs |
Optional Fields
| Field | Type | Description |
|---|---|---|
args |
string[] | Arguments passed to the command |
transport |
string | Communication method: "stdio" (default) or "socket" |
env |
object | Environment variables to set when starting the server |
initializationOptions |
object | Options passed during LSP initialization |
settings |
object | Server-specific settings via workspace/didChangeConfiguration |
workspaceFolder |
string | Workspace folder path for the server |
startupTimeout |
number | Max time to wait for server startup (milliseconds) |
shutdownTimeout |
number | Max time to wait for graceful shutdown (milliseconds) |
restartOnCrash |
boolean | Whether to automatically restart the server if it crashes |
maxRestarts |
number | Max restart attempts before giving up (default: 3) |
Example: gopls
.lsp.json:
{
"go": {
"command": "gopls",
"extensionToLanguage": {
".go": "go"
}
}
}.claude-plugin/plugin.json:
{
"name": "gopls",
"description": "Go language server",
"version": "1.0.0",
"author": {
"name": "Your Name"
},
"license": "MIT",
"repository": "https://github.com/boostvolt/claude-code-lsps"
}hooks/hooks.json (optional auto-install):
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/check-gopls.sh",
"timeout": 30
}
]
}
]
}
}License
MIT
{
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
"name": "claude-code-lsps",
"metadata": {
"description": "LSP plugins for Claude Code",
"version": "1.0.0",
"license": "MIT",
"repository": "https://github.com/boostvolt/claude-code-lsps",
"homepage": "https://github.com/boostvolt/claude-code-lsps"
},
"owner": {
"name": "Jan Kott"
},
"plugins": [
{
"name": "astro-lsp",
"version": "1.0.0",
"source": "./astro_lsp",
"description": "Astro language server",
"category": "development",
"tags": [
"astro",
"lsp"
],
"author": {
"name": "synxn1o"
}
},
{
"name": "bash-language-server",
"version": "1.0.0",
"source": "./bash-language-server",
"description": "Bash language server",
"category": "development",
"tags": [
"bash",
"shell",
"sh",
"zsh",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "clangd",
"version": "1.0.0",
"source": "./clangd",
"description": "C/C++ language server",
"category": "development",
"tags": [
"c",
"cpp",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "clojure-lsp",
"version": "1.0.0",
"source": "./clojure-lsp",
"description": "Clojure language server",
"category": "development",
"tags": [
"clojure",
"clojurescript",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "dart-analyzer",
"version": "1.0.0",
"source": "./dart-analyzer",
"description": "Dart/Flutter language server",
"category": "development",
"tags": [
"dart",
"flutter",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "elixir-ls",
"version": "1.0.0",
"source": "./elixir-ls",
"description": "Elixir language server",
"category": "development",
"tags": [
"elixir",
"erlang",
"beam",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "gleam",
"version": "1.0.0",
"source": "./gleam",
"description": "Gleam language server",
"category": "development",
"tags": [
"gleam",
"beam",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "gopls",
"version": "1.0.0",
"source": "./gopls",
"description": "Go language server",
"category": "development",
"tags": [
"go",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "intelephense",
"version": "1.0.0",
"source": "./intelephense",
"description": "PHP language server",
"category": "development",
"tags": [
"php",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "jdtls",
"version": "1.0.0",
"source": "./jdtls",
"description": "Java language server",
"category": "development",
"tags": [
"java",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "kotlin-lsp",
"version": "1.0.0",
"source": "./kotlin-lsp",
"description": "Kotlin language server",
"category": "development",
"tags": [
"kotlin",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "lua-language-server",
"version": "1.0.0",
"source": "./lua-language-server",
"description": "Lua language server",
"category": "development",
"tags": [
"lua",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "nixd",
"version": "1.0.0",
"source": "./nixd",
"description": "Nix language server",
"category": "development",
"tags": [
"nix",
"nixos",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "ocaml-lsp",
"version": "1.0.0",
"source": "./ocaml-lsp",
"description": "OCaml language server",
"category": "development",
"tags": [
"ocaml",
"ml",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "omnisharp",
"version": "1.0.0",
"source": "./omnisharp",
"description": "C# language server",
"category": "development",
"tags": [
"csharp",
"dotnet",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "pyright",
"version": "1.0.0",
"source": "./pyright",
"description": "Python language server",
"category": "development",
"tags": [
"python",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "rust-analyzer",
"version": "1.0.0",
"source": "./rust-analyzer",
"description": "Rust language server",
"category": "development",
"tags": [
"rust",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "solargraph",
"version": "1.0.0",
"source": "./solargraph",
"description": "Ruby language server",
"category": "development",
"tags": [
"ruby",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "sourcekit-lsp",
"version": "1.0.0",
"source": "./sourcekit-lsp",
"description": "Swift language server",
"category": "development",
"tags": [
"swift",
"ios",
"macos",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "terraform-ls",
"version": "1.0.0",
"source": "./terraform-ls",
"description": "Terraform language server",
"category": "development",
"tags": [
"terraform",
"hcl",
"devops",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "vtsls",
"version": "1.0.0",
"source": "./vtsls",
"description": "TypeScript/JavaScript language server",
"category": "development",
"tags": [
"typescript",
"javascript",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "yaml-language-server",
"version": "1.0.0",
"source": "./yaml-language-server",
"description": "YAML language server",
"category": "development",
"tags": [
"yaml",
"yml",
"lsp"
],
"author": {
"name": "Jan Kott"
}
},
{
"name": "zls",
"version": "1.0.0",
"source": "./zls",
"description": "Zig language server",
"category": "development",
"tags": [
"zig",
"lsp"
],
"author": {
"name": "Jan Kott"
}
}
]
}Facts
- Kind
- Marketplace
- Repo
- boostvolt/claude-code-lsps
- Group
- Uncategorized
- Marketplace name
- claude-code-lsps
- Owner
- Jan Kott
- License
- MIT
- Language
- Shell
- Created
- 2025-12-05
- Forks
- 18
- Topics
- clangd, claude, claude-code, dart-analyzer, gopls, intelephense, jdtls, kotlin-language-server, language-server-protocol, lsp, omnisharp, plugin, pyright, rust-analyzer, solargraph, sourcekit-lsp, terraform-ls, vtsls
- Plugins
- 22
- 1f/prompts.chatf/prompts.chatf.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
- 2affaan-m/everything-claude-codeaffaan-m/everything-claude-codeThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
- 3obra/superpowersobra/superpowersAn agentic skills framework & software development methodology that works.
- 4anthropics/skillsanthropics/skillsPublic repository for Agent Skills
- 5anthropics/claude-codeanthropics/claude-codeClaude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
- 6nextlevelbuilder/ui-ux-pro-max-skillnextlevelbuilder/ui-ux-pro-max-skillAn AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
