Labsco
MCP SERVER

Give a coding agent a pre-built semantic graph of your codebase so it queries instead of grepping.

Code Intelligence & Repository Indexing
Summary
Trades an index build for the file-scanning an agent would otherwise redo every session.

tokensave_context is the call that replaces a round of exploration: entry points, related symbols and snippets arrive together instead of after a dozen greps. Branch-aware queries matter more than they sound on a repository with long-lived branches, since "who calls this" has a different answer depending on where you are standing. Worth knowing before you install — setup writes agent configuration and, for one client, hooks that block exploratory sub-agents and redirect symbol-shaped greps into these tools.

What it is

A Rust binary that indexes a repository into a local symbol graph and answers structural questions about it — what calls what, what breaks if you change this, where the complexity sits — in single calls rather than a round of file reads.

What you get
  • tokensave_context — entry points, related symbols and code snippets for a task, gathered in one call instead of a dozen searches
  • Navigate the graph — tokensave_callers, tokensave_callees, tokensave_affected for blast radius, and tokensave_annotations
  • Search across the index rather than across files, with results that know what a symbol is rather than only where the text matched
  • Branch-aware queries — tokensave_branch_list, tokensave_branch_diff and tokensave_branch_search, so a question can be asked about the branch you are on
  • Three build tiers chosen at install: the default covers more than fifty languages, medium and lite trade coverage for a smaller binary
  • Tokensave install writes the MCP configuration for the agent you name — Claude Code, Codex, Cursor, Copilot, Gemini CLI, Cline, OpenCode, Kiro, Kimi, Antigravity, AugmentCode, Factory Droid, Kilo and Pi — or auto-detects what is on the machine
Requirements

A local checkout to index. Everything runs on your machine with no service behind it and no account. Install with brew, scoop, or cargo install tokensave — cargo also takes feature flags for the medium and lite tiers — or take a prebuilt bundle from the releases for macOS, Linux or Windows, each published with a checksum. Registration writes agent configuration and, for one client, hooks as well.

Setup effort

One command — brew install aovestdipaperino/tap/tokensave