Analysis updated 2026-05-18
Search a large codebase for where a function or piece of text is used.
Get an outline of a file's contents without opening it.
Give an AI coding assistant a consistent view of your project via MCP.
Trace how different parts of the code depend on each other before making a change.
| anvia-hq/lexa | run-llama/sandboxed-lit | johunsang/semble_rs | |
|---|---|---|---|
| Stars | 83 | 83 | 86 |
| Language | Rust | Rust | Rust |
| Setup difficulty | easy | moderate | easy |
| Complexity | 2/5 | 3/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Lexa is a command-line tool that analyzes a codebase and builds an internal graph representing how all the pieces connect. Once indexed, you can query that graph to search for text, look up specific functions or symbols, see an outline of a file's contents, or trace how different parts of the code depend on each other. The core idea is that both developers and AI coding assistants often need to understand a project's structure before making changes. Lexa provides a stable, shared view of the codebase so that any tool reading from it sees the same consistent picture rather than re-analyzing files independently. The tool runs entirely on your local machine, meaning no code is sent to external servers. It can be used from the command line directly, from within a code editor, or through a protocol called MCP (Model Context Protocol), which is how AI coding assistants can connect to it and use it as a source of information about your project. Installation is a single command for Mac and Linux, or a PowerShell one-liner for Windows. After that, running lexa index in your project folder processes the codebase, and the other commands let you query it. The README is brief and points to a separate documentation site for full details. The project is written in the Rust programming language and is licensed under the MIT open-source license.
A local tool that scans your codebase and builds a searchable graph of it, so both you and AI coding assistants can look up functions, files, and dependencies consistently.
Mainly Rust. The stack also includes Rust, MCP, CLI.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.