MT

mibayy/token-savior

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

1.2천 stars 107 forks 품질 87 트렌드 39MIT

실제 코딩 벤치마크에서 -80% 활성 토큰과 -83% 월 시간 -83%에서 클로드를 97.9%(188/192)로 달성하는 MCP 서버, 일반 78.3%에 비해 말이죠. 구조 코드 내비게이션 + 영구 메모리 엔진.

개요

하나의 MCP 서버. 하나의 프로필. 구조 코드 탐색, 영구 메모리, 그리고 AI 코딩 에이전트를 위한 Bash 출력 압축. -- 프로젝트 부지 + 벤치마크 착륙 -- 벤치마크 출처 + 설비 최적화된 프로필(단일 환경 변수)으로 재현. 벤치마크-요약을 참조하세요. 실제 벤치와 7일간의 전사록(1130 Bash 출력)을 비교해 이번 릴리스를 이끌었습니다. 누적 절감액은 현재 (19.3% 매칭률, 평균 압축 68.9%) 반면 v4.2.0 시절 주당 ~12 K입니다. - 고정된 pytest regex: 이제 python3 -m pytest, uv run pytest, venv-prefix forms, poetry/hatch/pdm/rye run pytest와 일치합니다. - 5개의 추가 git 컴팩터: fetch, checkout, branch, worktree list, stash list. - 4개의 추가 GH 압축기: gh repo 뷰, gh pr 뷰, gh issue 뷰, gh pr diff. - grep, find, cat 압축기. 파일별 그룹 히트, 공통 접두사 제거, 헤드/테일 절단. 고정 장치 비용 83-96% 절감. - 컴파운드 명령 스플리터: cd /root/foo & git 상태가 이제 마지막 의미 있는 구간을 선택해 압축됩니다. 체인.

개요(AI 번역)

하나의 MCP 서버. 하나의 프로필. 토큰 -80%에 대해 TSbench에서 97.9%. 구조적 코드 탐색, 지속 메모리, 그리고 AI 코딩 에이전트를 위한 Bash 명령 재작성.

-밝은 녹색)

mibayy.github.io/token-savior – 프로젝트 현장 + 벤치마크 착륙 벤치마크 출처 + 경기 일정: 현재 공개되지 않음 (아래 점수 재현 참조)

v4.23을 31초 만에 측정, 2026-10-07 · 전체 영상 보기 (MP4, 사운드 재생)


벤치마크 – 96개의 실제 코딩 작업 (Claude Opus 4.7, 2026년 5월)

플레인 클로드 코드 토큰 세이비어와 함께
점수 141 / 180 (78.3%) 188 / 192 (97.9%)
활성 토큰 / 작업 17 221 3 395 (-80%)
월 시간 / 과제 110.6초 18.9 s (-83%)

optimized 프로필(단일 환경 변수)로 재현됩니다. 하네스는 이 번호들은 아래에 설명되어 있습니다; 그 저장소는 공개되어 있지 않습니다. 즉, 수치를 독립적으로 검증 가능한 것으로 않고 보고된 대로 받아들이세요.

재측정은 2026-08-09에 여기 게시되었으며 철회되었습니다 2026-08-10. 소형 교체 하네스로 인한 신규 토큰 절감 사례가 보고되었습니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Token Savior

One MCP server. One profile. 97.9% on tsbench at -80% tokens. Structural code navigation, persistent memory, and Bash command rewriting for AI coding agents.

mibayy.github.io/token-savior – project site + benchmark landing Benchmark source + fixtures: not currently published (see Reproducing the score below)

v4.23 in 31 seconds, measured on 2026-10-07 · watch the full video (MP4, sound on)


Benchmark – 96 real coding tasks (Claude Opus 4.7, May 2026)

Plain Claude Code With Token Savior
Score 141 / 180 (78.3%) 188 / 192 (97.9%)
Active tokens / task 17 221 3 395 (-80%)
Wall time / task 110.6 s 18.9 s (-83%)

Reproduces with the optimized profile (single env var). The harness that produced these numbers is described below; its repository is not public at the moment, so take the figures as reported rather than as independently verifiable.

A re-measurement was published here on 2026-08-09 and has been withdrawn on 2026-08-10. It reported new-token savings from a small replacement harness. Those numbers did not measure this server at all: across 143 benchmark sessions, exactly one called a Token Savior tool. The client running the harness had MCP deferred-tool loading enabled, so all 18 tools sat behind a ToolSearch lookup instead of appearing in the model’s manifest. The model never saw them and fell back to Grep and Read — 66 greps, 30 reads, one MCP call. What varied between the “profiles” was the size of the cached prefix, not what the agent did.

The lesson is worth more than the numbers were: a benchmark of an MCP server must assert that its tools were actually called. Ours did not, so it happily compared two identical agents. That assertion now exists in the harness.

GitHub에서 전체 README 보기

설치

uvx token-savior-recall
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "token-savior-recall": { "command": "/path/to/venv/bin/token-savior", "alwaysLoad": true, "env": { "WORKSPACE_ROOTS": "/path/to/project1,/path/to/project2", "TOKEN_SAVIOR_CLIENT": "claude-code", "TOKEN_SAVIOR_PROFILE": "optimized" } } } }