An MCP server for semantic analysis of C++ codebases using libclang, providing Claude with IDE-like navigation capabilities including class hierarchies, function signatures, and call graph analysis.
Find classes by name pattern.
Find functions by name pattern.
Get detailed class information (methods, members, inheritance).
Get function signatures and parameters.
Search symbols within specific files.
Get complete inheritance hierarchy for a class.
Find all classes that inherit from a base class.
Find all functions that call a specific function.
Find all functions called by a specific function.
Find call paths from one function to another.
{
"mcpServers": {
"cpp-analyzer": {
"command": "python",
"args": [
"-m",
"mcp_server.cpp_mcp_server"
],
"cwd": "YOUR_INSTALLATION_PATH_HERE",
"env": {
"PYTHONPATH": "YOUR_INSTALLATION_PATH_HERE"
}
}
}
}