{"repo":"angrysky56/ast-mcp-server","free":true,"listed":false,"github":"https://github.com/angrysky56/ast-mcp-server","clone":"git clone https://github.com/angrysky56/ast-mcp-server.git","description":"By transforming source code into a queryable Semantic Graph and a structured AST, this tool bridges the gap between \"reading text\" and \"understanding structure.\" For an AI assistant, it provides the \"spatial\" awareness needed to navigate deep dependencies without getting lost in large files.","language":"Python","stars":36,"topics":["asg","ast","claude","coding","mcp-server"],"license":"MIT","category":"mcp-servers","readme_excerpt":"AST MCP Server An MCP (Model Context Protocol) server that provides code structure and semantic analysis capabilities through Abstract Syntax Trees (AST) and Abstract Semantic Graphs (ASG). Features - Parse code into Abstract Syntax Trees (AST) - Generate Abstract Semantic Graphs (ASG) from code - Analyze code structure and complexity - Support for multiple programming languages (Python, JavaScript, TypeScript, Go, Rust, C/C++, Java) - Compatible with Claude Desktop and other MCP clients - Incremental parsing for faster processing of large files - Enhanced scope handling and more complete semantic analysis - AST diffing to identify changes between code versions - Resource caching for improved performance Installation Prerequisites - Python 3.9 or higher - uv package manager (recommended) or pip Using uv (Recommended) 1. Clone this repository: 2. Install the project and dependencies: 3. Build the tree-sitter parsers: Using pip (Alternative) Usage with Claude Desktop 1. Configure Claude Desktop to use the server by editing your configuration file: Location of config file: - macOS: /Library/Application Support/claude-desktop/claude desktop config.json - Linux: /.config/claude-desktop/claude desktop config.json - Windows: %APPDATA%\\claude-desktop\\claude desktop config.json 2. Add the AST MCP server configuration: Important: Replace /absolute/path/to/ast-mcp-server with the actual absolute path on your system. 3. Restart Claude Desktop to load the new MCP server. 4. In Claude Desk","default_branch":null,"files":null,"tree":[],"storefront":"/r/angrysky56","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/angrysky56/ast-mcp-server/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}