Kivgraph logo

Kivgraph

Builds a local semantic graph across repositories for symbol navigation, dependency tracing, and change-impact analysis.

Install Kivgraph

Run the project’s own setup commands, in order.

Setup steps from the project

Kivgraph installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    curl -fsSL https://kivgraph.dev/install.sh | bash
    
  2. 2. Install
    irm https://kivgraph.dev/install.ps1 | iex
    
  3. 3. Install
    ./scripts/install.sh
    
  4. 4. Install
    KIVGRAPH_VERSION=v0.9.10 ./scripts/install.sh
    
  5. 5. Install
    curl -fsSL \
      "https://github.com/Luqueee/kivgraph/releases/download/$release/install.sh" |
    
  6. 6. Install
    KIVGRAPH_VERSION="$release" bash
    

Overview

Kivgraph builds an immutable semantic code graph from multiple local repositories and exposes it to AI coding agents through MCP. Its read-only tools locate symbols, callers, implementations, dependencies, cross-repository consumers, source code, and likely change impact using compiler and language-server analysis rather than name matching. Use it when repository relationships or transitive impact matter more than simple text search; indexing is an explicit prerequisite, and repository registration and publication require client consent. A local 3D viewer is also available through `kivgraph ui`.

Use cases

  • Trace callers before changing a shared symbol
  • Find implementations across a repository set
  • Assess transitive change impact
  • Locate consumers in another repository
  • Navigate unfamiliar code by intent

Key features

  • Cross-repository semantic code graph
  • Compiler- and language-server-resolved relationships
  • Read-only MCP navigation and impact tools
  • Consent-gated repository indexing
  • Immutable published graph snapshots
  • Read-only 3D graph viewer

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/15 checks healthy over the last 85d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars24Stargazers on the source repository.
Last commit2d agoMost recent push to the default branch.

How Kivgraph works

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:

Terminal
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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Kivgraph

Kivgraph is an MCP server that connects AI coding agents to a local semantic graph built from registered repositories. Its main tools find symbols, references, implementations, dependencies, cross-repository consumers, source code, file outlines, graph status, and change impact, with consent-gated tools for indexing projects and publishing graph generations.

Install it with the platform-specific installer: run `curl -fsSL https://kivgraph.dev/install.sh | bash` on Linux or macOS, or `irm https://kivgraph.dev/install.ps1 | iex` in Windows PowerShell. The bundles target Linux amd64, macOS arm64, and Windows amd64.

Kivgraph supports Go, TypeScript, Rust, Python, Dart, Java, and C#. Python and Dart use language-specific analysis paths, while Java uses `scip-java` and C# uses `scip-dotnet`.

Yes, Kivgraph can find consumers in other registered repositories and trace cross-repository relationships. Python and Dart package dependencies require an unambiguous registered provider, while symbol-level cross-repository edges require an explicit provider identity.

Yes, Kivgraph is exposed through the standard MCP interface over STDIO or a local daemon, so it can be used from Cursor when configured as an MCP server.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewKivgraph AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/kivgraph?style=directory)](https://allmcps.com/mcp/kivgraph)
HTML Embed
<a href="https://allmcps.com/mcp/kivgraph"><img src="https://allmcps.com/api/badge/kivgraph?style=directory" alt="Kivgraph on AllMCPs" /></a>