
Koragraph
in.koragraph由 koragraph.in 發布v0.1.4更新於 Oct 24, 2026
Local multi-repo code graph over MCP. Blast radius, call graphs, and memory anchored to code.
概覽
在本機建立多儲存庫的程式碼圖譜與錨定程式碼的記憶,讓助理追蹤呼叫圖、影響範圍與過往修復。
- 可以做什麼
- Koragraph 會把你指定的每個儲存庫索引成一張本機圖譜,涵蓋服務、檔案、端點、資料表,以及它們之間真正解析出的呼叫關係,包括跨儲存庫的邊。它透過 MCP 與命令列提供九個工具:blast_radius、explore、search_code、neighbours、changes_with、file_symbols、overview、recall 和 remember。結果回傳 file:line 參照,而不是貼上原始碼,查詢支援格式與 token 預算選項。記憶層把事實錨定在宣告上,程式碼重新命名後事實跟著移動,程式碼刪除後事實退役。
- 適用情境
- 適合助理需要跨多個儲存庫工作時使用:編輯前查看某個檔案的影響範圍、查找呼叫者與被呼叫者、了解歷史上一起變更的內容,或回想過去的失敗及其修復。主要面向 Claude Code、Cursor、Windsurf 等編碼代理。
- 執行需求
- 以 stdio 本機程序方式執行,透過 npm 套件 koragraphmcp 安裝,需要 Node.js 與 npm。儲存庫需先用 ingest 指令建立索引,並在編輯器設定中註冊該 MCP 伺服器。未宣告任何帳號、API 金鑰或環境變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Koragraph,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
The ultimate context layer for your AI coding agent.
Completely free. Runs entirely on your machine.
A local knowledge graph of every repo you point it at, plus a memory layer that knows when the code it remembers has changed.
[npm] [License: BUSL-1.1] [Node.js >=22] [MCP compatible] [Website]
Install
koragraph doctor checks the whole chain and prints the exact line for any editor.
Two ways to use it from here: your agent calls the tools over MCP, or you (or a script, or a Claude
Code hook) run them straight from the shell, for example koragraph explore "how does checkout work"
or koragraph blast src/pay.js. Same graph either way.
Then run KORAINIT in your editor
This is the step that lights up the memory layer, so don't skip it. In your coding agent (Claude Code, Cursor, Windsurf, whatever you use), tell it:
"Read
KORAINIT.mdand follow it."
It imports your existing CLAUDE.md / AGENTS.md into koragraph's memory, anchored to the code
each rule is about, flags any rule that points at code that's already gone, and finishes wiring
koragraph into the session. Run it once per project.
Prefer zero setup? Hand the whole thing to your agent instead. Paste this from the repo you want indexed, and it installs, indexes, wires itself in, and runs KORAINIT for you:
Works with
[Claude Code] [Cursor] [GitHub Copilot] [Windsurf] [Zed] [Cline] [Continue] [OpenCode] [Codex] [Antigravity]
Adoption is highest on Claude Code: its hooks let koragraph put the graph in front of the agent on every turn, so it actually gets used instead of falling back to grep. Other editors reach koragraph over MCP, where the agent decides when to call it.
One map of everything you've built
Koragraph turns every repo you point it at into one live graph: a resolved structure, with an edge only where there really is one.
- Every service, file, endpoint, and table.
- The real calls between them, resolved against the syntax tree, not guessed by name.
- The edges that cross a repo boundary, where single-repo tools go quiet.
koragraph serve: code (cool nodes) and its memory (gold diamonds), one local page.
A memory that knows when the code changed
Everything your agent learns is saved locally, anchored to the exact declaration, not a line
number. Rename the code and the fact follows; delete it and the fact retires. No CLAUDE.md to
maintain, and it survives every upgrade.
- Failures and their fixes. The fix surfaces before you hit the same wall twice.
- Hazards, rules, corrections. Stated once, honoured every session after.
- The "let's push this to Wednesday." Deferrals and half-finished intent, parked against the code and surfaced the moment you're back.
Measurably the most accurate, scored by the compilers
Every graph is graded by an independent compiler front-end (CPython ast, go/parser, Roslyn,
syn, tsc, Ripper, php-ast, ctags, swiftc), never the tool under test. koragraph wins 34 of
39 language×plane cells, and leads precision on all 39.
Call-graph recall, the hardest plane:
Reproduces from test/benchmark: pinned corpus, pinned competitor versions,
pinned oracles. Full breakdown in test/benchmark/REPORT.md.
The tools
Nine tools, reachable two ways: as MCP tools in your editor, and as CLI commands in your
shell. On Claude Code a hook also calls the CLI to push the relevant slice into context on every
turn, so the graph gets used whether or not the agent thinks to ask. Every tool returns file:line,
never pasted source. Exactly one writes.
Every query verb takes --format compact|json|paths and --budget <tokens>, so a result can be
trimmed before it ever enters an agent's context. Plus the operational CLI: ingest, serve,
status, doctor, diff, trace, hooks, practice, report.
Languages
c · c++ · c# · go · java · javascript · php · python · ruby · rust · swift ·
typescript / tsx, fully resolved, tree-sitter throughout. Plus experimental kotlin · scala ·
elixir · solidity · vue · zig · objective-c · ocaml · rescript.
License
BUSL-1.1. Free to use, including at work. Converts to Apache-2.0 on the change date.
Built by Akhil Katakam · Ethan Faleiro · [email protected]
來源:README.md,提交 c9ce746
工具
0版本歷史
1- v0.1.4最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。