Preview release · Runs locally · No LLM · Apache 2.0

Trace any route, call or table across your stack.

Frontend calls behind a route, its handler, the tables it may read or write, and what a change reaches.

DownloadRead the docs

The API section of Graphvein on seerr: the route POST /api/v1/request is selected with its tabs in view, and the code peek of its caller CollectionRequestModal highlights axios.post('/api/v1/request', ...), labelled 'Exact path match · 0.9'; the summary shows 78% of client calls linked with the unmatched, dynamic and ambiguous counts. The API section of Graphvein on seerr: the route POST /api/v1/request is selected with its tabs in view, and the code peek of its caller CollectionRequestModal highlights axios.post('/api/v1/request', ...), labelled 'Exact path match · 0.9'; the summary shows 78% of client calls linked with the unmatched, dynamic and ambiguous counts.
seerr: a route, the frontend call behind it, and the exact line.

Measured on real repositories

93.0%–93.5%

of client calls linked in application code (langflow, seerr)

How we measured →

53 → 62

Claude Code answers right, without vs with the MCP server

Correct runs out of 63

How we measured →

What it reads

  • TypeScript / JavaScriptExpress, Next.js, Angular and its HttpClient, fetch, axios, hey-api and Orval generated clients, the Supabase JS client, Prisma, Drizzle, Sequelize, TypeORM
  • PythonFastAPI, SQLModel
  • Gonet/http, chi, gin, GORM
  • RustAxum, Tauri commands, Diesel
  • SQLmigrations, judged under Postgres rules
  • Java, C#, Dartstructure only, Best effort

Structure is Precise in Go, Python, Rust and TypeScript/JavaScript; calls are Best effort in every language. Full status →

What it does

Every view links down to the exact line.

API

List every route found and the calls matched to it.

Docs →

The API summary on owncast: 273 routes; of the client calls, 22 linked, 2 unmatched, 10 dynamic, 21 behind a wrapper, and 254 routes with no linked caller in production; split by source root, 0% linked at the repository root and 61% under web. The API summary on owncast: 273 routes; of the client calls, 22 linked, 2 unmatched, 10 dynamic, 21 behind a wrapper, and 254 routes with no linked caller in production; split by source root, 0% linked at the repository root and 61% under web.
On a messy repository, every call it couldn't link is counted by reason.

Flow

Draw a route’s callers, its handler and the tables it may read or write.

Docs →

The Flow tab of POST /api/articles/{slug}/favorite in a Rust axum backend: the handler favorite_article calls article_by_id, which reads the tables article, user and follow and reads and writes article_favorite, each edge labelled 1.0; a note says the route has no stored callers in this repository. The Flow tab of POST /api/articles/{slug}/favorite in a Rust axum backend: the handler favorite_article calls article_by_id, which reads the tables article, user and follow and reads and writes article_favorite, each edge labelled 1.0; a note says the route has no stored callers in this repository.
From handler to the tables it reads and writes, one hop at a time.

Changes

See what a change reaches across the stack.

Docs →

The Changes section on langflow after a demo one-line edit to the function get_messages: the Impact tab at depth 5 lists the route it handles as a fact, its OpenAPI operation and two frontend calls, each 'may depend on' and inferred 0.9. The Changes section on langflow after a demo one-line edit to the function get_messages: the Impact tab at depth 5 lists the route it handles as a fact, its OpenAPI operation and two frontend calls, each 'may depend on' and inferred 0.9.
A demo one-line edit, and everything it may reach across the stack.

Architecture

Map the components and the links between them.

Docs →

The Architecture map of a project: the React repository calls the realworld-axum-sqlx server over 27 HTTP links; the selected link shows the protocol as proven, the router's layer stack exactly as written in the source (a ServiceBuilder with its layers, not claimed to be authentication) and TLS as unknown. The Architecture map of a project: the React repository calls the realworld-axum-sqlx server over 27 HTTP links; the selected link shows the protocol as proven, the router's layer stack exactly as written in the source (a ServiceBuilder with its layers, not claimed to be authentication) and TLS as unknown.
Each link says what's proven, what's as written, and what's unknown.

Schema

Read tables from SQL migrations and ORM models, with their assumptions.

Docs →

The Schema section on a sqlx migration set: the table article, Complete and Precise, with its primary and unique keys, related tables, and typed columns with their keys and an on-delete-cascade foreign key to user. The Schema section on a sqlx migration set: the table article, Complete and Precise, with its primary and unique keys, related tables, and typed columns with their keys and an on-delete-cascade foreign key to user.
Tables, keys and cascades, read straight from the migrations.

Explorer

Generate OpenAPI docs with a guarded Try it out.

Docs →

The Explorer on an axum backend: PUT /api/user with its handler update_user as a fact, and the Try it out panel open with no environment configured, so nothing is sent. The Explorer on an axum backend: PUT /api/user with its handler update_user as a fact, and the Try it out panel open with no environment configured, so nothing is sent.
Try it out, guarded: no environment, no request.

Project

Link calls in one repository to routes in another.

Docs →

A project of two repositories: the Rust route POST /api/articles/{slug}/favorite has no caller inside its own repository and three callers in the React repository, each inferred 0.7 with the assumption it rests on. A project of two repositories: the Rust route POST /api/articles/{slug}/favorite has no caller inside its own repository and three callers in the React repository, each inferred 0.7 with the assumption it rests on.
Callers from another repository, each with the assumption it rests on.

Couldn’t read

List the routes, calls and files it could not read or resolve.

Docs →

What Graphvein couldn't read on langflow: 1 route without a full path, 422 client calls not resolved and 40 routes with parts of their shape not read, each with its breakdown. What Graphvein couldn't read on langflow: 1 route without a full path, 422 client calls not resolved and 40 routes with parts of their shape not read, each with its breakdown.
What it couldn't read, counted up front instead of guessed.

MCP server

Serve the same facts to coding agents, read-only.

Docs →

Precision labels

Label each area Precise or Best effort, with the reason.

Docs →

Jump to

Find any route, table, symbol or file by name.

Docs →

Quick start

Download the archive for your system from the latest release and check it. Or install with Go, without the download warnings:

go install github.com/graphvein/graphvein/cmd/graphvein@latest

Or build from source with Go 1.27.4 (an installed Go 1.21 or newer downloads it) and Bash (Git Bash on Windows).

git clone https://github.com/graphvein/graphvein
cd graphvein
bash scripts/build.sh   # bin/graphvein, or bin/graphvein.exe on Windows

With graphvein on your PATH, from the repository you want to read:

graphvein index
graphvein serve .   # web UI at http://127.0.0.1:7420/

Building and testing need only Go; Node is needed only to change the web UI.

$ graphvein changes impact 'function:backend/app/api/routes/items.py#create_item' --depth 5
Base: run PQRDUCNHJOH2ZLQBX5JLXO66HI commit 1762adac607a1b29cfc4da129557780beea71616 graphvein/extractors-62
Head: current ELSDMD3HLYE775ADAR3CBRAJQB commit 1762adac607a1b29cfc4da129557780beea71616 graphvein/extractors-62
routes: 0 items, 6 moves, 2 other changes
code: 1 items, 4 moves, 2 other changes
files: 1 items, 0 moves, 0 other changes
other: 0 items, 6 moves, 0 other changes
architecture: not extracted yet
Impact of function:backend/app/api/routes/items.py#create_item (depth 5)
  1 I4 route:backend/app/api/routes/items.py#POST%20%2F depends on: handled by the changed code, fact confidence=1.0
  2 I3 client_call:frontend/src/client/sdk.gen.ts#ItemsService.createItem.POST%20%27%2Fapi%2Fv1%2Fitems%2F%27 may depend on: calls this route, inferred confidence=0.9
  3 I2 method:frontend/src/client/sdk.gen.ts#ItemsService.createItem may depend on: makes the changed call, inferred confidence=0.9
  4 I1 function:frontend/src/components/Items/AddItem.tsx#AddItem may depend on: calls the changed code, inferred confidence=0.9
  5 I14 function:frontend/src/routes/_layout/items.tsx#Items may depend on: renders this, inferred confidence=0.9
  Unknowns: 0 blind spots, 0 near misses, 0 nodes in gap files
  I11: not extracted yet
  Caps reached: depth

Real output of the current build on the full-stack FastAPI template, after a demo one-line edit to the create_item handler: what the change reaches.

Status

Preview release (v0.1.0); contributions welcome. Index and serve one repository or several, in a local web UI and over MCP. Full status and measured evidence →

How Graphvein decides

How Graphvein decides →

How it is verified

How it is verified →