ast-mcp-server

angrysky56/ast-mcp-server

3.4

If you are the rightful owner of ast-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.

An MCP (Model Context Protocol) server that provides code structure and semantic analysis capabilities through Abstract Syntax Trees (AST) and Abstract Semantic Graphs (ASG).

Tools

Functions exposed to the LLM to take actions

parse_to_ast

Parse code into an Abstract Syntax Tree

generate_asg

Generate an Abstract Semantic Graph from code

analyze_code

Analyze code structure and complexity

supported_languages

Get the list of supported programming languages

parse_and_cache

Parse code into an AST and cache it for resource access

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources