Codebase Indexer
Indexes Python, TypeScript, JavaScript, C#, and C++ codebases into a hybrid semantic search system, exposing query capabilities through a Model Context Protocol (MCP) server for AI assistants.
The Codebase Indexer is a sophisticated local code intelligence engine designed to enhance AI assistant interaction with code. Unlike naive indexers that chunk code arbitrarily, it uses tree-sitter to parse Abstract Syntax Tree (AST) symbols, embedding them at three distinct granularities with `BAAI/bge-code-v1` and storing them in FAISS for vector search and SQLite for structural relationships. This structured approach, combined with a three-tier RRF-fused index and a Retrieve-Traverse-Rerank pipeline, enables precise semantic search, call-graph expansion, and intelligent architectural analysis, all accessible via 11 AI-facing MCP tools tailored for deep code intelligence.