cpp-analyzer
Provides tools for semantic analysis of C++ codebases, including searching classes and functions, inspecting callers/callees and call trees, analyzing class structure, finding symbols in files, and retrieving project statistics.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
C++ MCP Server (fastMCP)
A Model Context Protocol (MCP) server for analyzing C++ codebases using libclang and fastMCP.
Features
Semantic C++ Analysis: Understands classes, functions, inheritance, and call graphs
Dual Mode Support: STDIO (Claude Desktop) and HTTP (Web UI) modes
15+ Analysis Tools: Search, analyze, and explore C++ codebases efficiently
Real-time Indexing: Background analysis with file watching
Related MCP server: fw-context-mcp
Quick Start
Setup:
git clone https://github.com/doogypoo1977/cpp_Analyzer_mcp.git cd cpp_Analyzer_mcp server_setup.bat # WindowsRun Server:
# STDIO mode (Claude Desktop) run_fastmcp.bat # HTTP mode (Web UI) run_fastmcp_http.batConfigure Claude Desktop:
{ "mcpServers": { "cpp-analyzer": { "command": "python", "args": ["-m", "mcp_server.main_fastmcp"], "cwd": "YOUR_PATH_HERE", "env": {"PYTHONPATH": "YOUR_PATH_HERE"} } } }
Available Tools
get_indexing_status- Check analysis statussearch_classes- Find classes by patternsearch_functions- Find functions by patternget_callers- Who calls this functionget_callees- What this function callsget_class_info- Detailed class analysisanalyze_class- Comprehensive class reportfind_in_file- Symbols within specific filesget_call_tree- Multi-level call relationshipssearch_symbols- Universal symbol searchget_project_stats- Project overviewAnd more...
Requirements
Python 3.9+
libclang (included in requirements.txt)
MSVC compiler (Windows)
HTTP Mode
When running in HTTP mode:
run_fastmcp_http.batCheck console output for available endpoints.
License
All rights reserved. See LICENSE file for details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Ask a codebase what calls what: search, blast radius, paths between symbols, and diffs.
Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.
C++ engineering review, delivered per API call as an atom service on Conduit Atoms.
Ask who calls a route, what a change breaks or who reads a field, across a system's repos.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables fast semantic code search and analysis across 15+ programming languages. Supports searching for functions and classes, tracing code usage, detecting syntax errors, and analyzing code quality and structure.34 npm33GPL 3.0
- AlicenseAqualityAmaintenanceExposes tools for AI assistants to query a persistent SQLite+FTS5 index of C/C++ symbols parsed from real build commands, enabling sub-millisecond lookup, full-text search, and natural-language explanation without hallucination.37509 PyPI10MIT
- AlicenseAqualityDmaintenanceProvides C++ code intelligence tools for AI agents via the Model Context Protocol, enabling symbol navigation, type information, and diagnostics.950Mozilla Public 2.0
- AlicenseNot gradedqualityCmaintenanceBridges AI assistants to clangd for C/C++ code intelligence, providing tools for symbol search, definitions, references, type info, and more.2MIT