MCP.so
ログイン

MCP Code Analyzer

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

基本情報

カテゴリ

開発者ツール

ライセンス

MIT

ランタイム

python

トランスポート

stdio

公開者

emiryasar

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

ツールは検出されませんでした

ツールは 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)

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.

コメント

「開発者ツール」の他のコンテンツ