Claude Code 用户常因上下文窗口爆炸而头疼,Weaviate 内置 MCP 服务器让代码搜索更精准,做 AI 编程的团队可以直接集成,省 token 又省心。
一位开发者让 Claude Code 在仓库中实现一个简单功能,结果三回合就消耗了 80K tokens,因为代理难以定位代码中正确的逻辑部分。Weaviate v1.37.1 版本在数据库中内置了 MCP 服务器,支持 Claude Code、Cursor 或 VS Code 直接连接。该服务器允许代理将代码库等材料摄入 Weaviate,并在需要时进行混合搜索,精准处理混合意图的代码查询。MCP 服务器与 REST API 共用同一端口,无需额外进程或外部工具,大幅降低了上下文窗口浪费的问题。
I asked Claude Code to implement something trivial in my repo. Three turns later, we'd burned 80K to...
I asked Claude Code to implement something trivial in my repo. Three turns later, we'd burned 80K tokens because the agent had a hard time finding the right part of the codebase that contained the logic it needed. Weaviate v1.37.1 ships an MCP server built into the database. Point Claude Code, Cursor, or VS Code at `/v1/mcp` and your agent can ingest your codebase and other materials into Weaviate and perform hybrid search when needed. 🔍 Hybrid search nails mixed-intent code queries: "Where do we handle retry on 429?" — BM25 anchors on 429 as an exact token, vectors find the semantically related retry code. 🧩 The MCP server lives inside the database, on the same port as the REST API. No separate process to monitor or external tooling needed. weaviate.io/blog/coding-as… hQG What's the worst context-window failure you've shipped to a coding agent #MCP M #RAG R #VectorSearch r #DeveloperTools ols 💬 0 🔄 3 ❤️ 4 👀 270 📊 2 ⚡