MCPFast / Tools / AST Knowledge Graph Server for Claude Code

GitHubMCP★★★★☆

AST Knowledge Graph Server for Claude Code

An MCP server creating AST knowledge graphs for code, enabling semantic search and impact analysis across 10 languages.

View on GitHub

AST Knowledge Graph Server for Claude Code

The AST Knowledge Graph Server for Claude Code is an open-source MCP (Meta-Cognitive Programming) server designed to process and analyze codebases. It transforms Abstract Syntax Trees (ASTs) into a knowledge graph, providing a structured representation of code that facilitates advanced querying and analysis. This tool is particularly valuable for developers working with large or complex code repositories, enabling deeper understanding and more efficient code management.

What it Does

This MCP server ingests source code written in up to 10 different programming languages. It parses the code to generate an Abstract Syntax Tree (AST) for each file. These ASTs are then used to construct a comprehensive knowledge graph. This graph captures the relationships between code elements, such as function calls, variable declarations, class inheritance, and more. The primary output is a queryable graph database that allows for semantic search and impact analysis of the codebase.

Key Features

Who it's For

This tool is targeted at AI builders, software engineers, and developers who require sophisticated code analysis capabilities. It is ideal for individuals and teams working on: