An MCP server for analyzing C++ codebases using libclang
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"iflow-mcp-kandrwmrtn-cplusplus-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# C++ MCP Server An MCP (Model Context Protocol) server for analyzing C++ codebases using libclang. ## Why Use This? Instead of having Claude grep through your C++ codebase trying to understand the structure, this server provides semantic understanding of your code. Claude can instantly find classes, functions, and their relationships without getting lost in thousands of files. It understands C++ syntax, inheritance hierarchies, and call graphs - giving Claude the ability to navigate your codebase like an IDE would. ## Features Context-efficient C++ code analysis: - **search_classes** - Find classes by name pattern - **search_functions** - Find functions by name pattern - **get_class_info** - Get detailed class information (methods, members, inheritance) - **get_function_signature** - Get function signatures and parameters - **find_in_file** - Search symbols within specific files - **get_class_hierarchy** - Get complete inheritance hierarchy for a class - **get_derived_classes** - Find all classes that inherit from a base class - **find_callers** - Find all functions that call a specific function - **find_callees** - Find all functions called by a specific function - **get_call_path** - Find call paths from one function to another ## Prerequisites - Python 3.9 or higher - pip (Python package manager) - Git (for cloning the repository) - LLVM's libclang (the setup scripts will attempt to download a portable build) ## Setup 1. Clone the repository: ```bash git clone <repository-url> cd CPlusPlus-MCP-Server ``` 2. Run the setup script for your platform (this creates a virtual environment, installs dependencies, and fetches libclang if possible): - **Windows** ```bash server_setup.bat ``` - **Linux/macOS** ```bash ./server_setup.sh ``` 3. Test the installation (recommended): ```bash # Activate the virtual environment first mcp_env\Scripts\activate # Run the installation test python scripts\test_installation.py ``` This…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.