- → StripeGateway calls
- → Ledger calls
- → FraudCheck calls
- ← CheckoutController calls
- ← WebhookHandler calls
- ← BillingCron calls
Graph-native code intelligence
Not vector RAG. Not chunking. 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 Tree-sitter and LSIF produce an exact call graph, type graph, and import graph. No embeddings, no approximations.
A git post-commit hook reindexes changed files on every commit, so the graph aims to stay in step with your code.
Twelve query tools over stdio or SSE, twenty-one in single-repo mode. Works with Claude, Copilot, any agent that speaks Model Context Protocol.
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.
The same fresh graph drives your editor and any AI agent that speaks MCP.
Open Travsr: Show Graph to explore callers and dependencies, rendered from the live graph.
Agents call MCP tools and traverse real structure instead of guessing from text chunks.
RateLimiter.check()
(src/middleware/rateLimit.ts:31). It is called by
apiGateway() before routing and by
WebhookHandler.receive(). No other call sites exist in the graph.
The Travsr extension surfaces the live graph as native VS Code panels. Pick languages, tune query synonyms, watch graph stats, and manage every indexed repo without leaving the editor. These are the real panels.
Structural and semantic analysis per language.
| python | 1,204 |
| typescript | 1,889 |
| rust | 656 |
| Language | Package | Sandbox | Semantic | Action |
|---|---|---|---|---|
| python | built-in | Standard | enabled | Built-in |
| rust | built-in | Standard | enabled | Built-in |
| java | @travsr-plugin/java | Elevated | disabled | Grant & Install |
| ruby | @travsr-plugin/ruby | Standard | disabled | Install |
Query terms expanded during search. 3 pairs.
| Term | Aliases | |
|---|---|---|
| auth | loginsigninauthenticate | 🗑 |
| db | databasepostgres | 🗑 |
| payment | billingcharge | 🗑 |
Live metrics for the indexed graph.
3 repos in ~/.travsr/registry.json · 1 stale.
| Name | DB Path | Status | |
|---|---|---|---|
| travsr | ~/learning/travsr/.travsr/graph.db | active | ✕ |
| travsr-web | ~/learning/travsr-web/.travsr/graph.db | active | ✕ |
| old-api | ~/archive/old-api/.travsr/graph.db | stale | ✕ |
| 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.