Skip to content
Claudekit.ai

TypeScript LSP Plugin: Code Intelligence in Claude Code

typescript-lsp is Anthropic's plugin that connects Claude Code to typescript-language-server for definitions, references and error checking in TS and JS files.

By Claudekit Team Published 1 min read

Type
Plugin
Pricing
Open Source
Repository
github.com
Website
github.com

typescript-lsp is an Anthropic plugin that connects Claude Code to the TypeScript language server. With it, Claude gets go-to-definition, find references and error checking for TypeScript and JavaScript files instead of relying on text search alone.

Checked 24 Oct 2026 against the plugin’s README and its marketplace.json entry (version 1.0.0).

Who it is for

Anyone using Claude Code on a TypeScript or JavaScript codebase, especially large ones where text search misses renamed or re-exported symbols.

Install

First install the language server:

npm install -g typescript-language-server typescript

Then the plugin:

/plugin install typescript-lsp@claude-plugins-official

What it does

  • Registers typescript-language-server --stdio as an LSP server in Claude Code.
  • Maps .ts, .mts and .cts to TypeScript, .tsx to TypeScript React, .js, .mjs and .cjs to JavaScript, and .jsx to JavaScript React.
  • Gives Claude real diagnostics and symbol navigation while it edits.

Pros

  • Small plugin with no extra configuration beyond the server.
  • Real type errors instead of guesses.
  • Sibling plugins cover many other languages in the same marketplace.

Cons and caveats

  • You must install and keep the language server on your PATH yourself.
  • Covers TS and JS only; other languages need their own LSP plugin.

Frequently asked questions

Do I need to install anything else?

Yes. Install the language server globally first: npm install -g typescript-language-server typescript, or the yarn global equivalent.

Which file types are covered?

.ts, .tsx, .js, .jsx, .mts, .cts, .mjs and .cjs.

Are there LSP plugins for other languages?

Yes. The same marketplace lists pyright-lsp, gopls-lsp, rust-analyzer-lsp, clangd-lsp, jdtls-lsp, kotlin-lsp, csharp-lsp, php-lsp, ruby-lsp, swift-lsp and lua-lsp.

Get the weekly Claude digest

New skills, MCP servers, prompts and Claude updates — one short email a week. No spam, unsubscribe anytime.

The newsletter is launching soon. Follow the RSS feed in the meantime.