Sponsored by Deepsite.site

MCP Code Analyzer

Created By
mszewczy4 months ago
A Model Context Protocol (MCP) server implementation for comprehensive code analysis. This tool integrates with Claude Desktop to provide code analysis capabilities through natural language interactions.
Content

Content MCP Code Analyzer 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.

Overview 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.

Prerequisites Python 3.10 or later Windows (Linux/MacOS support not yet tested) Installation

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 . Claude Desktop Integration Configuration Access Claude Desktop config: Win + R → %AppData%\Claude
Create/edit claude_desktop_config.json: { "globalShortcut": "Ctrl+Space", "mcpServers": { "code-analyzer": { "command": "python", "args": [ "-m", "mcp_code_analyzer", "--analyze-paths", "C:\Projects\path1" ], "type": "module" } } } Path Configuration Multiple project paths can be specified in configuration Additional paths or files can be analyzed via chat messages No limit on number of analyzable paths/files 🛠️ Tools and Status Working Tools ✅ Project Analysis

analyze_project_structure (XML tree format) analyze_project_statistics analyze_project_technology analyze_code_structure ✅ Code Analysis

analyze_imports analyze_file find_references ⚠️🔄 File Operations (Always backup before use)

file_operations version_control (Creates dated backups) ⚠️🔄 Code Modify (Always backup before use)

code_modifier (Performs modifying code line by line)(Currently has big issues) Testing Phase 🔄 check_syntax 🔄 find_code_patterns 🔄 find_pattern_usages 🔄 search_content 🔄 search_files 🔄 validate_code Known Issues Chat context limitations may interrupt large file modifications AI-generated documentation comments can affect code operation in large files

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
DeepChatYour AI Partner on Desktop
Serper MCP ServerA Serper MCP Server
ChatWiseThe second fastest AI chatbot™
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Amap Maps高德地图官方 MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Playwright McpPlaywright MCP server
WindsurfThe new purpose-built IDE to harness magic
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Tavily Mcp
CursorThe AI Code Editor
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code