MCPcopy Create free account
hub / github.com/MaskRay/ccls

github.com/MaskRay/ccls @0.20250815.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.20250815.1 ↗ · + Follow
989 symbols 2,130 edges 185 files 42 documented · 4% updated 12d ago0.20250815.1 · 2025-11-15★ 4,072175 open issues

Browse by type

Functions 590 Types & classes 399
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ccls

Telegram Gitter

ccls, which originates from cquery, is a C/C++/Objective-C language server.

It has a global view of the code base and support a lot of cross reference features, see wiki/FAQ. It starts indexing the whole project (including subprojects if exist) parallelly when you open the first file, while the main thread can serve requests before the indexing is complete. Saving files will incrementally update the index.

>>> Getting started (CLICK HERE) <<<

ccls can index itself (~180MiB RSS when idle, noted on 2018-09-01), FreeBSD, glibc, Linux, LLVM (~1800MiB RSS), musl (~60MiB RSS), ... with decent memory footprint. See wiki/Project-Setup for examples.

Core symbols most depended-on inside this repo

Shape

Class 362
Method 322
Function 268
Enum 37

Languages

C++100%

Modules by API surface

src/indexer.cc51 symbols
src/indexer.hh45 symbols
src/sema_manager.cc44 symbols
src/lsp.hh40 symbols
src/messages/initialize.cc39 symbols
src/message_handler.hh39 symbols
src/pipeline.cc32 symbols
src/query.cc29 symbols
src/serializer.hh28 symbols
src/query.hh26 symbols
src/threaded_queue.hh24 symbols
src/serializer.cc23 symbols

For agents

$ claude mcp add ccls \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page