clangd-lsp

PackDev tools

clangd lsp plugin is a plugin that connects an AI agent to the clangd language server for C and C++ code. It lets the agent look up definitions, find references, and read diagnostics, so it works from real compiler-level information instead of guessing from raw text.

Unavailable. Delivery for this kind is on the roadmap — not serving yet.

Have a C or C++ codebase and a working clangd language server available.

What your AI can do with it

  • Go to definitions in C and C++ code via clangd
  • Find all references to a symbol
  • Surface clangd diagnostics (errors and warnings) to the agent
  • Give the agent LSP-based code intelligence for C/C++ projects

Getting started

  1. Have a C or C++ codebase and a working clangd language server available.
  2. Install the clangd-lsp plugin in your agent's plugin configuration.
  3. Configure the plugin to point at your project so clangd can index the code.
  4. Ask the agent to navigate definitions, find references, or check diagnostics in your code.

Signals

GitHub stars
37k
Forks
4k
Last commit
Sep 2026

Questions

What does this plugin do?
It gives your agent clangd LSP powers for C and C++ code, including definitions, references, and diagnostics.
Do I need clangd installed?
The plugin connects to the clangd language server, so clangd needs to be available for it to provide code intelligence.
Which languages does it support?
C and C++.
Advanced
Item type
plugin
Key
anthropics-claude-plugins-official-clangd-lsp
Source
github.com/anthropics/claude-plugins-official