GraphPulse C++ — Claude Code MCP server: what it does, how to install
GraphPulse C++ parses C++ projects using AST to map function relationships. Spots circular dependencies, unused functions, and generates Mermaid diagrams.
no license 718 installs updated 2026-03-10
claude mcp add --transport http legacy-mcp-analyzer https://legacy-mcp-analyzer--labsofuniverse.run.toolsWhat GraphPulse C++ does
The server ingests C++ code via a local directory_path, a collection of raw_files, or a GitHub repo_url. Passing code strings directly into analyze_codebase is blocked by design. You can provide uncommitted changes by passing a unified diff inside patch_content.
It constructs a function-level dependency graph from AST data. Connected agents query callers, callees, and cross-file coupling metrics. The detect_cycles command pinpoints recursion loops, while get_orphan_functions lists declared routines that have zero incoming calls.
Visual exports run through generate_mermaid_graph. For larger architectures, setting focus_node and max_depth limits diagram depth, preventing context window exhaustion.
What it helps with
- identify circular dependencies across C++ source files
- detect orphan functions that lack upstream callers
- check file coupling before restructuring code
- render targeted Mermaid call diagrams around a specific node
Example prompts for the agent
- Run
analyze_codebaseusingdirectory_pathto map the local project - List upstream callers for
calculate_interestusingget_callers - Generate a Mermaid diagram centered on
process_clientwithmax_depthset to 2
How to install GraphPulse C++
Platform CLI: remote server
claude mcp add --transport http legacy-mcp-analyzer https://legacy-mcp-analyzer--labsofuniverse.run.toolsPlatform CLI: remote server
codex mcp add graphpulse-c --url https://legacy-mcp-analyzer--labsofuniverse.run.toolsConfig file
{
"mcpServers": {
"graphpulse-c": {
"url": "https://legacy-mcp-analyzer--labsofuniverse.run.tools"
}
}
}Config file
{
"servers": {
"graphpulse-c": {
"type": "http",
"url": "https://legacy-mcp-analyzer--labsofuniverse.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http graphpulse-c https://legacy-mcp-analyzer--labsofuniverse.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about GraphPulse C++
How do I install GraphPulse C++ in Claude Code?
Run this command in your terminal: claude mcp add --transport http graphpulse-c https://legacy-mcp-analyzer--labsofuniverse.run.tools.
What does GraphPulse C++ do?
It builds an AST-based call graph for C++ code, highlights circular links, identifies orphan functions, and renders Mermaid diagrams.
Can I pass raw code text directly to analyze_codebase?
No, the tool does not accept raw code text. You must provide exactly one option: directory_path, raw_files, or repo_url.