BeClaude

clangd-lsp

30.2kOfficial PluginDevelopmentby Anthropic

C/C++ language server (clangd) for code intelligence

Python3272 forks747 issuesUpdated 6/16/2026First seen 4/17/2026

Summary

The clangd-lsp skill integrates the clangd language server into Claude Code, providing real-time code intelligence for C and C++ projects.

  • It offers features like code completion, diagnostics, navigation, and refactoring, helping developers write and maintain high-quality C/C++ code more efficiently.

Install & Usage

1
Add a marketplace
/plugin marketplace add <org/repo>
2
Install the plugin

Add the configuration to /plugin install clangd-lsp@<marketplace>

3
Manage with /plugin
/plugin

Use Cases

Get real-time syntax errors and warnings while editing C++ source files.
Navigate to symbol definitions and declarations across a large C/C++ codebase.
Perform code completions for functions, variables, and types in C++.
Apply automated refactorings like rename symbol or extract function.
View documentation and type information on hover for C/C++ symbols.
Format C/C++ code according to project style using clang-format.

Usage Examples

1

/clangd-lsp enable diagnostics for src/main.cpp

2

Find all references to the function 'calculate' in my C++ project using clangd-lsp

3

Rename the variable 'counter' to 'count' across the entire codebase with clangd-lsp

View source on GitHub
lspclaude-codemcpskills

Security Audits

LicenseUnknownSourcePassRepositoryPass

Frequently Asked Questions

What is clangd-lsp?

The clangd-lsp skill integrates the clangd language server into Claude Code, providing real-time code intelligence for C and C++ projects. It offers features like code completion, diagnostics, navigation, and refactoring, helping developers write and maintain high-quality C/C++ code more efficiently.

How to install clangd-lsp?

To install clangd-lsp: add a marketplace (/plugin marketplace add <org/repo>), then add the config to /plugin install clangd-lsp@<marketplace>. Finally, /plugin in Claude Code.

What is clangd-lsp best for?

clangd-lsp is a plugin categorized under Development. It is designed for: lsp. Created by Anthropic.

What can I use clangd-lsp for?

clangd-lsp is useful for: Get real-time syntax errors and warnings while editing C++ source files.; Navigate to symbol definitions and declarations across a large C/C++ codebase.; Perform code completions for functions, variables, and types in C++.; Apply automated refactorings like rename symbol or extract function.; View documentation and type information on hover for C/C++ symbols.; Format C/C++ code according to project style using clang-format..