OT

ooples/token-optimizer-mcp

Analytics & monitoring

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

563 stars 73 forks 품질 88 트렌드 41MIT

ooples/token-optimizer-mcp는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요

ooples/token-optimizer-mcp는 [[T0]에서 가져온 MCP 서버 후보입니다.

개요(AI 번역)

토큰 옵티마이저 MCP

바이트 수가 아니라 청구서를 최적화하는 압축 — 벤치마크를 배송해 주니 확인할 수 있습니다.

옵티마이저 도구, 라이브 그래프 치환, 모든 에이전트, 그리고 그래프 자체 비용을 위한 하나의 로컬 원장.


헤드룸과 비교해 보세요

제공자는 프롬프트 접두사를 캐시합니다: 캐시된 토큰은 0.1x에서 재읽기, 다시 작성됩니다 하나는 **1.25배*로 청구됩니다. 대부분의 컴프레서는 제거된 바이트를 최적화하고 이를 무시합니다 배수기. 이건 청구서를 최적화해.

실제 구현 방식, 자체 설비에 적용한 것과 비교해 평가한 것입니다. 재구현이 아니라 우리의 고정장치들이 아닙니다: 그들의 하네스가 페이로드를 압축합니다, 그걸 버리면, 그들의 리졸버가 자기 표시를 상환하고, 우리 리졸버는 동일한 바이트입니다. 그들의 열은 9가지 구성 중 가장 좋습니다. 포획 점령은 한 줄씩 지켜진다.

우리 팔 두 개가 테이블 안에 있고, 서로 다른 질문에 답해요. ours 블록을 이동할 곳이 없는 블록 엔진이며, 이것이 MCP가 도구화하는 방식입니다. 훅은 계속 작동합니다: 제거된 모든 것은 압축으로 제거되고, 아무것도 없습니다 이 요청을 떠납니다. **ours, proxy**는 Claude Code 세션이 실행하는 프록시입니다.

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

README

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

Token Optimizer MCP

Compression that optimises your bill, not your byte count — and ships the benchmark so you can check it.

One local ledger for optimizer tools, live-graph substitutions, every agent, and the graph’s own cost.


How it compares to Alternative A

Providers cache the prompt prefix: cached tokens re-read at 0.1x, rewritten ones bill at 1.25x. Most compressors optimise bytes removed and ignore that multiplier. This one optimises the bill.

Measured against their real implementation, on their own fixtures. Not a reimplementation and not our fixtures: their harness compresses the payload, dumps it, their resolver redeems their own markers, and ours is handed the identical bytes. Their column is the best of the nine configurations that capture holds, row by row.

Two of our arms are in the table, and they answer different questions. ours is the block engine with nowhere to move a block, which is how the MCP tools and the hooks run: everything it removes, it removes by compressing, and nothing leaves the request. ours, proxy is the proxy a Claude Code session runs

GitHub에서 전체 README 보기

설치

npx -y @ooples/token-optimizer-mcp@latest
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "token-optimizer": { "type": "local", "command": "npx", "args": ["-y", "@ooples/token-optimizer-mcp@latest"], "tools": ["*"] } } }