README.md

solargraph-lsp #

Ruby language server for Claude Code, providing code intelligence and analysis via Solargraph.

Supported Extensions #

  • .rb

How it connects #

Claude Code runs solargraph stdio as the LSP server. .rb files are routed to it with language ID ruby.

Interop with other Ruby LSPs #

Solargraph handles completions and documentation. Pair it with sorbet-lsp for type checking or standardrb-lsp for lint and autofix. Different features, minimal overlap.

Installation #

Add to your Gemfile:

gem 'solargraph'

Then run:

bundle install

Via gem #

gem install solargraph

Requirements #

  • Ruby
  • solargraph gem installed

More Information #