code-analysis-mcp-server

intelops/code-analysis-mcp-server

3.2

If you are the rightful owner of code-analysis-mcp-server 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.

A modular Model Context Protocol (MCP) server for code analysis tools, with a primary focus on ast-grep integration.

The Code Analysis MCP Server is a versatile and modular server designed to facilitate code analysis through a standardized interface. It primarily integrates with ast-grep, enabling AI assistants and other clients to perform structural code queries and transformations efficiently. The server supports structural code analysis, code transformations, YAML rule support, project-wide scanning, and containerized deployment. Its modular architecture allows for easy extension with additional code analysis tools, making it a robust solution for developers looking to automate and enhance their code analysis processes.

Features

  • Structural Code Analysis: Find patterns in code using ast-grep's powerful pattern matching capabilities
  • Code Transformations: Replace patterns in code with new implementations
  • YAML Rule Support: Apply custom lint and transformation rules defined in YAML
  • Project-Wide Scanning: Scan entire projects for patterns or rule violations
  • Containerized Deployment: Easy deployment with Docker
0