From ty
Pyright language server provides code intelligence for Python — real-time diagnostics, type checking, go-to-definition, find references, and hover information for .py and .pyi files.
Ships in ty. Installing the plugin adds it to Claude Code.
This LSP server requires ty to be installed on your system. Make sure it's available in your PATH before enabling.
Copy this JSON into your .lsp.json to enable this server
Add to your .lsp.json or plugin.json:
{
"lspServers": {
"python": {
"command": "ty",
"extensionToLanguage": {
".py": "python",
".pyi": "python",
".pyw": "python"
},
"args": [
"server"
]
}
}
}File extensions mapped to language identifiers
Server configuration and transport parameters
tystdioCommand-line arguments passed to the server process
Initialization options and workspace settings
Initialization Options:
{}Settings:
{}npx claudepluginhub piebald-ai/claude-code-lsps --plugin ty7-day visitors to each server page