RepoTracer
Optimize OpenAI Codex usage by offloading repository search to a cheaper model via the Model Context Protocol (MCP), enabling Codex to focus on code generation.
RepoTracer is an intelligent intermediary designed to significantly extend the lifespan of your OpenAI Codex subscription. It works by intercepting repository search requests from Codex and delegating them to a more cost-effective model, Luna, through a native Model Context Protocol (MCP) server. This strategic offloading ensures that your valuable Codex quota is primarily spent on writing code, rather than inefficiently searching files. By validating all returned paths and line ranges and intelligently routing search decisions, RepoTracer guarantees accuracy, prevents hallucinations, and delivers substantial cost savings—up to 2.7x longer subscription life—without compromising code quality or introducing overhead.