Add ty (Astral) as a built-in Python LSP server
Feature Request
Add ty as a supported built-in LSP server for Python files in Claude Code.
Current Behavior
Claude Code's built-in LSP support does not include ty. Python users can only get diagnostics via Pyright or pylsp. The ty binary is not auto-detected even when installed.
Expected Behavior
When ty is installed, Claude Code should detect and use it as a Python language server, providing type checking diagnostics for .py files — similar to how it detects rust-analyzer, clangd, etc.
Why
ty is an extremely fast Python type checker and language server from Astral (the team behind ruff and uv). It's rapidly gaining adoption in the Python ecosystem and already has a Claude Code skill (astral:ty). Native LSP support would provide inline diagnostics without needing external plugins.
References
- ty repo: https://github.com/astral-sh/ty
- Install:
cargo install ty/brew install ty/uv tool install ty
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗