A comprehensive code analysis and management tool that integrates with Claude Desktop to analyze code at project and file levels, helping adapt changes to projects intelligently.
The main purpose of the MCP tool is to adapt changes to the project intelligently. For instance, when a code modification or structural adjustment is needed, it aims to ensure that other related usages are also updated accordingly.
Currently, the project has a lot of bugs, and the tools are not functioning as expected sometimes. Due to work commitments, I can’t dedicate much time to it, but I’ll try to fix the issues and bring it to a working state whenever I find the time.
⚠️ WARNING: BACKUP RECOMMENDED
This tool performs file operations that could potentially modify or delete files. Always backup your codebase before using any modification features.
The Model Context Protocol (MCP) Code Analyzer is a comprehensive code analysis and management tool that integrates with Claude Desktop. It analyzes code at both project and file levels, providing insights for needed changes and project understanding.
# Clone the repository git clone https://github.com/[your-username]/mcp-code-analyzer.git cd mcp-code-analyzer # Install dependencies and package pip install -e .
Win + R → %AppData%\Claude\
claude_desktop_config.json
:
{ "globalShortcut": "Ctrl+Space", "mcpServers": { "code-analyzer": { "command": "python", "args": [ "-m", "mcp_code_analyzer", "--analyze-paths", "C:\\Projects\\path1" ], "type": "module" } } }
✅ Project Analysis
✅ Code Analysis
⚠️🔄 File Operations (Always backup before use)
⚠️🔄 Code Modify (Always backup before use)
Watch demonstration of MCP tool using with building Mario game:
Note: This is a demonstration of the tool's capabilities, not a complete game tutorial. While the game isn't fully playable due to Claude's message limits, this video shows how the MCP tool works and what you can do with it.
Contributions are welcome! Whether it's bug reports, feature requests, documentation improvements, or code contributions - every contribution helps. Simply fork the repository and submit a pull request.
This project is licensed under the MIT License - see the LICENSE
file for details.
Note: This project is under active development. Features and documentation may change frequently.
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!