# ebkalderon/tower-lsp

Language Server Protocol implementation written in Rust

Repository: https://github.com/ebkalderon/tower-lsp
Canonical: https://ross.abutalabs.com/products/tower-lsp
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: language-server-protocol, lsp, rust, tower, service
Last push: 2024-08-15T02:07:57+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2557, "days_push": 749, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1359, forks 81 (observed 2026-08-28T04:04:29.806164+00:00)

## What it is
tower-lsp is a Rust library implementing the Language Server Protocol (LSP) on top of the Tower service abstraction. It lets developers build custom language servers by implementing a LanguageServer trait, with an LspService wrapper and a Server that communicates over stdio or TCP.

## Use cases
- build a language server for my programming language in Rust
- implement LSP support for a custom DSL
- add editor autocomplete and diagnostics via LSP
- write an async language server using Tower services
- serve LSP over stdio or TCP
- use LSP with a runtime other than tokio

## When to choose
- you are writing a language server in Rust
- you want a composable, Tower-based LSP implementation with async support
- you need runtime flexibility (tokio or runtime-agnostic)
- you want a mature, widely downloaded LSP crate

## When to avoid
- you are building language servers in another language
- you need a ready-made language server rather than a framework for building one
- you need strict synchronous processing of LSP messages

## Facets
- artifact type: library
- maturity: stable
- function: rpc, middleware, developer-tools
- domain: developer-tools, parsers, apis
- platform: rust, cross-platform
- tags: language-server-protocol, lsp, tower, async, rpc

## Member repositories
- ebkalderon/tower-lsp (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:29.806164+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:41:42.268916+00:00, confidence not recorded.
  - readme: https://github.com/ebkalderon/tower-lsp (fetched 2026-08-28T04:04:29.806164+00:00, sha 30f61bb0f71c)
  - registry_crates: https://crates.io/api/v1/crates/tower-lsp (fetched 2026-08-29T11:59:34.120137+00:00, sha b57c22cf64ba)
- Data as of 2026-08-30T08:39:29.467469+00:00.
