# Koragraph [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/Koragraph/KoragraphMCP  
**GitHub Stars:** 16  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/koragraph

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

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/Koragraph/KoragraphMCP), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
npm install -g koragraphmcp
```

2. Configure:

```sh
koragraph ingest /path/to/repo        # point it at as many repos as you like
```

3. Add to Claude Code:

```sh
claude mcp add koragraph -s user -- koragraph mcp
```

## Documentation

## What Koragraph MCP server does

Koragraph MCP server indexes the repositories you select into a local knowledge graph. The graph represents declarations and relationships across code, including files, services, endpoints, and tables. It can resolve calls from syntax-tree information rather than relying only on matching names, and it can retain relationships that cross repository boundaries.

The system also includes local memory associated with code declarations. Saved facts can describe a past failure and its fix, a rule or hazard, or unfinished work. Because the memory is attached to the declaration it concerns, a rename can preserve the association while deleting the declaration retires the fact.

## How it works

Install the package globally with npm, ingest each repository, and expose the service with `koragraph mcp`. Agents call the resulting tools through MCP. The same operations are also available from the command line, so a script, developer, or Claude Code hook can query the graph without going through an agent tool call.

Koragraph MCP server returns file-and-line references rather than pasted source. Query commands accept `--format compact|json|paths` and `--budget <tokens>`, allowing callers to limit the representation or token amount before results enter an agent context. Claude Code can additionally use hooks to place a relevant graph slice into context on each turn.

The indexing implementation uses tree-sitter across the listed stable languages, with additional languages identified as experimental. The project documents benchmark results from independent compiler front ends, but those figures are repository claims rather than a behavior an integrator needs to configure.

## Setup and configuration

Install the npm package and ingest one or more local repositories:

```bash
npm install -g koragraphmcp
koragraph ingest /path/to/repo
claude mcp add koragraph -s user -- koragraph mcp
```

Run `koragraph doctor` to check the setup and print an editor-specific connection line. After installation, the project instructs users to find `KORAINIT.md` in the installed package and follow it once per project. That process imports existing `CLAUDE.md` or `AGENTS.md` guidance into memory, checks whether referenced code still exists, and completes the session wiring.

The operational commands also include `serve`, `status`, `diff`, `trace`, `hooks`, `practice`, and `report`.

## Tools and capabilities

The nine MCP tools are:

- `blast_radius`: identifies dependents across repositories and reports areas without test coverage before an edit.
- `explore`: ranks declarations for a symbol or phrase and includes source, callers, and callees.
- `search_code`: searches names in the graph rather than raw text.
- `neighbours`: lists callers and callees for a symbol.
- `changes_with`: reports symbols that have historically shipped together.
- `file_symbols`: lists declarations in a file.
- `overview`: provides cross-repository orientation.
- `recall`: retrieves an anchored failure, fix, hazard, or open loop.
- `remember`: saves a durable fact and is the only tool that writes.

Koragraph MCP server supports C, C++, C#, Go, Java, JavaScript, PHP, Python, Ruby, Rust, Swift, TypeScript, and TSX. Kotlin, Scala, Elixir, Solidity, Vue, Zig, Objective-C, OCaml, and ReScript are listed as experimental.

## Limitations and notes

The graph is local and depends on repositories being ingested before they can be queried. Memory is intended to be initialized through `KORAINIT.md`; skipping that step leaves the documented memory setup incomplete.

The package requires Node.js 22 or newer. The project is licensed under BUSL-1.1 and states that it converts to Apache-2.0 on the change date.

_Full upstream README: https://allmcps.com/mcp/koragraph/readme_

