# Token Savior

An MCP server that adds structural code navigation, persistent memory, and safer Bash command rewriting to AI coding agents, aiming to cut the tokens and time a coding task needs.

Token Savior is a Model Context Protocol server that adds structural code navigation, a persistent memory engine, and Bash command rewriting to any MCP-compatible AI coding agent. It ships an "optimized" profile that can be enabled with a single environment variable and reports large reductions in active tokens and wall time on a real coding benchmark.

The project itself flags that a later re-measurement of those figures did not actually exercise the server's tools, because deferred tool loading kept them out of the model's manifest, and was withdrawn; the original headline numbers stand as reported but currently unverified, and the project states that re-measuring them properly, with an assertion that the server's tools were actually called, is open work.

It exposes 18 tools in total to any MCP client.

Website: https://mibayy.github.io/token-savior/
