Ndxr is a local-first context engine designed to enhance the efficiency of AI coding agents, particularly those like Claude Code. It addresses the issue of agents wasting context windows on irrelevant files by structurally understanding a codebase—including functions, classes, imports, and call chains. Ndxr delivers only the code essential for the current task, precisely within a token budget, ensuring that AI agents receive highly relevant information without overflowing their context. This single-binary solution operates locally, guaranteeing that your code never leaves your machine and requires no cloud services or API keys.