# jacobdufault/cquery

C/C++ language server supporting multi-million line code base, powered by libclang. Emacs, Vim, VSCode, and others with language server protocol support. Cross references, completion, diagnostics, semantic highlighting and more

Repository: https://github.com/jacobdufault/cquery
Canonical: https://ross.abutalabs.com/products/cquery
Language: C++
License: MIT
License Family: permissive
Topics: cpp, language-server-protocol, lsp
Archived: true
Last push: 2020-07-29T17:15:12+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3424, "days_push": 2226, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2361, forks 163 (observed 2026-08-28T04:06:40.900282+00:00)

## What it is
cquery is a highly-scalable, low-latency language server for C/C++/Objective-C built on libclang, designed for very large code bases like Chromium. It implements the Language Server Protocol to provide completion, cross-references, diagnostics, and semantic highlighting in editors like Emacs, Vim, and VSCode.

## Use cases
- code completion for c++ in vim
- find all references in a large c++ codebase
- go to definition for c code
- semantic highlighting for c++ in emacs
- call hierarchy and inheritance hierarchy navigation
- diagnostics and clang fixits in vscode
- index a multi-million line c++ project

## When to choose
- you are maintaining a legacy setup that already uses cquery
- you need an archived reference implementation of a C/C++ language server

## When to avoid
- starting a new project - use clangd or ccls instead
- you need actively maintained tooling or bug fixes
- you cannot afford its large memory overhead on huge codebases

## Facets
- artifact type: service
- maturity: abandoned
- function: editor, parser, search-engine
- domain: developer-tools, text-editors, programming-languages
- platform: windows, editor-plugin
- tags: lsp, language-server, c-cpp, libclang, code-navigation, archived, linux, macos

## Member repositories
- jacobdufault/cquery (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:40.900282+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:36:06.804643+00:00, confidence not recorded.
  - readme: https://github.com/jacobdufault/cquery (fetched 2026-08-28T04:06:40.900282+00:00, sha fe05949fae29)
- Data as of 2026-08-30T08:39:29.467469+00:00.
