#105105th of 128 in MCP servers for developers

token-savior

MCP server for symbol-level code navigation, persistent memory and Bash output trimming

Stars
1.2k
License
MIT
Last commit
Oct 2026
Last release
Oct 2026
Language
Python
Stars, last 29 weeks+598
22 Apr 2026: 619 stars29 Apr 2026: 707 stars6 May 2026: 780 stars13 May 2026: 822 stars20 May 2026: 868 stars27 May 2026: 888 stars3 Jun 2026: 907 stars10 Jun 2026: 961 stars17 Jun 2026: 974 stars24 Jun 2026: 995 stars1 Jul 2026: 1,010 stars8 Jul 2026: 1,040 stars15 Jul 2026: 1,053 stars22 Jul 2026: 1,068 stars29 Jul 2026: 1,081 stars5 Aug 2026: 1,091 stars12 Aug 2026: 1,101 stars19 Aug 2026: 1,109 stars26 Aug 2026: 1,115 stars2 Sept 2026: 1,129 stars9 Sept 2026: 1,135 stars16 Sept 2026: 1,147 stars23 Sept 2026: 1,151 stars30 Sept 2026: 1,155 stars7 Oct 2026: 1,161 stars14 Oct 2026: 1,177 stars21 Oct 2026: 1,185 stars28 Oct 2026: 1,196 stars4 Nov 2026: 1,205 stars11 Nov 2026: 1,217 stars

619 on 22 Apr 20261,217 on 11 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Token Savior is a Python MCP server that indexes a codebase by symbol (functions, classes, imports, call graph) so agents fetch pointers instead of whole files. It adds a SQLite WAL + FTS5 memory store re-injected across sessions, plus opt-in Bash hooks: 34 PostToolUse output compactors and a 10-rule PreToolUse command rewriter. The README's 97.9% tsbench score is self-reported and unverifiable; a later 8-task re-measure showed -45% cost.

Who it is for: Claude Code and MCP users cutting token spend on large repos

Strengths

  • Symbol index with call graph and structural editing that keeps the index in sync
  • Persistent memory in SQLite WAL + FTS5, optional vector search, re-injected next session
  • `ts init` merges hooks for Claude, Cursor, Gemini, Codex and OpenClaw with diff and backup
  • README openly withdraws a flawed benchmark and reports a re-measure with tool-use checks

Weaknesses

  • Headline tsbench 97.9% cannot be reproduced; benchmark repo is not public
  • Re-measure on 8 tasks: -45% cost but +40% wall time from indexing
  • PostToolUse compactors do not shrink the current turn; only the rewriter does
  • Needs `alwaysLoad` on Claude Code, otherwise the model rarely calls its tools

What it needs

  • no GPU
  • Needs Python 3.11+, SQLite, MCP-compatible client

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in MCP servers for developers

See all 128
Also in MCP servers for developers
RankProjectScore
1gitnexusCode knowledge graph exposed to coding agents through MCP tools Live demo ↗ (opens in a new tab)48.5k stars+784 (+1.6%) in 30 dayscustom license97 out of 100
2codegraphLocal code knowledge graph that coding agents query over MCP77.5k stars+3,838 (+5.2%) in 30 daysMIT95 out of 100
3playwright-mcpMCP server that lets LLMs drive a browser through Playwright accessibility snapshots39.6k stars+1,535 (+4.0%) in 30 daysApache-2.093 out of 100
#4code-review-graphLocal Tree-sitter code graph that gives coding assistants review context over MCP32.7k stars+745 (+2.3%) in 30 daysMIT92 out of 100
#5fastmcpPython framework for building MCP servers, clients, and interactive apps28.4k stars+393 (+1.4%) in 30 daysApache-2.092 out of 100