Claude Code can get access to a language server like clangd through a MCP server, for example https://github.com/isaacphi/mcp-language-server