refs
Find cross-references — incoming and outgoing edges
How to use it
refs is exposed by the Codexlens Search MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the refs 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.
Full re-index from scratch
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.