TypeScript LSP
Deep TypeScript integration for Claude Code — real-time type checking, go-to-definition, find-references, and intelligent autocomplete powered by the TypeScript language server running directly in your session.
Install
claude plugins add typescript-lsp TypeScript LSP brings the full power of the TypeScript language server into Claude Code, giving Claude real-time type information as it writes and modifies your code.
Real-time type awareness
When Claude writes TypeScript, TypeScript LSP validates the code against your project’s type definitions immediately. Type mismatches, missing properties, and incorrect function signatures are caught before the code is returned to you — not after you run the compiler.
Project-wide navigation
The plugin enables go-to-definition and find-references across your entire TypeScript project. When Claude needs to understand how a type is used or where an interface is defined, it can navigate the codebase the same way a developer would in an IDE.
tsconfig.json support
TypeScript LSP reads your existing tsconfig.json, respecting strict mode settings, path aliases, and lib configurations. Claude writes code that compiles under your exact project settings, not a generic baseline.
With 182,000+ installs, TypeScript LSP is the standard language integration for TypeScript projects in Claude Code.
Features
Live type checking
Runs the TypeScript compiler on your codebase and surfaces type errors in real-time as Claude writes code.
Go-to-definition
Navigate to type definitions, interface declarations, and imported symbols across your entire project.
Find references
Locate every usage of a type, function, or variable to understand impact before making changes.
IntelliSense-style completions
Type-aware completions that respect your project tsconfig.json and installed type definitions.
Common Use Cases
- Writing type-safe TypeScript without leaving Claude Code
- Refactoring TypeScript codebases with confidence
- Catching type errors before code reaches CI
- Understanding unfamiliar TypeScript codebases quickly