SuperAPIAI Directory

bigindexer

github.com · AI coding

Hierarchical code intelligence: scans local source, clusters files by behavioral role, maps coupling seams and finds similar in-repo code for complex tasks.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose: BGI is a static architecture analysis tool for large codebases. It groups code units by their actual behavior (rather than only file import relationships) and outputs explicit architectural boundaries, which is used to determine where boundaries lie before refactoring, identify high-risk coupling seams, and provide AI coding assistants with in-repo behavioral pattern context.

Main capabilities: Group by behavioral role via COV tokens and DRS clustering; expose high-coupling seams and fusion boundary signals; output machine-readable artifacts bgi-graph.json and fuse-graph.json, as well as an optional human-readable bigindexer.md; provide the MCP tools task_fingerprint, behavioral_twins, and twin_context to anchor prompts to in-repo behavioral patterns; published in the MCP Registry (io.github.ahmedxuhri/bigindexer). The companion repository ahmedxuhri/bigindexer-pr-risk-bot can automatically comment on PRs with impact scope, seams, and risk warnings.

Usage: Available via the MCP Registry, and supports calling MCP tools in client prompts; the repository provides quick-start commands and a demo script scripts/mcp-demo.sh. Language support is tiered: query support (.scm) includes python, typescript, tsx, javascript, go, rust, java, csharp, php, ruby, kotlin, scala; Tree-sitter scanner plus rule paths include c, lua, elixir; other languages fall back to generic regex by file extension.

Applicable scenarios: Architectural boundary mapping for large repositories, boundary assessment before refactoring, coupling risk identification, integrating architectural data into automated pipelines, and providing in-repo behavioral context for AI code modifications.

Limitations: BGI is static analysis and does not ingest runtime traces; cross-file semantic parsing is heuristic and language-dependent; there are metrics for clustering scale health, but complete external precision/recall has not yet been published; shared-host benchmarks fluctuate, so decisions should use controlled medians. Telemetry is off by default; when enabled, it collects only the version, operating system, repository size bucket, and a 12-character hash of the git remote, and does not collect file paths, source code, repository names, user identities, or IPs. License is Apache License 2.0.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools