MCP.so
Sign In

MCP Code Analyzer

@emiryasar

About MCP Code Analyzer

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.

Basic information

Category

Developer Tools

License

MIT

Runtime

python

Transports

stdio

Publisher

emiryasar

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Code Analyzer?

MCP Code Analyzer is a code analysis and management tool that integrates with Claude Desktop. It analyzes code at both project and file levels, aiming to ensure that related usages are updated when code modifications or structural adjustments are made.

How to use MCP Code Analyzer?

Install Python 3.10+ on Windows, clone the repository, and run pip install -e .. Then configure Claude Desktop by editing claude_desktop_config.json with the command python -m mcp_code_analyzer and the --analyze-paths argument pointing to your project directories.

Key features of MCP Code Analyzer

  • Project analysis: structure (XML tree), statistics, technology, code structure
  • Code analysis: imports, file analysis, reference finding
  • File operations with automatic dated backup creation
  • Code modifier for line-by-line code changes (known issues)
  • Supports multiple project paths with no limit on paths or files
  • Integrates with Claude Desktop via the Model Context Protocol

Use cases of MCP Code Analyzer

  • Adapt an existing codebase when making structural changes, ensuring consistency across related files
  • Analyze project structure and dependencies to understand large or legacy codebases
  • Find references and imports to assess the impact of planned modifications
  • Perform batch file operations with automatic version control backups
  • Modify code line-by-line with AI assistance (within chat context limits)

FAQ from MCP Code Analyzer

Is the tool stable?

The project currently has many bugs, and some tools may not function as expected. The author advises to always backup your codebase before using modification features.

What are the prerequisites?

Python 3.10 or later and Windows. Linux and macOS support have not yet been tested.

How do I configure it with Claude Desktop?

Create or edit claude_desktop_config.json in %AppData%\Claude\ with the command "python -m mcp_code_analyzer" and include the --analyze-paths argument specifying your project folders.

Are there any known limitations?

Chat context limits may interrupt large file modifications, and AI-generated documentation comments can affect code operation in large files.

Can I analyze multiple projects?

Yes, multiple project paths can be specified in the configuration, and additional paths or files can be analyzed via chat messages with no limit on the number.

Comments

More Developer Tools MCP servers