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 vshuraeffv1.1.1MITIn 1 marketplace
TypeScript and JavaScript code intelligence in Claude Code from the language server built into the native TypeScript 7 compiler (tsc --lsp --stdio), with a relay that turns its pulled diagnostics into the pushed ones Claude Code reads
Language servers for diagnostics and code navigation.
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
1 marketplace, most starred first
typescript, javascript, lsp, language-server, typescript-7, tsgo, diagnostics
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
TypeScript and JavaScript code intelligence for Claude Code from the language server that the native TypeScript 7 compiler has built in (tsc --lsp --stdio). It replaces the official typescript-lsp plugin, which runs typescript-language-server: that server wraps tsserver.js, and TypeScript 7 does not ship it.
From a Claude Code session (Claude Code 2.1.275 or later; on an older version use the shell commands below):
/plugin install typescript-native-lsp --marketplace vshuraeff/typescript-native-lsp
Or from the shell:
claude plugin marketplace add vshuraeff/typescript-native-lsp
claude plugin install typescript-native-lsp@typescript-native-lsp
If the official typescript-lsp plugin is installed, disable or uninstall it, so the two servers do not both claim .ts and .js files: claude plugin uninstall typescript-lsp@claude-plugins-official. Restart Claude Code after installing.
Claude Code reads type errors only from pushed textDocument/publishDiagnostics notifications. TypeScript 7 serves per-file diagnostics only on request (textDocument/diagnostic), so without help Claude never sees the errors an edit introduces (anthropics/claude-code#101041).
server/relay.ts sits between the two. It answers the server's workspace/diagnostic/refresh request itself until Claude Code pulls diagnostics on its own, keeps the server's replies to its own diagnostic pulls (Claude Code gets the resulting publishDiagnostics instead), numbers the document versions it sends the server itself, forwards the server's requests to Claude Code under ids of its own (see Idle shutdown), forwards all other traffic unchanged, and it also:
initialize, with the diagnostic details the client accepts for pushed diagnostics;didOpen, didChange, didSave, didClose, workspace/diagnostic/refresh or change found on disk, so continuous typing delays the pull until it pauses; it pulls every open document because a change in one file can change the errors of another;publishDiagnostics, and pushes an empty list when a document closes;ServerCancelled and does not set retriggerRequest: false, and no more than once per round;shutdown, and kills the server when the client closes its end and the server does not exit within 2 s;git checkout, a formatter, code generation), while the server trusts an open document over the file. Before each request from Claude Code the relay checks every open file: document: when the file's mtime or size changed and its text differs from what the server holds, the server gets the file's text; when the file is gone, the relay closes the document on the server and pushes an empty list, and opens it again when the file comes back or Claude Code changes it. A change found on disk starts new pulls like a didChange;textDocument/diagnostic request itself: it cancels the pulls in flight, publishes nothing more, and forwards workspace/diagnostic/refresh to Claude Code instead of answering it. It decides on that request rather than on the capabilities Claude Code announces.The relay pulls nothing when the server announces no diagnosticProvider. Its disk sync stays on in every case.
Claude Code starts the server in the project directory. plugin.json therefore runs bun with --no-env-file and --config pointing at the plugin's empty bunfig.toml, so a project's .env and bunfig.toml (a preload above all, which could write to stdout and break the LSP stream) do not reach the relay or the server.
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 vshuraeff/typescript-native-lsp --plugin typescript-native-lspPlugins from other owners that cover similar ground