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 HeyItsGilbertv1.4.1MITIn 1 marketplace
PowerShell language server (PowerShellEditorServices) for Claude Code's LSP tool. Adds goToDefinition, hover, findReferences, and documentSymbol for .ps1/.psm1/.psd1 files. Uses a stdio-to-named-pipe proxy because PowerShell's I/O wrapping breaks PSES under raw stdio on Windows. Auto-downloads PowerShellEditorServices from GitHub releases on first launch and caches it under the user's local app data.
Language servers for diagnostics and code navigation.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A marketplace plugin that wires PowerShellEditorServices (PSES) — the language server behind VS Code's PowerShell extension — into Claude Code and oh-my-pi.
Once installed, the LSP tool works on .ps1, .psm1, and .psd1 files for these operations:
goToDefinition — jump to a function or variable definitionfindReferences — find every call site of a functionhover — type / help-comment for a symboldocumentSymbol — outline of functions, classes, regions in a fileworkspaceSymbol — search for a symbol name across the workspacegoToImplementation, prepareCallHierarchy, incomingCalls, outgoingCallsWithout this plugin, language-server calls on PowerShell files return "no language server configured" and the agent falls back to grep-style text search.
PATH as pwsh (Windows, macOS, Linux)PSES is not distributed via PSGallery. The launcher pulls PowerShellEditorServices.zip from https://github.com/PowerShell/PowerShellEditorServices/releases and extracts it into a per-user cache directory. No admin rights required, no global module install.
The pinned version is v4.5.0 (override with -PsesVersion or $env:CLAUDE_PSES_VERSION).
/plugin marketplace add HeyItsGilbert/marketplace
/plugin install powershell-lsp@my-plugins
Restart Claude Code. The first PowerShell file you touch will trigger a one-time PSES download (~5–10s on a fast link). Subsequent launches start in ~2–3s.
oh-my-pi reads .lsp.json from the installed plugin root and starts the cached scripts/start-pses-lsp.ps1 with -Command from $HOME/.omp/plugins/cache/plugins. It does not read .claude-plugin/plugin.json lspServers, and it does not expand ${CLAUDE_PLUGIN_ROOT}. The server attaches only when the session directory contains .git or a .ps1 / .psm1 / .psd1 file, and pwsh is on PATH. Restart omp after upgrading the plugin. An XDG-migrated omp data root is not searched.
Open a session in any repo with .psm1 files and run:
LSP({operation: "documentSymbol", filePath: "<some-module>.psm1", line: 1, character: 1})
You should get back a list of symbols (functions, classes), not an error.
The launcher branches by platform:
PSES + raw stdio doesn't work on Windows under Claude Code's child_process.spawn redirection: PowerShell wraps the redirected stdio handles in its own buffered host-I/O abstraction, but PSES (a .NET module loaded into the pwsh AppDomain) uses Console.OpenStandardOutput() directly and bypasses that wrapper. The two views of stdio don't see the same bytes.
This plugin uses the same workaround as VS Code's PowerShell extension: named-pipe transport for PSES, with a small stdio-to-named-pipe proxy that bridges the two:
Claude Code ──stdio──► start-pses-lsp.ps1 ──spawns──► pwsh + PSES
│ │
└────── named pipe ──────────────┘
The proxy grabs raw Console.OpenStandardInput() / Console.OpenStandardOutput() immediately at startup before PowerShell can wrap them, then shuttles bytes between Claude Code's stdio and PSES's named pipe via Stream.CopyToAsync.
PowerShell's stdio handling on non-Windows doesn't have the host-I/O wrapping issue, so the launcher invokes PSES directly with -Stdio — same pattern as the upstream Emacs/Vim integrations:
Claude Code ──stdio──► start-pses-lsp.ps1 ──&──► PSES
Note: The non-Windows path is not end-to-end tested in Claude Code as of v1.1.0. If you hit issues on Linux/macOS, please file an issue with
claude --debugoutput and we'll add a verification step.
For the full investigation history (every Windows variant tried, why each failed, binary-source evidence from claude.exe), see docs/INVESTIGATION.md.
| OS | Path |
|---|---|
| Windows | %LOCALAPPDATA%\claude-code-powershell-lsp\<version>\ |
| macOS / Linux | ${XDG_CACHE_HOME:-$HOME/.cache}/claude-code-powershell-lsp/<version>/ |
To force a re-download, delete the version folder and restart Claude Code.
Set an environment variable before launching Claude Code:
$env:CLAUDE_PSES_VERSION = '4.4.0'
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 heyitsgilbert/marketplace --plugin powershell-lspPlugins from other owners that cover similar ground