npx claudepluginhub amaiko-ai/tsgo-lspTypeScript language server for Claude Code that works with TypeScript 7 (tsgo), falling back to typescript-language-server on TypeScript 6 and older
A TypeScript language server plugin for Claude Code that works with TypeScript 7.
TypeScript 7 is the native Go port of the compiler. It ships a tsgo binary and
no lib/tsserver.js, so typescript-language-server — a wrapper around the
classic Node tsserver — cannot drive it. On a TS7 project the official
typescript-lsp plugin fails every request with:
Could not find a valid TypeScript installation. Please ensure that the
"typescript" dependency is installed in the workspace or that a valid
`tsserver.path` is specified.
Installing typescript at the workspace root does not help: the file it wants
does not exist in TypeScript 7 at all. TS7 serves LSP itself, via
tsc --lsp -stdio.
bin/tsgo-lsp resolves the project's own typescript at startup and launches the
server that matches its major version:
tsc --lsp -stdio (the native server)typescript-language-server --stdioResolution walks up from the workspace root and also checks nested package dirs
at each level, so a pnpm/npm workspace whose root has no typescript of its own
(everything under apps/* or packages/*) still resolves. Any one install
serves the whole workspace — the server resolves each file's own tsconfig.json
regardless of where it was launched from. With no project-local install it falls
back to tsgo or typescript-language-server on PATH.
Because it handles both eras, it replaces the official typescript-lsp plugin
outright rather than sitting alongside it.
claude plugin marketplace add amaiko-ai/tsgo-lsp
claude plugin install tsgo-lsp@tsgo-lsp
claude plugin disable typescript-lsp@claude-plugins-official
The last line matters: two plugins claiming the same file extensions conflict,
and Claude Code will warn about it. Restart the session, or run
/reload-plugins.
typescript install (any major version), or one on PATHtypescript-language-server on PATH only if you work on TypeScript <= 6
projectsAsk Claude to hover a symbol, or drive the server directly:
cd your-project
./bin/tsgo-lsp # speaks LSP over stdin/stdout
MIT
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.