Pyright LSP
name: pyright-lsp
by bowen31337 · published 2026-03-22
$ claw add gh:bowen31337/bowen31337-pyright-lsp---
name: pyright-lsp
description: Python language server (Pyright) providing static type checking, code intelligence, and LSP diagnostics for .py and .pyi files. Use when working with Python code that needs type checking, autocomplete suggestions, error detection, or code navigation.
---
# Pyright LSP
Python language server integration providing static type checking and code intelligence through Microsoft's Pyright.
Capabilities
Installation Check
Before using, verify Pyright is installed:
which pyright || npm install -g pyrightAlternative installation methods:
pip install pyright
# or
pipx install pyright # recommended for CLI toolsUsage
Run type checking on Python files:
pyright path/to/file.pyRun on entire project:
cd project-root && pyrightConfiguration
Create `pyrightconfig.json` in project root for custom settings:
{
"include": ["src"],
"exclude": ["**/node_modules", "**/__pycache__"],
"typeCheckingMode": "basic",
"pythonVersion": "3.10"
}Integration Pattern
When editing Python code:
1. Run pyright after significant changes
2. Address type errors before committing
3. Use diagnostics to improve code quality
More Information
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...