An MCP server that provides code structure and semantic analysis capabilities through Abstract Syntax Trees (AST) and Abstract Semantic Graphs (ASG)
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"iflow-mcp-angrysky56-ast-mcp-server","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# 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](https://docs.astral.sh/uv/) package manager (recommended) or pip ### Using uv (Recommended) 1. Clone this repository: ```bash git clone https://github.com/angrysky56/ast-mcp-server.git cd ast-mcp-server ``` 2. Install the project and dependencies: ```bash # Install the project in development mode with all dependencies uv sync # Or install with specific optional dependencies uv sync --extra dev # Development tools uv sync --extra testing # Testing dependencies uv sync --extra docs # Documentation tools ``` 3. Build the tree-sitter parsers: ```bash uv run build-parsers ``` ### Using pip (Alternative) ```bash # Create and activate virtual environment python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate # Install dependencies pip install -e . # Build parsers python build_parsers.py ``` ## 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 …
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.