Trace the impact
Find callers and dependencies, inspect a file's blast radius, and follow execution paths through indexed relationships.
Code intelligence, grounded in your repo
Find callers, trace dependencies, and give your AI agent context from your codebase. Travsr connects the structure of your code to the tools you already use.
npm install -g @travsr.com/travsr Open source · Apache-2.0 · Runs locally
Follow the connections
Explore callers, dependencies, and paths through an indexed graph. Illustration with sample code.
Explore the productThe Travsr idea
01 / 04
Not instinct. Mapping. We built Travsr on that idea.
Start with one repository
Run travsr init inside your repo to build its graph. Travsr detects installed coding tools, configures project MCP settings where supported, and prints any remaining setup.
Want agent guidance files too? Opt in with travsr connect --rules.
Example session with sample output. The same graph powers your editor. Run Travsr: Show Graph in VS Code to
explore callers and dependencies visually. See the extension.
One graph, several ways to work
Find callers and dependencies, inspect a file's blast radius, and follow execution paths through indexed relationships.
Retrieve relevant symbols and source snippets within a token budget. Use MCP from your preferred coding assistant.
The running daemon watches saved files. Git hooks reconcile commits, merges, and branch checkouts. Inspect indexing status and graph health to verify progress.
Register multiple repos and query them through one MCP server. Scope requests to a repo to keep answers focused.
Nature, translated
The same structure can tell two stories. Explore how a migratory form becomes a navigable code graph.
A closer look
Explore these sample previews, then connect Travsr to your own code.
Inspect callers with CodeLens, check blast radius before editing, and explore or copy graph context into chat from VS Code.
Illustrative preview with sample data. Explore the extension →
MCP tools give your assistant repository context and source snippets within a token budget.
RateLimiter.check()
(src/middleware/rateLimit.ts:31). It is called by
apiGateway() before routing and by
WebhookHandler.receive(). These are the callers recorded in this sample graph.
Illustrative preview with sample data. Browse the MCP tools →
Inspect graph statistics and manage registered repositories from the editor.
Live metrics for the indexed graph.
3 repos in ~/.travsr/registry.json · 1 stale.
| Name | DB Path | Status | Remove |
|---|---|---|---|
| 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 | ✕ |
Illustrative preview with sample data. See editor features →
Language support
Tree-sitter parses all 14 language groups below. Semantic analysis adds resolved relationships, with coverage depending on the language and analyzer.
Configuration and documentation belong here too: index JSON / JSONC, YAML, TOML, XML, and Markdown / MDX alongside your source code.
Language setup and requirements →TypeScript / JavaScript · Rust · Python
For an additional analyzer, run travsr lang install <lang>. Objective-C semantic analysis requires macOS.
Search your way
Structural queries work without embeddings. For broader natural-language discovery, add optional local embeddings with travsr embed init. Search can rank candidates; analyzers determine the code relationships.