Building a codebase indexing mcp for claude code seems interesting. It would work like this:
1. MCP tools: `codebase_search`
2. Config: Qdrant (for vector DB), path to codebase
3. When `codebase_search` is called, it will run claude code again internally to search the codebase code snippets and get summaries (so we can save window context tokens rather than blindly returning many search results to the main claude code session)
4. When done, the mcp will give results with a more meaningful message to the main session
Let me know if you have any information about whether this workflow already exists or not