Stria is a high-performance, zero-config codebase indexer designed to empower LLM agents with rapid and accurate code understanding. It bypasses traditional parsers and grammar files by reading source code as raw text, splitting on delimiters, and building an inverted phrase-to-file index in seconds. This unique approach allows it to work with any language, including those without established parsers. Stria provides a suite of specialized MCP tools for agents, facilitating tasks like finding relevant files, assessing refactoring impact, tracing call chains, and identifying hidden dependencies, all with sub-millisecond query times and JSON outputs for direct agent consumption.
主な機能
01Zero-config, grammar-free codebase indexing for any language
02Dedicated MCP server with tools for code search, dependency analysis, and risk assessment
03Lightweight binary (4.7MB) and efficient index storage (SQLite)
040 GitHub stars
05Sub-millisecond query responses and rapid incremental builds (~0.16s for small repos)
06Automated agent onboarding and global tool entry setup
ユースケース
01Quickly locating relevant files, tests, and associated risks for code modifications
02Analyzing code dependencies and potential impact before refactoring functions or types
03Equipping LLM agents with fast and accurate codebase context for development tasks