local-token-saver

itsarmaanverma/local-token-saver
★ 1 stars Python AI/LLM Updated 1d ago
Locally installed, folder-scoped retrieval-first context for Claude Code / Codex — SQLite FTS5+vector hybrid search, PDF→Markdown→vectorizer pipeline, MCP server.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "local-token-saver": {
      "command": "uvx",
      "args": [
        "local-token-saver"
      ]
    }
  }
}

Or install with pip: pip install local-token-saver

README Excerpt

**Folder-scoped, retrieval-first context access for AI coding and document agents.** Local Token Saver is a locally installed CLI + MCP server that lets Claude Code, Codex, and other agents work with large folders **without dumping them into the model context**. Instead of reading a 200k-token PDF or grepping a whole repo,

Tools (18)

TOKEN_SAVER_FILTERTOKEN_SAVER_MAX_BODY_MBTOKEN_SAVER_PORTTOKEN_SAVER_UPSTREAMadvisededupeembeddingget_source_sliceindexingoffpippypdfretrievalretrieveretrieve_contextsemantic_searchshadowstats

Topics

claude-codeclicodexdeveloper-toolsmcpretrieval-augmented-generationsqlitetoken-optimization