Pyright LSP Claude Plugin
Back to directory
Pyright LSP logo

Pyright LSP

MCP Servers 93,822 installs Apr 22, 2026

Pyright LSP brings Microsoft's Pyright type checker into Claude Code as a Language Server. It reads your workspace, watches Python files, and sends diagnostics and type information back to the editor. You get hover type previews, smart completions, go-to-definition, find references, rename, and workspace symbol queries powered by Pyright's analysis engine.

It respects pyrightconfig.json, .pyi stub files, interpreter path and extra search paths, and it handles incremental checking across large code bases. The server reports precise errors (mismatched return types, incompatible assignments, missing imports), shows inferred types and generics, and flags unused imports and unreachable code. It also resolves types across installed packages and local modules so cross-file issues surface immediately.

Use it while editing a Django app or a data pipeline: Pyright LSP highlights a wrong return type and points to every call site, lets you jump to the definition, and shows fixes without switching to another IDE. That saves time debugging type regressions and avoids opening a separate editor just for static checking.

Without this tool

  • AI suggests code without structured workflow
  • No planning or verification steps
  • Inconsistent implementation quality

With this tool

  • AI follows structured coding workflow
  • Plans, executes, and verifies code
  • Higher reliability and consistency

Install

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

Tags

python
lsp
type-checking
pyright
microsoft