C
upstash/context7★ 65,830 · TypeScript
通过 MCP 和 CLI 为编码代理检索版本化文档
MIT · 允许商用@upstash/context7-mcp@4.9.3
同属「AI 编程 / Skills / MCP」赛道的横向对比:upstash/context7 在总 Star 规模(★ 65.8k)与近期 7 日涨星势头上均处于领先;协议方面分别为 MIT · 允许商用 与 Apache-2.0 · 允许商用。
通过 MCP 和 CLI 为编码代理检索版本化文档
基于 RepoForAI 每 6 小时独立快照,支持自动适配 GitHub 深浅色主题。
| 评估维度 | upstash/context7 | ybouane/melon |
|---|---|---|
| 总 Star 规模 | ★ 65,830 | ★ 87 |
| 24h / 7d 增速 | +39 / +333 | +11 / +87 |
| 7 日涨星曲线 | ||
| 工程健康评分 | A+ · 96/100 | A · 86/100 |
| 部署形态标签 | MCP · CLI · API | GitHub Source |
| 主要语言栈 | TypeScript | Swift |
| 商用协议评估 | MIT · 允许商用 | Apache-2.0 · 允许商用 |
| 维护活跃度 | 今天刚更新 | 今天刚更新 |
| 最新版本 | @upstash/context7-mcp@4.9.3 | v158.0.8127.36-0.9.41 |
| 典型适用场景 | 编码代理经常跨库查找特定版本的示例,且团队允许使用托管文档索引 | 使用 Apple silicon Mac,频繁切换本地与 SSH 项目,希望浏览器登录态、预览页、终端和 Claude 或 Codex 会话都随项目保留 |
resolve-library-id 结合库名和任务检索候选,query-docs 按准确的库 ID 查询文档。language 参数可优先排列目标语言的代码示例。ctx7 CLI、TypeScript SDK、Vercel AI SDK 工具和 pi.dev 扩展。npx ctx7 setup# 1. TypeScript: shared packages, the Core and the web tools (a minute or two) corepack enable && corepack prepare pnpm@9 --activate pnpm install pnpm build # 2. Engine: Chromium as Melon.framework (once, or when engine/ C++ changes; many hours, tens of GB) cd engine ./build/00-bootstrap.sh --install && ./build/10-sync.sh # dependencies, then fetch the Chromium source MELON_INTEGRATE=1 ./build/20-apply.sh && ./build/25-configure.sh ./build/30-build.sh && ./build/35-build-framework.sh # build Chromium, then link Melon.framework cd .. # 3. Assemble, sign and run ./tooling/build-app.sh # swift build + embed framework -> dist/Melon.app MELON_FORCE_ENGINE=1 dist/Melon.app/Contents/MacOS/Melon