Graph-native code intelligence

The code graph that
lives next to git.

Not grep. Not vector RAG. Travsr builds a live, deterministic graph of your codebase on every commit and exposes it via MCP so AI agents traverse real structure instead of guessing from text.

npm install -g @travsr.com/travsr

What makes Travsr different

Deterministic graph

Tree-sitter and LSIF produce an exact call graph, type graph, and import graph. No embeddings, no regex guesswork, no approximations.

Always fresh

A git post-commit hook reindexes changed files on every commit, so the graph aims to stay in step with your code.

MCP native

Seventeen query tools over stdio or SSE, twenty-six in single-repo mode. Works with Claude, Copilot, any agent that speaks Model Context Protocol.

Zero-config wiring

travsr init detects the AI coding tools you have installed, Claude Code, Cursor, Copilot, Windsurf, Zed, and more, then wires each one to the MCP server with an always-on rules file. No manual config.

From install to first answer

Install the binary, index your repo, add the languages you need, then ask. The graph stays fresh on every commit.

Same graph powers your editor. Run Travsr: Show Graph in VS Code to explore callers and dependencies visually. See the extension.

See it in action

The same fresh graph drives your editor and any AI agent that speaks MCP.

Inside your editor

Open Travsr: Show Graph to explore callers and dependencies, rendered from the live graph.

How agents use it

Agents call MCP tools and traverse real structure instead of guessing from text chunks. A local cross-encoder reranks natural-language queries against the graph's own candidates, so vague questions get an honest confidence score, or an abstain, instead of a fabricated one.

Manage everything from the editor

The Travsr extension surfaces the live graph as native VS Code panels. Watch graph stats and manage every indexed repo without leaving the editor. These are the real panels.

31
▸ 3 callers↳ 2 dependencies·fresh @ f8d3939
export function checkRateLimit(req: Request)
Graph stats
Graph stats

Live metrics for the indexed graph.

Nodes
2481
Edges
2609
Schema
1
DB size
2.1 MB
Last indexed
2 min ago
Refresh
Registered repos
Registered repos

3 repos in ~/.travsr/registry.json · 1 stale.

Prune stale (1) Refresh
NameDB PathStatusRemove
travsr~/learning/travsr/.travsr/graph.dbactive
travsr-web~/learning/travsr-web/.travsr/graph.dbactive
old-api~/archive/old-api/.travsr/graph.dbstale

Language support

Language Tree-sitter Semantic edges
TypeScript / JavaScript Built-in
Rust Built-in
Python Built-in
Go lang install
Java lang install
Kotlin lang install
Scala lang install
C# lang install
C / C++ lang install
Ruby lang install
PHP lang install
Swift lang install
Objective-C lang install macOS
Dart lang install

Every language is parsed structurally by Tree-sitter out of the box. Semantic call edges for TypeScript/JavaScript, Rust, and Python are built in and run automatically; the rest add semantic edges once you install their analyzer with travsr lang install <lang>. Objective-C semantic indexing is macOS-only.