# clangd/clangd

clangd language server

Repository: https://github.com/clangd/clangd
Canonical: https://ross.abutalabs.com/products/clangd
Homepage: https://clangd.llvm.org
Language: Shell
License: Apache-2.0
License Family: permissive
Topics: language-server, cplusplus, ide, clang
Last push: 2026-07-13T00:28:56+00:00

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

## Adoption (not part of the score)
Stars 2270, forks 96 (observed 2026-08-28T04:06:33.030678+00:00)

## What it is
clangd is a language server that provides C/C++ IDE features such as code completion, diagnostics, go-to-definition, and refactoring to any editor via the Language Server Protocol. It is built on the Clang compiler and is part of the LLVM project.

## Use cases
- get code completion for C++ in my editor
- show compile errors as I type in C++
- jump to definition and find references in a C++ codebase
- run clang-tidy checks inside my editor
- rename symbols across a C++ project
- add IDE features to vim or neovim for C++
- automatically insert missing includes and namespaces
- format and refactor C++ code from the editor

## When to choose
- you write C or C++ and want rich IDE features in any LSP-capable editor
- you want compiler-accurate diagnostics and clang-tidy integration while editing
- you need fast, indexed cross-references and navigation in large C++ codebases

## When to avoid
- you work primarily in languages other than C/C++
- your editor has no LSP client support
- you need a full standalone IDE rather than editor integration

## Facets
- artifact type: service
- maturity: stable
- function: editor, developer-tools, parser, linter, formatter
- domain: developer-tools, programming-languages, text-editors
- platform: windows, cross-platform, editor-plugin
- tags: language-server, lsp, c-plus-plus, clang, llvm, code-completion, ide-features, static-analysis, clang-tidy, linux, macos

## Member repositories
- clangd/clangd (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:33.030678+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-30T02:41:49.983067+00:00, confidence not recorded.
  - readme: https://github.com/clangd/clangd (fetched 2026-08-28T04:06:33.030678+00:00, sha d05d79ca3676)
  - homepage: https://clangd.llvm.org (fetched 2026-08-29T10:22:18.446480+00:00, sha 1d9dc19ee88b)
  - site_page: https://clangd.llvm.org/installation (fetched 2026-08-29T10:22:18.448883+00:00, sha 7d83bb331610)
  - site_page: https://clangd.llvm.org/features (fetched 2026-08-29T10:22:18.451173+00:00, sha d6df42f214a3)
  - site_page: https://clangd.llvm.org/faq (fetched 2026-08-29T10:22:18.453084+00:00, sha c95e619beab5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
