Explain It

•

Indexes codebases into a detailed graph for local IDE LLMs, enabling deep questions about code structure and behavior.

Explain It is a Model Context Protocol (MCP) server designed to supercharge your IDE's local Large Language Models. It achieves this by parsing your codebase into a comprehensive graph of files, functions, classes, and imports. This structured understanding allows LLMs to answer complex 'why did this break?' and 'how does this flow work?' questions with high accuracy, all without relying on external APIs. Built on `tree-sitter` for TypeScript/JavaScript, it provides static analysis, graph traversal, and query tools to give your IDE a deep, internal view of your project's architecture.

Características Principales

01Builds a static code graph using `tree-sitter` for TypeScript/JavaScript.
02Persists a normalized graph of files, functions, classes, and imports in SQLite.
03Exposes MCP tools for IDEs to index repositories, find functions, list imports, and retrieve file structures.
04Supports graph traversal and queries to explore relationships between code elements.
05Operates as a stdio-based MCP server with no external network calls, running entirely locally.
060 GitHub stars

Casos de Uso

01Enable IDE LLMs to answer deep questions about code breakage and flow within a codebase.
02Provide structured codebase context to LLMs for improved code understanding and explanation.
03Explore code relationships and structures for development, debugging, and refactoring tasks.