token-savior

token-savior

Optimize Claude's coding agent to reduce token usage and execution time.

MCPDevOpen sourceMCPClaude编码代理token 优化
Type
MCP
Transport
stdio
Open source
Yes
GitHub Stars
★ 1.0k
Source
mcp-github

Overview

Token Savior is an MCP server that transforms Claude into the only coding agent achieving 100% performance on real benchmarks, through structured code navigation and persistent memory. It reduces active token usage by 77% and execution time by 76%, with no loss across 96 tasks. Compatible with all MCP clients. Connect via environment variables and MCP configuration files.

Capabilities

  • Reduce active token usage
  • Shorten execution time
  • Structured code navigation
  • Persistent memory support
  • Bash output compression

Use cases

Optimize AI coding agent performanceImprove Claude's efficiency in real-world tasksReduce resource consumption

Setup

Requires: API KeyNode 环境Python 3.11+
pip install "token-savior-recall[mcp]" and add the corresponding configuration in the MCP config file.

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How to enable Bash compression and rewriting?

Set environment variables TS_BASH_COMPACT=1 and TS_BASH_REWRITE=1, then run ts init --agent claude --yes.

What is the recommended configuration profile?

Use TOKEN_SAVIOR_PROFILE=optimized for best performance.

Related skills