Skip to main content

Frequently Asked Questions

General

Is Travsr free?

Yes. The local tier is Apache-2.0-licensed open source and will always be free. Cloud and Enterprise pricing will be announced when those tiers open; see Cloud for the current preview.

Does Travsr send my code anywhere?

Not by default. The local daemon indexes your code on your machine and stores the graph in .travsr/graph.db. Nothing leaves your machine unless you explicitly connect a repository to Travsr Cloud.

Which languages are supported?

Travsr parses 16 languages structurally with Tree-sitter out of the box, with zero configuration: TypeScript/TSX, JavaScript, Rust, Python, Go, Java, Kotlin, Scala, C#, Ruby, PHP, C, C++, Swift, Objective-C, and Dart.

Semantic call edges for TypeScript / JavaScript, Rust, and Python are built into the binary and run automatically. The remaining languages ship as Phase B indexers, installed on demand: Go, Ruby, PHP, C, C++, Swift, Objective-C, Dart, Java, Kotlin, Scala, and C#.

travsr lang detect # scan the repo and auto-install what it finds
travsr lang install java # or install a specific language
travsr lang list # show installed indexers and their status

All indexers extract structural edges via Tree-sitter (import edges, definitions, and call-expression references), which power every MCP tool and retrieval query.

How is Travsr different from GitHub Copilot / Cursor?

Copilot and Cursor use vector RAG: they chunk your code into fragments, embed them, and retrieve the closest-matching chunks at query time. This is approximate and stale by design.

Travsr builds a deterministic graph from your code (not embeddings) and answers queries with graph algorithms (not cosine similarity). The graph is always fresh because it updates on every commit. See Why graph beats RAG for a detailed comparison.


Setup

The daemon won't start. What do I check first?

  1. Is travsr on your PATH? Run which travsr.
  2. Is the socket in use? rm -f /tmp/travsr.sock && travsr daemon start.
  3. Check logs: travsr daemon logs --lines 50.

Do I need to run travsr init on every repository?

Yes, once per repository. After init, the git hook handles incremental reindexing automatically on every commit.

How do I update Travsr?

npm update -g @travsr.com/travsr # if installed via npm

Graph & indexing

How long does the first index take?

It scales with repository size. The Tree-sitter (Phase A) structural pass is the fast part; semantic Phase B (LSIF/SCIP) is slower and depends on type complexity. Subsequent commits only reindex changed files.

What is the maximum repository size?

SQLite is the zero-setup default and handles everyday repositories and large monorepos. A production-scale graph database backend for very large graphs is planned (see the Roadmap).

Can I index a monorepo?

Yes. Run travsr init at the monorepo root. The indexer traverses all subdirectories and respects .gitignore. Cross-package edges within the monorepo are fully resolved.

Does Travsr index node_modules / target/?

No. node_modules, target/, .git/, and any patterns in .gitignore are excluded automatically.


MCP & Claude

What MCP tools does Travsr expose?

Twenty-one tools in total. Twelve are graph query and read tools: search_symbol, get_dependencies, get_callers, get_blast_radius, get_execution_path, get_repo_map, get_context, get_graph_stats, get_graph_json, get_snippets, get_lang_status, and repo_languages. These twelve are served over both stdio and SSE. Single-repo stdio sessions additionally expose six synonym_* tools (synonym_add, synonym_set, synonym_remove, synonym_remove_term, synonym_list, synonym_reset) and three repos_* management tools (repos_list, repos_prune, repos_remove). Every response is wrapped in a sanitized <travsr-data> envelope so it is safe to pass straight into LLM context. See MCP Tools Reference for full schemas.

Claude Desktop doesn't see Travsr as a tool. What's wrong?

  1. Verify your claude_desktop_config.json has valid JSON (a syntax error silently disables all MCP servers).
  2. Check that travsr mcp --stdio launches without errors: run it manually in a terminal.
  3. Fully quit and relaunch Claude Desktop: the MCP config is only read at startup.

Can I use Travsr with Cursor / Continue / other agents?

Yes. Any MCP-compatible agent works with the stdio transport. The travsr serve command also exposes an SSE transport for clients that support the MCP SSE protocol.