MCP.so
ログイン
M

MCP Code Analyzer

@mszewczy

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

mszewczy

投稿者

Marek Szewczyk

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 の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "code-analyzer": {
      "command": "python",
      "args": [
        "-m",
        "mcp_code_analyzer",
        "--analyze-paths",
        "C:\\Projects\\path1"
      ]
    }
  }
}

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, providing insights for needed changes and ensuring related usages are updated when modifications are made.

How to use MCP Code Analyzer?

Install via pip install -e . after cloning the repository. Configure Claude Desktop by editing %AppData%\Claude\claude_desktop_config.json to point to your project paths using the --analyze-paths argument. Additional paths or files can be analyzed via chat messages.

Key features of MCP Code Analyzer

  • Project structure analysis in XML tree format
  • Project statistics and technology analysis
  • File and import analysis
  • Reference finding across the codebase
  • File operations with automatic version control backups
  • Line-by-line code modification (currently has issues)

Use cases of MCP Code Analyzer

  • Automatically updating all references when renaming or moving a function
  • Understanding project architecture and dependencies before making changes
  • Detecting unused imports or files across a codebase
  • Backing up and safely modifying code with version control support

よくある質問

1

What are the system requirements?

Python 3.10 or later and Windows (Linux/macOS support not yet tested).

2

Does MCP Code Analyzer modify or delete files?

Yes. The tool performs file operations that can modify or delete files. Always backup your codebase before using any modification features.

3

What working tools are available?

Project analysis tools (analyze_project_structure, analyze_project_statistics, analyze_project_technology), code analysis tools (analyze_imports, analyze_file, find_references), file operations (file_operations, version_control), and code_modifier (with known big issues).

4

Are there known limitations?

Chat context limitations may interrupt large file modifications. AI-generated documentation comments can affect code operation. Some tools are still in testing phase and may not work as expected.

5

Can I analyze multiple project paths?

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

コメント

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