claude-context
12,687
Stars
939
Forks
54
Watchers
147
Open Issues
MIT
许可证
TypeScript
语言
2025-06-06
创建时间
2026-07-14
最近更新
项目能做什么
面向 Claude Code 的代码搜索 MCP 工具,可将整个代码库作为编程 Agent 的上下文。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
 > 🆕 **Looking for persistent memory for Claude Code?** Check out [memsearch Claude Code plugin](https://github.com/zilliztech/memsearch#for-claude-code-users) — a markdown-first memory system that gives your AI agent long-term memory across sessions. ### Your entire codebase as Claude's context [](https://opensource.org/licenses/MIT) [](https://nodejs.org/) [](docs/) [](https://marketplace.visualstudio.com/items?itemName=zilliz.semanticcodesearch) [](https://www.npmjs.com/package/@zilliz/claude-context-core) [](https://www.npmjs.com/package/@zilliz/claude-context-mcp) [](https://twitter.com/zilliz_universe) [](https://deepwiki.com/zilliztech/claude-context) <a href="https://discord.gg/mKc3R95yE5"><img height="20" src="https://img.shields.io/badge/Discord-%235865F2.svg?style=for-the-badge&logo=discord&logoColor=white" alt="discord" /></a> <a href="https://trendshift.io/repositories/15064"><img src="https://trendshift.io/api/badge/repositories/15064" alt="zilliztech/claude-context | Trendshift" width="250" height="55" /></a> </div> **Claude Context** is an MCP plugin that adds semantic code search to Claude Code and other AI coding agents, giving them deep context from your entire codebase. 🧠 **Your Entire Codebase as Context**: Claude Context uses semantic search to find all relevant code from millions of lines. No multi-round discovery needed. It brings results straight into the Claude's context. 💰 **Cost-Effective for Large Codebases**: Instead of loading entire directories into Claude for every request, which can be very expensive, Claude Context efficiently stores your codebase in a vector database and only uses related code in context to keep your costs manageable. --- ## 🚀 Demo  Model Context Protocol (MCP) allows you to integrate Claude Context with your favorite AI coding assistants, e.g. Claude Code. ## Quick Start ### Prerequisites <details> <summary>Get a free vector database on Zilliz Clou阅读完整原文
商业机会分析 AI 生成
CodeContext Hub:团队级代码索引托管与 MCP 网关
| 产品构想 | 构建托管式 MCP 服务,自动化接入 GitHub/GitLab 仓库,在云端增量构建 Merkle-tree 与向量索引,为团队成员的 Claude Code/Cursor 提供低延迟、统一缓存的代码语义检索端点。 |
| 核心功能 | Webhook 增量索引更新、多仓库/分支索引聚合、团队成员 API Key 统一配额管理、本地 Claude Code 零配置连接。 |
| 目标用户 | 采用 AI Agent 研发流程的中小技术团队、分布式开源协作组织。 |
| 难度/周期 | 中等 · 3 - 5 周 · 成本:轻量云服务器、对象存储及向量数据库实例(初始约 $30 - $80/月) |
| 收费模式 | SaaS 订阅制(按代码库容量、团队席位梯度收费)。 |
| 竞争风险 | 代码上传云端的安全合规顾虑;大代码库高频更新带来的 Embedding API 成本失控。 |
| 依据 | AI推测 |
ContextBox:本地优先的 MCP 代码索引 GUI 管理工具
| 产品构想 | 开发一个轻量级跨平台桌面工具,整合 claude-context 与本地模型(如 Ollama/本地向量引擎),一键为 Claude Code、Cursor、Gemini CLI 等配置代码语义搜索,全程断网可运行。 |
| 核心功能 | 可视化的本地代码库索引进度看板、嵌入模型一键切换(Ollama/OpenAI/Voyage)、多 Agent 工具链自动配置导出、索引空间占用清理。 |
| 目标用户 | 对代码隐私极其敏感的独立开发者、内网研发环境工程师。 |
| 难度/周期 | 低至中等 · 2 - 3 周 · 成本:代码签名证书与打包分发成本(初始约 $100/年) |
| 收费模式 | 买断制 License 或高级功能授权(如多工程联动、高级 AST 语义过滤)。 |
| 竞争风险 | 本地计算资源占用高导致体验下降;目标用户极客偏好命令行,付费意愿可能偏低。 |
| 依据 | 尚需验证的假设 |
AgentAudit:基于代码语义检索的企业级架构与依赖合规 Agent
| 产品构想 | 在 claude-context 语义检索基础上增加架构边界检查、硬编码敏感信息扫描和过时 API 预警,作为 Claude Code 在提交代码或生成代码前的合规哨兵 MCP。 |
| 核心功能 | 基于自然语言的架构规范定义(如'Controller 不得直接调用 DAO')、语义化代码异味检索、自动生成合规修补 Prompt 并交由 Claude 修正。 |
| 目标用户 | 外包研发团队主管、注重代码工程规范的中大型项目 Tech Lead。 |
| 难度/周期 | 高 · 6 - 8 周 · 成本:LLM API 测试调用与 CI/CD 接入环境(初始约 $50/月) |
| 收费模式 | 按仓库/项目数月度订阅,或按调用审计次数充值计费。 |
| 竞争风险 | 误报率可能较高导致开发者关闭插件;与 SonarQube 等传统静态分析工具形成认知竞争。 |
| 依据 | AI推测 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| morluto/rea | 中文介绍暂未生成 Reverse engineer anything with agents, from app behavior dow |
449,609 | TypeScript |
| mattpocock/skills | 中文介绍暂未生成 Skills for Real Engineers. Straight from my .agents director |
320,757 | Shell |
| obra/superpowers | 中文介绍暂未生成 An agentic skills framework & software development methodolo |
315,668 | Shell |
| affaan-m/ECC | 中文介绍暂未生成 The agent harness performance optimization system. Skills, i |
300,709 | JavaScript |
| NousResearch/hermes-agent | 中文介绍暂未生成 The agent that grows with you |
262,411 | Python |
| anomalyco/opencode | 中文介绍暂未生成 The open source coding agent. |
225,874 | TypeScript |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建于 2025-06-06,最近推送 2026-07-14 |
| 社区活跃 | Star 12,687 / Fork 939 / Issue 147(数据支持,可自行核实) |
| 许可证 | MIT |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
快速开始(以仓库 README 为准)
git clone https://github.com/zilliztech/claude-context.git cd claude-context # 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。