Back to LSP Servers

cpp

stdio
ccpp

Used by 5 plugins

Requires Language Server Binary

This LSP server requires clangd to be installed on your system. Make sure it's available in your PATH before enabling.

Install
1
Run in your terminal
$
npx claudepluginhub piebald-ai/claude-code-lsps
Add to Your Project

Add to your .lsp.json or plugin.json:

{
  "lspServers": {
    "cpp": {
      "command": "clangd",
      "extensionToLanguage": {
        ".c": "c",
        ".h": "c",
        ".cc": "cpp",
        ".hh": "cpp",
        ".c++": "cpp",
        ".cpp": "cpp",
        ".cxx": "cpp",
        ".h++": "cpp",
        ".hpp": "cpp",
        ".hxx": "cpp"
      }
    }
  }
}
Supported Languages
c
.c.h
cpp
.cc.hh.c++.cpp.cxx.h++.hpp.hxx
Command
clangd
Transport
stdio
Advanced Configuration
Restart on Crash:Yes
Max Restarts:3

Initialization Options:

{}

Settings:

{}
Also used by 4 other plugins
clangd
79
cpp
3
clangd
2
cpp-lsp
1
Plugins using this server (5)
clangd
262
clangd
79
cpp
3
clangd
2
cpp-lsp
1
Actions

Product

  • Browse Plugins
  • Marketplaces
  • Pricing
  • About
  • Contact

Resources

  • Learning Center
  • Claude Code Docs
  • Plugin Guide
  • Plugin Reference
  • Plugin Marketplaces

Community

  • Browse on GitHub
  • Get Support

Admin

  • Admin Panel

Legal

  • Terms of Service
  • Privacy Policy
Community Maintained•Not affiliated with Anthropic

© 2025 ClaudePluginHub

ClaudePluginHub
ClaudePluginHub
ToolsLearn
Search everything...