Check a file's blast radius score before changing it to gauge how many other files depend on it
Build a symbol index so an AI coding assistant can look up a function's location in one step instead of scanning every file
Install a git pre-commit hook that warns or blocks commits touching high blast-radius files
Visualize the codebase's dependency graph as a force layout, 3D network, matrix, or treemap
| scheidydude/codeindex | alex-nlp/denoiserl | bytedance-seed/cola-dlm | |
|---|---|---|---|
| Stars | 35 | 35 | 35 |
| Language | Python | Python | Python |
| Setup difficulty | easy | hard | hard |
| Complexity | 2/5 | 5/5 | 4/5 |
| Audience | developer | researcher | researcher |
Figures from each repo's GitHub metadata at analysis time.
Single pip install with no external dependencies beyond the Python standard library.
Codeindex is a command-line tool that analyzes how the files in a code repository depend on each other, then uses that dependency map to calculate a "blast radius" score for each file. The blast radius score tells you how many other files would be affected if you changed a particular file. A file that many other parts of the codebase import from will have a high blast score, a file that nothing else depends on will have a low one. This is intended to help developers, and AI coding assistants, understand the risk of making a change before they make it. The tool works with over a dozen programming languages including Python, JavaScript, TypeScript, Go, Ruby, Rust, Java, PHP, and others. It also analyzes Docker service dependencies, GitHub Actions workflow step dependencies, and database schema foreign key relationships. Running the analysis writes a file called codeindex.json into the project, which records every file, what it imports, what imports it, its blast score, and its size in lines of code. A separate command builds a symbol index, which is a map from every function, class, and type name to the exact file and line where it is defined. The README notes that AI coding tools normally find a function by scanning every file in a project, which uses a lot of tokens. With a symbol index, the AI can do a single lookup instead. There is an option to append a compressed version of this symbol map into a CLAUDE.md file so that Claude Code loads it automatically at the start of every session. The tool can also install a git pre-commit hook that checks the blast score of any file you are about to commit and either warns or blocks the commit if the score is above a threshold you set. An optional visualization server renders the dependency graph in a browser as a 2D force layout, 3D network, dependency matrix, or treemap. For AI tool integration specifically, codeindex can run as an MCP server, which is a protocol that lets AI assistants like Claude call it as a tool directly during a conversation. The installation is a single pip command and the tool has no external dependencies beyond the Python standard library.
A command-line tool that maps file dependencies in a codebase and scores each file's 'blast radius' to show how risky a change would be.
Mainly Python. The stack also includes Python.
No license terms are stated in the explanation provided.
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.