pyright-lsp: a Claude Code plugin by Anthropic
Official
For Python projects where Claude should see type errors and move through code like an editor does. Skip it if you do not write Python.
- Score
- 76of 100
- Rank
- #14of 25
- Updated
- 2026
Install
/plugin install pyright-lsp@claude-plugins-official
Type it in Claude Code. View the source
What does pyright-lsp do?
pyright-lsp is a Claude Code plugin that connects Claude to Pyright, Microsoft's Python language server, for .py and .pyi files. With it Claude gets static type checking and code intelligence while it reads and edits Python. The plugin only registers the server, started as pyright-langserver --stdio, and adds no skills, commands or hooks. You install Pyright yourself beforehand, with npm install -g pyright, pip install pyright, or pipx install pyright, which the readme suggests for command line tools.
When should you use pyright-lsp?
Use it when
- Catching type errors in Python as Claude edits
- Working in a Python codebase with type hints
- Moving around a large Python project
Skip it when
- Your project has no Python code
- You cannot install Pyright on your machine
What it needs and what it can touch
You need
- Pyright, installed with npm, pip or pipx
What it can do
- Runs the Pyright language server on your machine
- Reads project source files
From reading its instructions, not from running it.
Why it scores 76
Strongest on upkeep (100 of 100), weakest on adoption (61).
Details
- Stars of the shared plugin repository
- 46,718
- Last repository change
- License
- Not stated
- Data confidence
- Medium
Did it do the job for you?
Alternatives to pyright-lsp
-
Get typescript-lsptypescript-lsp
For TypeScript and JavaScript projects where Claude should jump to definitions and see type errors.
-
Get serenaserena
For developers in large codebases who want Claude to find and edit code by symbol instead of whole files.