By tyroneross
Language Server Protocol tooling for coding agents — vendor-neutral CLI/MCP bridge plus Claude Code LSP plugins
npx claudepluginhub tyroneross/rosslabs-lspRegisters ty (Astral) as Claude Code's Python language server: definitions, references, hover, call hierarchy. Requires `ty` on PATH (`uv tool install ty`). Python only -- Claude's built-in LSP tool answers incompletely on unregistered languages, so use RossLabs LSP for anything else.
Non-blocking PreToolUse hint: when Grep or a shell rg/grep searches for a bare code identifier in a repo with a ready language server, it suggests the exact `rosslabs-lsp refs --symbol` call. Never blocks; silent otherwise. Requires python3 and rosslabs-lsp on PATH.
7-day visitors to each marketplace page
LSP tooling for coding agents. Language servers have given editors compiler-grade code intelligence for a decade; agents mostly still navigate by text search. This repo closes that gap in two layers.
| What it is | Who it serves | |
|---|---|---|
| RossLabs LSP CLI | A Rust implementation that fronts any language server as a CLI and as an MCP server | Any agent — Claude Code, Codex, local models, CI, git hooks |
plugins/ty-lsp/ | A Claude Code plugin registering ty as the Python language server | Claude Code only |
plugins/lsp-routing-hint/ | A non-blocking PreToolUse hook that turns a grep for a bare identifier into a suggested rosslabs-lsp refs call | Claude Code and Codex |
Which tool answers which question? See ROUTING.md, by question,
language, component (hooks, ACP, terminal input, ...) and host. Ask it from a shell
with rosslabs-lsp route <topic> or over MCP with the route tool. It is rendered
from routing.json, the machine-readable source.
JavaScript and JSX use their own document language IDs through the shared TypeScript server. See JavaScript support and protocol library decisions for the adapter behavior, incorporated framing library and real-server tests.
lspServers is a Claude Code plugin key. It works well and costs nothing — but it
exists nowhere else. Codex CLI has no native LSP at all
(openai/codex#8745,
#14799), and a local model has no LSP
client whatsoever.
So the plugin is the fast path where a host supports it, and rosslabs-lsp is the
vendor-neutral path everywhere else. Same servers underneath.
A single-language plugin makes the host's built-in LSP tool wrong on every other
language, silently. Installing ty-lsp gives Claude Code a LSP tool that works
— for Python. Point it at TypeScript, Rust, Swift, or C and it does not error and
does not report "no server": it answers from nothing and returns a confident,
incomplete result. Verified here: with only ty registered, findReferences on an
exported TypeScript function returned 1 hit — the declaration — while
rosslabs-lsp refs on the same symbol returned 4, including both real importers.
A declaration-only result is the signature of this failure, and it is
indistinguishable from an honest "this symbol has no callers."
The rule that follows: install the plugin for the fast path, but route
cross-file symbol questions through rosslabs-lsp unless you have confirmed a
server is registered for that language. RossLabs LSP reports "ready" on every
answer, so an unready result reads as UNKNOWN rather than empty. The built-in tool
carries no such signal.
cd code-intel && cargo install --path . --locked --force
rosslabs-lsp doctor # servers present, plus this build's commit and date
rosslabs-lsp refs src/query.rs::workspace_root # every caller of a symbol
rosslabs-lsp refs --symbol workspace_root # same, found by name from the current directory
rosslabs-lsp route "who calls this" # which tool answers a question
def, refs and hover accept --symbol <name> [--path <root-or-file>]. With a
directory (default .), files that mention the name are checked against their
own symbol trees and exactly one defining file must remain; several are refused
with the list. doctor prints build.commit and build.date, so an install
older than a feature is visible before a command fails as "unknown query".
Address symbols by name, not by line. file.rs:42:11 breaks the moment
anything above line 42 moves, and it breaks silently — the query resolves to
whatever now occupies that position. Verified here: insert 20 lines above a
symbol and the line-addressed query returns 0 hits with no error, while
file.rs::for_path still returns all 7. Line addressing still works when you
want an exact point.
Answers name the symbol containing each hit, because a line number is not something you can act on:
{"at": "src/registry.rs:107", "in": "tests/maps_extension_to_server"}
An ambiguous name is refused with its candidates rather than resolved to the
first match, and a name that does not exist lists what the file actually has.
Pass --raw for untouched LSP payloads.
Optionally keep slow servers warm:
rosslabs-lsp daemon & # pools rust-analyzer, sourcekit-lsp
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.