AI Data Storage Engine
Why I’m Against Claude Code’s Grep-Only Retrieval? It Just Burns Too Many Tokens

Why I’m Against Claude Code’s Grep-Only Retrieval? It Just Burns Too Many Tokens

8/25/2025 · Cheney Zhang

What this post added

Introduces Claude Context, an open-source MCP plugin that adds semantic code search capabilities to AI coding assistants. It details the system architecture, including the use of Zilliz Cloud (Milvus) as the vector database and support for various embedding models. Key technical challenges addressed include intelligent code chunking using AST-based parsing and LangChain's text splitter, and efficient handling of code changes through a Merkle Tree-based synchronization mechanism. The post highlights the benefits of this approach over grep-only methods, such as reduced token usage and improved search accuracy.

Read the original post ↗