diff_ast
Find differences between two versions of code
How to use it
diff_ast is exposed by the Ast MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the diff_ast tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Ast MCP Server
pip install -e .Other tools in Ast MCP Server (13)
Analyze code and cache the results for resource access
Analyze code structure and complexity
Generate an AST diff and cache it
Locate a specific node at a given line and column
Generate an ASG and cache it for resource access
Generate an enhanced ASG and cache it
Generate an Abstract Semantic Graph from code
Generate an enhanced ASG with better scope handling
Parse code into an AST and cache it for resource access
Parse code incrementally and cache the results
Parse code into an Abstract Syntax Tree
Parse code with incremental support for faster processing
Get the list of supported programming languages