# swiftlang/sourcekit-lsp

Language Server Protocol implementation for Swift and C-based languages

Repository: https://github.com/swiftlang/sourcekit-lsp
Canonical: https://ross.abutalabs.com/products/sourcekit-lsp
Language: Swift
License: Apache-2.0
License Family: permissive
Last push: 2026-08-26T08:53:06+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 28, longevity 100
- inputs: {"age_days": 2868, "days_push": 7, "days_rel": 466, "gap_med": 60.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3903, forks 387 (observed 2026-08-28T04:08:28.632487+00:00)

## What it is
SourceKit-LSP is a Language Server Protocol implementation for Swift and C-based languages, built on sourcekitd and clangd. It provides intelligent editor features like code completion, jump-to-definition, and cross-language source indexing for editors that support LSP.

## Use cases
- get code completion for Swift in VS Code or Neovim
- jump to definition across Swift and C code
- index a Swift Package Manager project for cross-module navigation
- use LSP with a CMake project via compile_commands.
- set up Swift language support in any LSP-capable editor

## When to choose
- you develop Swift or C-based code in an editor other than Xcode
- you need cross-language indexing and navigation for Swift/C projects
- you use Swift Package Manager or CMake build systems

## When to avoid
- you only work in Xcode, which bundles its own tooling
- you need background index updates without building your project or enabling experimental background indexing
- you work in languages outside the Swift/C family

## Facets
- artifact type: service
- maturity: stable
- function: editor, developer-tools, search-engine
- domain: developer-tools, programming-languages, text-editors
- platform: cross-platform, cli
- tags: language-server-protocol, lsp, swift, clangd, code-completion, code-indexing, swift-package-manager, macos, linux

## Member repositories
- swiftlang/sourcekit-lsp (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:28.632487+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-29T18:25:09.942933+00:00, confidence not recorded.
  - readme: https://github.com/swiftlang/sourcekit-lsp (fetched 2026-08-28T04:08:28.632487+00:00, sha 17cbd208a77a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
