svelte-lsp
Health Pass
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 15 GitHub stars
Code Pass
- Code scan — Scanned 2 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
This tool is a plugin for Claude Code that integrates the official Svelte language server. It allows the AI to intelligently read and navigate Svelte files by providing capabilities like "go-to-definition", hover documentation, and finding references.
Security Assessment
The overall risk is Low. The plugin acts as a straightforward bridge to the local `svelteserver` process and does not request any dangerous permissions. A code scan found no dangerous patterns, no hardcoded secrets, and no suspicious network requests. While the installation process relies on `npx`, which downloads and executes remote code, the underlying logic simply starts a local language server via standard input/output (stdio) to read your project files. It does not exfiltrate data.
Quality Assessment
The project is under the permissive and standard MIT license. It is actively maintained, with its most recent code push occurring today. The tool demonstrates clear and honest intent, explicitly stating its requirement for the globally installed `svelte-language-server` and explaining exactly how it registers file extensions within its configuration. Community trust is currently budding with 15 GitHub stars.
Verdict
Safe to use.
Claude Code plugin for Svelte LSP support — go-to-definition, hover docs, find references on .svelte files
svelte-lsp
Claude Code plugin providing Svelte language server integration. Gives Claude LSP-powered code intelligence on .svelte files: go-to-definition, hover docs, find references, document symbols, and diagnostics.
Install
npx svelte-lsp-claude
Then restart Claude Code.
Manual installnpm install -g svelte-language-server
claude plugin marketplace add RA1NCS/svelte-lsp
claude plugin install svelte-lsp@svelte-lsp
What it does
Registers svelteserver --stdio as the LSP server for .svelte files. Once installed, Claude can use the LSP tool for:
| Operation | Use case |
|---|---|
hover |
Type info, prop definitions, component docs |
goToDefinition |
Jump to where a symbol is defined |
findReferences |
Find all usages of a variable/component |
documentSymbol |
List all symbols in a component |
goToImplementation |
Find interface implementations |
The plugin also includes a CLAUDE.md that instructs Claude to proactively use LSP when working with Svelte files.
Requirements
- Node.js 16+
svelte-language-serverinstalled globally (npm install -g svelte-language-server)- Claude Code with plugin support
How it works
Claude Code's plugin system reads the lspServers field from plugin.json at startup to register language servers for file extensions. This plugin maps .svelte files to svelteserver --stdio, the same LSP server VS Code uses for Svelte.
License
MIT
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found