Koragraph

Registre officiel Outils de développement

Local multi-repo code graph over MCP. Blast radius, call graphs, and memory anchored to code.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package koragraphmcp
Claude Code
claude mcp add koragraph -- npx -y koragraphmcp@0.1.4 mcp
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "koragraph": {
            "command": "npx",
            "args": [
                "-y",
                "koragraphmcp@0.1.4",
                "mcp"
            ]
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. The ultimate context layer for your AI coding agent.
  2. Install
  3. One map of everything you've built
  4. A memory that knows when the code changed
  5. Measurably the most accurate, scored by the compilers
  6. The tools
  7. Languages
  8. License

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.

Install

npm install -g koragraphmcp
koragraph ingest /path/to/repo        # point it at as many repos as you like
claude mcp add koragraph -s user -- koragraph mcp

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.md and 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:

Install koragraph and set it up for this repo, then report back:
1. npm install -g koragraphmcp
2. koragraph ingest .
3. koragraph doctor, then run the `claude mcp add …` line it prints (or wire `koragraph mcp` into
   my editor's MCP config).
4. Find KORAINIT.md in the installed package (`npm root -g`, then koragraphmcp/KORAINIT.md) and
   follow it: it imports my existing CLAUDE.md / AGENTS.md into memory, verified against the code.
Report: nodes/edges indexed, whether the MCP connected, and KORAINIT's summary.

Works with

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:

LanguagekoragraphCodeGraphGitNexusGraphify
JavaScript87.639.441.945.1
TypeScript70.655.250.244.2
Python86.185.154.653.3
Go89.185.063.865.3
Java86.073.168.653.5
C#83.679.850.554.4
PHP88.988.077.131.7
Ruby51.541.328.740.8
Rust68.776.548.947.6

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.

ToolShellWhat it's for
blast_radiuskoragraph blast <files…>Run before editing. Everything that depends on this, across repos, and what has no test coverage.
explorekoragraph explore "<symbol or phrase>"Ranked declarations, source, callers, callees, in one call.
search_codekoragraph search <name>Find a name in the graph, not raw text.
neighbourskoragraph neighbours <symbol>Callers and callees of one symbol.
changes_withkoragraph cochange <symbol>What has historically shipped together with a symbol.
file_symbolskoragraph symbols <file>Declarations in one file.
overviewkoragraph overviewOrient on turn one, across every repo.
recallkoragraph recall <symbol>A past failure and its fix, a hazard, an open loop.
rememberkoragraph remember "<fact>"Save a durable, code-anchored fact. The only writer.

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 · founders@koragraph.in

Questions fréquentes

Qu'est-ce que Koragraph ?

Local multi-repo code graph over MCP. Blast radius, call graphs, and memory anchored to code.

Comment installer Koragraph ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add koragraph -- npx -y koragraphmcp@0.1.4 mcp. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour Koragraph ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

Koragraph est-il open source ?

Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.

Qui maintient Koragraph ?

Il est publié par Koragraph. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.