Generates a structured map of a codebase within a Git repository to aid understanding and navigation, particularly for large language models.
RepoMapper is a versatile tool engineered to enhance the comprehension and navigation of intricate codebases, especially for large language models. Operating as both a standalone command-line utility and an MCP (Model Context Protocol) server, it provides dynamic repository mapping capabilities. It meticulously constructs a "map" of software projects, identifying key files, code definitions, and their interdependencies. By integrating Tree-sitter for precise code parsing and the PageRank algorithm for importance ranking, RepoMapper ensures that the most pertinent information is always highlighted and optimized for LLM context windows.