{"type":"mcp_server","name":"mcp_code_analyzer","description":"The MCP Code Analyzer intelligently adapts code changes by updating related usages, integrating with Claude Desktop to analyze projects and files for necessary modifications, though it's currently under development with potential bugs.","category":"Developer Tools","language":"Python","stars":39,"forks":7,"owner":"emiryasar","github_url":"https://github.com/emiryasar/mcp_code_analyzer","homepage":null,"setup":"## Setup\n- Clone the repository:\n```bash\ngit clone https://github.com/[your-username]/mcp-code-analyzer.git\ncd mcp-code-analyzer\n```\n- Install dependencies and package:\n```bash\npip install -e .\n```\n- Access Claude Desktop config: `Win + R â %AppData%\\Claude\\`\n- Create/edit `claude_desktop_config.json`:\n```json\n{\n  \"globalShortcut\": \"Ctrl+Space\",\n  \"mcpServers\": {\n    \"code-analyzer\": {\n      \"command\": \"python\",\n      \"args\": [\n        \"-m\",\n        \"mcp_code_analyzer\",\n        \"--analyze-paths\",\n        \"C:\\\\Projects\\\\path1\"\n      ],\n      \"type\": \"module\"\n    }\n  }\n}\n```\n- Multiple project paths can be specified in configuration, with no limit on the number of analyzable paths/files.","tools":"## Available Tools\n\n1.  **Project Analysis**: Includes analyze_project_structure (XML tree format), analyze_project_statistics, analyze_project_technology, and analyze_code_structure.\n2.  **Code Analysis**: Includes analyze_imports, analyze_file, and find_references.\n3.  **File Operations**: Includes file_operations and version_control (Creates dated backups).\n4.  **Code Modify**: Includes code_modifier (Performs modifying code line by line).\n5.  **Testing Phase**: Includes check_syntax, find_code_patterns, find_pattern_usages, search_content, search_files, and validate_code.","faq":null,"created_at":"2024-12-02T10:43:48+00:00","updated_at":"2025-03-24T10:14:51+00:00","source_url":"https://model-context-protocol.com/servers/code-analysis-model-context-protocol-server","related_articles":[]}