Codehelper

io.github.VeyrForge由 GitHub 帳號 VeyrForge 發布v3.0.3更新於 Oct 24, 2026

Local-first code intelligence MCP: symbol graph, impact analysis, 60+ tools.

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

本地優先的程式碼智慧 MCP 伺服器,將 git 儲存庫索引成符號與呼叫圖,並提供 60 多個工具來搜尋、理解與安全修改程式碼。

可以做什麼
  • 搜尋符號圖,並取得原始碼及呼叫者與被呼叫者
  • 在修改程式碼前評估影響範圍與波及面
  • 在工作階段開始時取得工具目錄與索引新鮮度統計
  • 在本機索引儲存庫並透過監看常駐程式保持更新
  • 為 Cursor、Claude Code 與 Codex 寫入 MCP 設定與代理規則
適用情境
適合 AI 程式助理在本機 git 儲存庫中工作時使用,讓助理在本機依符號、呼叫者與影響範圍導覽,而不是整檔搜尋。也適合希望具備儲存庫感知能力、又不願把整個程式碼庫上傳到雲端模型的團隊。
執行需求
以本機程序在使用者機器上執行(僅桌面端),可從 Linux、macOS 與 Windows 的預先建置套件安裝。索引需要 git 儲存庫;從原始碼建置需要 Go 1.25+、CGO 與 C 編譯器。未宣告任何 API 金鑰或環境變數。僅語意重排與增強功能需要選用的本機模型服務。
安裝前請注意
建議的安裝方式會執行下載的 shell 或 PowerShell 指令碼,升級指令會從遠端儲存庫下載發行套件,請先核對這些來源。初始化會把 MCP 設定與代理規則寫入編輯器設定,並啟動背景監看常駐程式。選用的本機模型服務與 HTTP 傳輸模式會擴大本機執行的內容範圍。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Codehelper,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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]

[Glama]


Three reasons to use Codehelper

  1. Project-aware agents — Search symbols, callers, and blast radius locally instead of grepping whole files.
  2. Works offline — No API keys; your code stays on your machine.
  3. Fits your editor — MCP for Cursor, Claude Code, Codex; one codehelper init per repo.

Installation

Linux / macOS (recommended):

bash
curl -fsSL https://raw.githubusercontent.com/VeyrForge/codehelper/main/scripts/install.sh | sh

Windows (PowerShell):

powershell
powershell -ExecutionPolicy Bypass -File .\scripts\install.ps1

From source (requires Go 1.25+, CGO, and a C compiler):

bash
git clone https://github.com/VeyrForge/codehelper.git && cd codehelpernpm run build

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

bash
cd your-git-repocodehelper initcodehelper help tools --main

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:

text
$ codehelper initinit: ready — index + watch daemon active
$ codehelper statussymbols: 1247  edges: 3891  freshness: current
$ codehelper help tools --main  project_context  bootstrap tool catalog + index stats  query            search the symbol graph  context          source + callers + callees  impact           blast radius before you edit

Benchmark methodology (no invented competitor numbers): docs/BENCHMARK_COMPARISON.md.


Supported platforms

PlatformInstallNotes
Linuxscripts/install.shFull support; primary CI target
macOSscripts/install.shUniversal + per-arch release binaries
Windowsscripts/install.ps1x64 supported
ClientSetup
CursorPer-project .mcp.json via codehelper init
Claude CodeManaged block in ~/.claude.json
CodexReads generated AGENTS.md

How it works

LayerTechnology
Indexingtree-sitter parsers + SQLite symbol/call graph
SearchBM25 + trigrams + call-graph ranking (optional local semantic rerank — docs/LOCAL_EMBED.md)
MCP transportstdio (default) or HTTP (codehelper mcp --http :8765)
Optional local modelsGreen Engine embed/chat + Green Compress weights

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.

bash
# One recipe: prepare + paired + dated reportscripts/testbeds-all.shscripts/testbeds-all.sh fixture   # always-safe, no beds

Layout and prepare/eval usage: docs/TESTBEDS.md.


Documentation


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.zip is published only when both amd64 and arm64 builds succeed (historical *_windows_universal.zip assets 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
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v3.0.3最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。