MCP.so
登录

MCP Code Analyzer

@emiryasar

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

emiryasar

关于 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.

MCP Code Analyzer 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Code Analyzer 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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)

常见问题

1

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.

2

What are the prerequisites?

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

3

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.

4

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.

5

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.

评论

开发工具 分类下的更多 MCP 服务器