Claude Code’s official pyright plugin spawns one backend at startup; if you create/switch `.venv` later (common with git worktrees), it won’t pick it up without restarting Claude Code.
typemux-cc is a Python LSP proxy that fixes this by keeping a per-`.venv` backend pool and routing requests based on `didOpen` `.venv` detection. It also restores open docs on spawn, queues index-dependent requests during warmup, and rewrites backend→client request IDs to avoid collisions.
Supports pyright / ty / pyrefly.
Repo + quickstart: https://github.com/K-dash/typemux-cc
Feedback welcome — especially on the “fail loudly vs fallback when `.venv` is missing” policy and reliable warmup/readiness signals across pyright/ty/pyrefly.