Submit

AST MCP Server

@angrysky56

AST/ASG Code Analysis MCP Server
Overview

what is AST/ASG Code Analysis MCP Server?

AST/ASG Code Analysis MCP Server is a Model Context Protocol (MCP) server that provides code structure analysis capabilities using Abstract Syntax Trees (ASTs) and Abstract Semantic Graphs (ASGs).

how to use AST/ASG Code Analysis MCP Server?

To use the server, clone the repository, create a virtual environment, install dependencies, and build language parsers. Then, integrate it with MCP clients like Claude by editing the configuration file.

key features of AST/ASG Code Analysis MCP Server?

  • Parses code into Abstract Syntax Trees (ASTs) using tree-sitter.
  • Generates Abstract Semantic Graphs (ASGs) with data flow and control flow information.
  • Queries code structure and semantics.
  • Provides contextualized code insights based on structural information.

use cases of AST/ASG Code Analysis MCP Server?

  1. Code understanding and analysis.
  2. Bug detection and fixing.
  3. Semantic-aware code generation.
  4. Refactoring suggestions.

FAQ from AST/ASG Code Analysis MCP Server?

  • What programming languages are supported?

The server supports Python, JavaScript, TypeScript, Go, Rust, C/C++, and Java.

  • How do I run the MCP server?

You can run the server using the command python server.py.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.