Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.0.30 Home All releases olderv2.0.29 v2.0.31newer
Claude Code v2.0.30

LSP (Language Server Protocol) Tool

What: A new tool that integrates Language Server Protocol servers to provide code intelligence features directly to Claude.

How to use:

# Claude can now use LSP operations when analyzing code
# The tool works automatically when LSP servers are configured

Supported operations:

  • goToDefinition: Find where a symbol is defined
  • findReferences: Find all references to a symbol
  • hover: Get hover information (documentation, type info) for a symbol
  • documentSymbol: Get all symbols (functions, classes, variables) in a document
  • workspaceSymbol: Search for symbols across the entire workspace

Configuration: LSP servers can be configured in two ways:

  1. Plugin-based configuration: Plugins can define LSP servers via .lsp.json files or in their manifest's lspServers property
  2. Project configuration: LSP server settings include command, args, supported languages, transport type (stdio/socket), initialization options, and workspace settings

Requirements:

  • All operations require filePath, line (0-indexed), and character (0-indexed) parameters
  • LSP servers must be configured for the file type; operations will return an error if no server is available

Details:

  • Evidence: LSP tool definition at at1() at line 455338, LSP server manager initialization at line 454707
  • Plugin LSP configuration loading at Ig2() at line 454527
  • Comprehensive error handling for LSP failures including: lsp-config-invalid, lsp-server-start-failed, lsp-server-crashed, lsp-request-timeout, lsp-request-failed
  • LSP URI decoding support at line 205830 (uO0() function)

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.0.30 →