anthropic-mcp-code-analyzer

kivo360/anthropic-mcp-code-analyzer

3.3

If you are the rightful owner of anthropic-mcp-code-analyzer and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Anthropic MCP Code Analyzer is an MCP server designed to analyze open source projects and integrate them with existing codebases using Claude for intelligent merge strategies.

The Anthropic MCP Code Analyzer is a powerful tool that leverages the capabilities of Claude to analyze code patterns, architecture, and documentation. It provides intelligent merge strategies to seamlessly integrate open source projects with existing codebases. The server performs repository analysis, detects code patterns, processes documentation, and generates merge strategies using AST-based code analysis. It also tracks dependencies and detects architectural patterns, ensuring a comprehensive understanding of the codebase. This tool is particularly useful for developers looking to integrate new projects into their existing systems efficiently and with minimal conflicts.

Features

  • Repository analysis and code pattern detection
  • Documentation extraction and processing
  • Intelligent merge strategy generation using Claude
  • AST-based code analysis
  • Dependency tracking and architecture pattern detection

Usages

usage with local integration stdio

python
mcp.run(transport='stdio')  # Tools defined via @mcp.tool() decorator

usage with local integration ide plugin

{
  "mcpServers": {
    "anthropic-code-analyzer": {
      "command": "npm",
      "args": ["start"]
    }
  }
}

usage with remote integration sse

python
mcp.run(transport='sse', host="0.0.0.0", port=3000)  # Specify SSE endpoint

usage with remote integration streamable http

yaml
paths:
  /analyze:
    post:
      x-ms-agentic-protocol: mcp-streamable-1.0  # Copilot Studio integration