
Codehelper
io.github.VeyrForge由 GitHub 账号 VeyrForge 发布v3.0.3更新于 Oct 24, 2026
Local-first code intelligence MCP: symbol graph, impact analysis, 60+ tools.
概览
本地优先的代码智能 MCP 服务器,将 git 仓库索引为符号与调用图,并提供 60 多个工具用于搜索、理解和安全修改代码。
- 可以做什么
- 搜索符号图,并获取源码及调用者与被调用者
- 在修改代码前评估影响范围和波及面
- 在会话开始时获取工具目录与索引新鲜度统计
- 在本地索引仓库并通过监听守护进程保持更新
- 为 Cursor、Claude Code 和 Codex 写入 MCP 配置与代理规则
- 适用场景
- 适合 AI 编程助手在本地 git 仓库中工作时使用,让助手在本地按符号、调用者和影响范围导航,而不是整文件搜索。也适合希望获得仓库感知能力、又不愿把整个代码库上传到云端模型的团队。
- 运行要求
- 作为本地进程在用户机器上运行(仅桌面端),可从 Linux、macOS 和 Windows 的预构建包安装。索引需要 git 仓库;从源码构建需要 Go 1.25+、CGO 和 C 编译器。未声明任何 API 密钥或环境变量。仅语义重排和增强功能需要可选的本地模型服务。
安装
在 SourceWeft 中
- 打开 控制台中的 Codehelper,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Codehelper
Local-first repo intelligence for AI coding assistants.
Codehelper indexes git repositories on your machine, builds a symbol and call graph, and exposes 60+ MCP tools so Cursor, Claude Code, Codex, and other MCP clients can search, understand, and safely change your code — without uploading the whole repo to a cloud model.
[Version] [Go] [MCP] [MCP Registry] [License: BUSL-1.1] [Platform] [Glama score]
Three reasons to use Codehelper
- Project-aware agents — Search symbols, callers, and blast radius locally instead of grepping whole files.
- Works offline — No API keys; your code stays on your machine.
- Fits your editor — MCP for Cursor, Claude Code, Codex; one
codehelper initper repo.
Installation
Linux / macOS (recommended):
Windows (PowerShell):
From source (requires Go 1.25+, CGO, and a C compiler):
Prebuilt 3.0.3 bundles (Linux, macOS, Windows) include codehelper, MCP server, ge 1.1.1, and greencompress 1.1.1 on GitHub Releases.
Updates: codehelper upgrade downloads the latest release from VeyrForge/codehelper by default. Override the upgrade source with --repo owner/name or CODEHELPER_UPGRADE_REPO. codehelper update rebuilds from a local git checkout and works from any directory (remembers the source path, or use CODEHELPER_SOURCE / update /path/to/codehelper).
30-second example
Reload Cursor or Claude Code after the first init, then call project_context once per session so the agent knows which tools exist and how fresh the index is.
See it work
No bundled demo video yet — here is a typical first session:
Benchmark methodology (no invented competitor numbers): docs/BENCHMARK_COMPARISON.md.
Supported platforms
How it works
init indexes the repo, starts the watch daemon, wires MCP for your editor, and writes agent rules. Optional local dashboard: ge ui serve → http://127.0.0.1:8780
Full tool reference: docs/MCP_TOOLS.md
Benchmarks
See docs/BENCHMARK_COMPARISON.md for competitor-comparison methodology (arms, metrics, bed tiers — no invented competitor numbers). Fill measured cells from reproducible local harness runs only.
Caveats: many published tables are self-repo (this tree) or methodology-lite paired locate probes (MCP vs host file walk). Those are not end-to-end coding-assistant issue-fix rates. Prefer multi-bed hold-outs (CODEHELPER_TESTBEDS) and fill competitor cells only from local re-runs.
Layout and prepare/eval usage: docs/TESTBEDS.md.
Documentation
- docs/MCP_TOOLS.md — MCP tool reference
- docs/BENCHMARK_COMPARISON.md — benchmark methodology + harness (no fake competitor numbers)
- CHANGELOG.md — version history
- third_party/README.md — bundled Green stack binaries
Limitations
- Requires a git repository for indexing.
- CGO and a C compiler are required to build from source (tree-sitter).
- Semantic rerank: optional tiny local embed path (
bash scripts/install-local-embed.sh/codehelper green init-embed) — see docs/LOCAL_EMBED.md. Enrichment needs optional local model services (Green Engine). - Windows arm64 CI is experimental/non-blocking (
windows-11-arm). Releases always ship Windows amd64; a*_windows_universal.zipis published only when both amd64 and arm64 builds succeed (historical*_windows_universal.zipassets through v3.0.2 were amd64-sized and should not be treated as true universal).
Contributing
Bug reports, benchmark results, compatibility notes, and suggested improvements are welcome on the official VeyrForge/codehelper repository.
Pull requests improving Codehelper are welcome. By contributing, you agree to the Contributor License Agreement. You may also keep private/internal forks for your own deployment under the BUSL-1.1 Additional Use Grant. Do not offer Codehelper (or a substantially similar substitute) to third parties as a hosted or competing product. See License and permitted use and LICENSE-FAQ.md.
Public release history
See CHANGELOG.md and GitHub Releases.
License and permitted use
Codehelper is source-available under the Business Source License 1.1 (BUSL-1.1). It is not OSI open source until the Change License applies.
You may:
- Use and run Codehelper (including in production) for personal use or internal business purposes (including employees and contractors acting on your behalf)
- Copy, modify, and create derivative works for those same purposes — without having to contribute changes back
- Use Codehelper to develop, test, maintain, review, or operate software for yourself or your customers (without offering Codehelper itself as a product or service)
- Study the published source
You may not (until the Change License applies):
- Offer Codehelper or a modified version to third parties as a hosted, managed, embedded, or distributed product or service whose primary purpose is to provide functionality substantially similar to Codehelper as a substitute
- Sell a renamed fork or embed Codehelper as the main feature of another paid product without a commercial license
Change Date: 2029-07-24 — on that date, or the fourth anniversary of the first public BSL distribution of this version (whichever is earlier), this version becomes available under Apache License 2.0.
Tutorials and blog posts may include short illustrative snippets from the published source for explanation, provided they do not redistribute the software as a competing product or imply an OSI open-source grant before the Change Date.
For commercial redistribution, OEM licensing, or other usage not covered above, contact [email protected].
This section is a plain-language summary. The binding terms are in LICENSE. Interpretive Q&A: LICENSE-FAQ.md. See also CLA.md, SECURITY.md, docs/PERMISSIONS.md, and docs/ROADMAP.md.
来源:README.md,提交 d8b774b
工具
0版本历史
1- v3.0.3最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。