# Kivgraph [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/Luqueee/kivgraph  
**GitHub Stars:** 24  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/kivgraph

## Description
Cross-repository semantic code intelligence for AI coding agents, from a local code graph.

## 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/Luqueee/kivgraph), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
curl -fsSL https://kivgraph.dev/install.sh | bash
```

2. Install:

```sh
irm https://kivgraph.dev/install.ps1 | iex
```

3. Install:

```sh
./scripts/install.sh
```

4. Install:

```sh
KIVGRAPH_VERSION=v0.9.10 ./scripts/install.sh
```

5. Install:

```sh
curl -fsSL \
  "https://github.com/Luqueee/kivgraph/releases/download/$release/install.sh" |
```

6. Install:

```sh
KIVGRAPH_VERSION="$release" bash
```

## Documentation

## What Kivgraph does

Kivgraph indexes registered repositories into a canonical semantic graph and serves queries from an immutable published snapshot. The graph records symbols, declarations, references, implementations, dependencies, repository relationships, and source locations. Results identify the repository, file path, qualified name, and line range, so an agent can open a result without first resolving an opaque identifier.

The project targets code navigation and impact analysis rather than discovery of every runtime interaction between services. It does not model all HTTP, gRPC, Kafka, or database flows automatically. For a rare name in a small repository, text search may require less setup and produce a cheaper answer.

## How it works

A corpus is indexed once, then queried through MCP over STDIO or through a local daemon. Relationship edges are resolved with language tooling, including `go/types`, the TypeScript checker, `rust-analyzer`, Pyright-based Python support, Dart Analysis Server, `scip-java`, and `scip-dotnet`. Python fallback analysis can publish candidate references, while exact Python analysis uses the bundled Pyright LSP adapter with an installed Pyright or BasedPyright server.

LadybugDB is used as the canonical storage layer, but queries are served from an atomically published HotSnapshot rather than directly from the database. The graph is therefore immutable while being queried. Python and Dart package dependencies can be associated with a registered provider when ownership is unambiguous; symbol-level cross-repository edges require an explicit provider identity.

## Setup and configuration

Install the latest published bundle on Linux or macOS with:

```bash
curl -fsSL https://kivgraph.dev/install.sh | bash
```

Windows uses PowerShell 5.1 or later:

```powershell
irm https://kivgraph.dev/install.ps1 | iex
```

The installers select a platform bundle and verify release and bundle checksums. Linux and macOS require Bash, Node.js 22 or later, `curl`, `tar`, and either `sha256sum` or `shasum`. Python indexing requires Python 3.10 or later. Rust indexing additionally requires `cargo`; Dart indexing requires a Dart or Flutter SDK. Supported published bundles target Linux amd64, macOS arm64, and Windows amd64. On Windows, the installer also installs the Visual C++ redistributable.

A checkout can run `scripts/install.sh` directly. The `KIVGRAPH_VERSION` environment variable selects a particular release during installation. The `kivgraph ui` command serves a read-only 3D graph viewer.

## Tools and capabilities

Thirteen read-only MCP tools cover:

- Finding symbols, references, implementations, and intent-based matches
- Calculating blast radius and tracing outward dependencies
- Finding consumers in other repositories
- Inspecting file outlines and retrieving symbol source
- Listing indexed repositories and checking graph freshness
- Monitoring asynchronous indexing progress

`index_project` and `start_index_project` are consent-gated mutations. They register repositories or publish a new graph generation only after the client authorizes the operation.

The supported language set includes Go, TypeScript, Rust, Python, Dart, Java, and C#. The graph can distinguish an empty reference result from a failed text search: an empty result represents no resolved callers or references in the indexed graph.

## Limitations and notes

Indexing has an upfront cost, especially for small files or one-off questions. The research benchmarks found substantial savings for some multi-repository and transitive queries, but did not establish reliable token savings across long, end-to-end agent conversations. The published graph is read-only between indexing generations, and semantic accuracy depends on the language-specific tooling and provider configuration used for the repository.

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

