Ruby Fast LSPA high-performance Ruby Language Server written in Rust, built to power both AI coding agents and traditional editors with fast, accurate code intelligence. Why Ruby Fast LSPAI coding agents like Claude Code, Cursor, and Windsurf rely on Language Server Protocol features to understand codebases, validate their own edits, and navigate code with precision. Ruby deserves a language server that treats these agent workflows as first-class. Ruby Fast LSP is designed around the features that matter most for agent-assisted development:
Written in Rust with millisecond response times, it handles large Ruby codebases without becoming a bottleneck. Type InferenceAt the core of Ruby Fast LSP is Yard & RBS backed type inference engine that gives diagnostics and navigation real accuracy, not just syntax awareness.
You can guide the engine with simple YARD annotations on your methods:
This is enough for the LSP to resolve return types, validate callers, and propagate types through method chains. No separate type files or complex setup required. This is what makes the difference between a language server that can grep and one that can reason about Ruby code. Installationnpm (recommended)Install the language server binary globally:
This makes the Building from Source
The binary will be at SetupClaude Code
For project-specific configuration, add the same VS Code
Cursor, Windsurf, and Other VS Code ForksEditors based on VS Code that use the Open VSX Registry can install the extension from: open-vsx.org/extension/naveenraj/ruby-fast-lsp Other EditorsAny editor that supports LSP can use Ruby Fast LSP. Start the server with:
Configure your editor's LSP client to connect via stdio with language ID See Also
ContributingIssues and feature requests welcome on GitHub. LicenseMIT |