[BUG] LSP: Claude does not set client name in the initialize request

Resolved 💬 1 comment Opened Apr 8, 2026 by Wilfred Closed Apr 8, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

LSP allows you to specify a client name when you send the initialize request: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#initialize

When I start an LSP session with Claude, it doesn't set the client name or the client version. This makes it hard to debug LSP issues, because I can't look at LSP logs to tell which requests were from Claude versus (for example) VS Code.

What Should Happen?

Claude should set both the client name and version in the initialize request.

Error Messages/Logs

Steps to Reproduce

  1. Start Claude in a Rust project in an environment with the rust toolchain installed (which provides rust-analyzer, the Rust LSP).
  2. Enable LSP in the current Claude session.
  3. View LSP logs and observe that the client name isn't set.

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.96 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗