Xgrep
Provides an ultra-fast indexed code search engine with an integrated MCP server for AI agents.
Xgrep is an ultra-fast indexed code search engine engineered for efficiency, outperforming ripgrep on repeated searches and offering a lighter footprint than zoekt. It builds a trigram inverted index to deliver search results in milliseconds, making it ideal for large codebases and frequent queries by both humans and AI agents. A standout feature is its built-in Model Context Protocol (MCP) server, enabling seamless integration with AI coding tools like Claude Code and Cursor, providing them with rapid, context-aware code access. Additionally, Xgrep doubles as a high-speed file discovery tool, proving significantly faster than alternatives like fd and find.