rebuild
Full re-index from scratch
How to use it
rebuild is exposed by the Codexlens Search MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the rebuild tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Codexlens Search
pip install codexlens-search[all]Other tools in Codexlens Search (8)
Glob-based file discovery. Parameters: projectpath, pattern (default /)
Build, update, or inspect the search index.
LLM-enhanced code localization — finds files relevant to a bug fix or feature request.
Find cross-references — incoming and outgoing edges
Ripgrep regex on live files
Index statistics (files, chunks, symbols, refs)
Find definitions by exact/fuzzy name match
Manage file watcher for automatic re-indexing on file changes.