All tags
Catalogue tag

#token-optimization

Every repository in the public record carrying this tag — from its GitHub topics or the keywords its package registries publish. Health is measured under the same versioned methodology as the rest of the record.

63 records
Tagged “token-optimization”Ranked by health index
PyPI · crates.io · npm
98Exceptionalhealth index
headroomlabs-ai/headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Python · Rust★ 80.2K↓ 445.4K/moNov 19, 2026
Apache-2.0Nov 19, 2026 · metrics 2.10.0
PyPI · npm
95Exceptionalhealth index
jgravelle/jcodemunch-mcp
Symbol-level code retrieval for AI agents: fetch the function you need, not the whole file. Tree-sitter powered, ~95% fewer tokens per lookup. Works with Claude Code, Cursor, Codex & any MCP client. 1.3T+ tokens saved.
Python★ 2,796↓ 29.4K/moOct 23, 2026
Custom licenseOct 23, 2026 · metrics 2.10.0
crates.io · npm
93Exceptionalhealth index
rtk-ai/rtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Rust★ 87.2KNov 19, 2026
Apache-2.0Nov 19, 2026 · metrics 2.10.0
npm
89Excellenthealth index
ooples/token-optimizer-mcp
91.5% fewer tokens on tool output on Headroom's own benchmark, where Headroom removes 61.4%. Separately, the same SWE-bench tasks resolved at 0.71x the cost of plain Claude Code. Plus memory across sessions and subscription quota pacing. Claude Code, Codex, Copilot, Gemini and 12 more. Local, MIT.
JavaScript · TypeScript★ 587↓ 17.1K/moNov 17, 2026
MITNov 17, 2026 · metrics 2.10.0
npm
88Excellenthealth index
jmagly/aiwg
Reusable project context and specialist workflows for the AI tools you already use. Agents, skills, rules and MCP tools for Claude Code, Codex, Copilot, Cursor and more, plus SDLC workflows, session memory, and Jev decision support that offloads bounded LLM decisions to save tokens.
TypeScript · JavaScript★ 225↓ 37.9K/moOct 25, 2026
MITOct 25, 2026 · metrics 2.10.0
Go
87Excellenthealth index
edouard-claude/snip
CLI proxy that reduces LLM token usage by 60-90%. Declarative YAML filters for Claude Code, Cursor, Copilot, Gemini. rtk alternative in Go.
Go★ 485Nov 13, 2026
MITNov 13, 2026 · metrics 2.10.0
PyPI · crates.io
87Excellenthealth index
fkiene/llmtrim
Local proxy that compresses your LLM API requests so you pay less, with no change to the answers. Trims wasted tokens from prompts, history, tool output, and code before they're sent: -31% input / -74% output, measured live. Any provider, no extra model calls. Also an MCP server and embeddable library (Rust, Python, Ruby, Kotlin, Swift, JS/TS).
Rust★ 274↓ 2,078/moNov 16, 2026
MPL-2.0Nov 16, 2026 · metrics 2.10.0
PyPI · npm · crates.io
87Excellenthealth index
juyterman1000/entroly
Cut AI context cost without trusting the compressor. Every reduction is reversible, byte-exact recoverable, and carries an auditable receipt. Local-first, works through proxy, MCP, SDK, or agent wrapper.
Python · Rust★ 486↓ 3,970/moNov 14, 2026
Apache-2.0Nov 14, 2026 · metrics 2.10.0
crates.io · npm
87Excellenthealth index
ratel-ai/ratel
The self-improvement layer for AI agents. Ratel reads your agent's traces, finds what fails, recommends fixes and runs evals on real sessions before you ship. Self-hosted: one app, one Postgres. Includes the TypeScript and Python SDK
TypeScript★ 562↓ 297/moNov 14, 2026
MITNov 14, 2026 · metrics 2.10.0
npm
87Excellenthealth index
teamchong/pxpipe
cut Claude Code token usage by rendering text context as images
TypeScript★ 7,553↓ 28.6K/moOct 24, 2026
MITOct 24, 2026 · metrics 2.10.0
PyPI
84Excellenthealth index
activeing123/mcptoon
One zero-dependency MCP gateway CLI for every server and agent skill. Token optimization, tool discovery and context compression: 71,929 -> 581 tokens (-99.2%, measured), schemas stay out of context. One config for Claude Code, Codex, Cursor, every agent. 561KB, pure Python. | 零依赖 CLI:管所有 MCP 工具与技能,工具发现省 99.2% token。
Python · HTML★ 443↓ 2,882/moNov 25, 2026
Apache-2.0Nov 25, 2026 · metrics 2.10.0
npm
84Excellenthealth index
diegosouzapw/OmniGlyph
Cut your Claude bill 59–70% by rendering bulky LLM context as dense PNG pages — 100% read accuracy, exact per-provider billing math (Anthropic/OpenAI/Gemini), fail-closed gates, measured benchmarks. CLI + proxy + Cloudflare Workers. Docs in 42 languages. Part of the OmniRoute family.
TypeScript★ 180↓ 380.6K/moNov 21, 2026
MITNov 21, 2026 · metrics 2.10.0
PyPI
83Excellenthealth index
jgravelle/jdocmunch-mcp
Documentation retrieval for AI agents: fetch the section you need, not the whole doc. Markdown, RST, AsciiDoc, Jupyter, HTML, OpenAPI and more. Runs locally, works with Claude Code and any MCP client. Free for non-commercial use; commercial use needs a one-time license.
Python★ 208↓ 5,518/moNov 30, 2026
Custom licenseNov 30, 2026 · metrics 2.10.0
npm · crates.io
80Excellenthealth index
dPeluChe/trs
Token-Reducing Shell — terminal output compression for AI coding agents
Rust★ 16↓ 2,660/moDec 4, 2026
MITDec 4, 2026 · metrics 2.10.0
PyPI
80Excellenthealth index
dshakes/distil
Compression with a quality contract — cache-aware, causally-pruned LLM context compression for agentic runtimes, certified non-inferior across 7 domains. Works with any SDK.
Python · HTML★ 21↓ 1,303/moNov 26, 2026
Custom licenseNov 26, 2026 · metrics 2.10.0
npm · crates.io · PyPI
78Goodhealth index
Tura-AI/tura
Build agent that uses 80% less token and delivers better results.
Rust · TypeScript★ 661↓ 123/moOct 23, 2026
AGPL-3.0Oct 23, 2026 · metrics 2.10.0
npm
78Goodhealth index
cytostack/openwolf
Portable project memory across Claude Code, Codex and OpenCode, plus token accounting measured from harness transcripts. Local file I/O, no API calls, no telemetry.
TypeScript★ 2,400↓ 2,156/moOct 25, 2026
AGPL-3.0Oct 25, 2026 · metrics 2.10.0
Go · PyPI
77Goodhealth index
anthony-chaudhary/fak
Agentic Runtime
Go★ 42Oct 26, 2026
Apache-2.0Oct 26, 2026 · metrics 2.10.0
PyPI
75Goodhealth index
inth3shadows/terse
Shrinks your AI agent's tool output so it burns fewer tokens, without changing what the agent reads. Lossless by default, no decode step.
Python★ 3↓ 3,854/moNov 24, 2026
MITNov 24, 2026 · metrics 2.10.0
npm
75Goodhealth index
kitepon/aiterm-mcp
One persistent MCP terminal your AI drives — and launches other coding agents (Codex/Grok/Composer) into. SSH, containers, and REPLs nest as text you send in. tmux-backed, token-reduced reads, headless over MCP.
JavaScript · TypeScript★ 6↓ 48.7K/moDec 5, 2026
MITDec 5, 2026 · metrics 2.10.0
Go
73Goodhealth index
mmornati/leanproxy-mcp
A "Token Firewall" for MCP - reduce AI token costs by 50-80% while securing your code from secret leaks.
Go★ 5Dec 5, 2026
MITDec 5, 2026 · metrics 2.10.0
Go
71Goodhealth index
HoangP8/tokless
An effective and efficient coding-agent setup in under 30 seconds: best tools, unified instructions, any OS.
Go★ 372Nov 13, 2026
MITNov 13, 2026 · metrics 2.10.0
Go · crates.io · npm
71Goodhealth index
itaides/leanprompt
Zero-dependency prompt compression for LLM applications. One deterministic algorithm, three native SDKs (TypeScript/Bun, Rust, Go) with byte-identical output. No ML model, no downloads.
TypeScript · Rust · Go★ 0Nov 24, 2026
MITNov 24, 2026 · metrics 2.10.0
PyPI
71Goodhealth index
simpletibr/simplicio-loop
🔁 Finishes your entire backlog while you sleep. The AI orchestrator that DOES the work end-to-end on ANY LLM — discover → implement → verify → merge → 24/7 — behind safety gates, at up to 90% fewer tokens. 48 extension points. Not a chatbot. A worker.
Python★ 2↓ 425/moNov 18, 2026
MITNov 18, 2026 · metrics 2.10.0
Go
71Goodhealth index
sphragis-oss/isthmos
Local context-compression layer for agent tool outputs. Claude Code PostToolUse hook or generic filter, single Go binary.
Go★ 1Nov 18, 2026
Apache-2.0Nov 18, 2026 · metrics 2.10.0
PyPI · npm
69Goodhealth index
CorvinLabs/CorvinOS
Self-hosted agentic OS — a Vibe-Engineering platform for Builders. Connect Claude Code Agent to Discord, Telegram, WhatsApp, Slack & Email. EU AI Act 2026 & GDPR compliance by architecture.
Python · TypeScript★ 25↓ 743/moNov 16, 2026
Apache-2.0Nov 16, 2026 · metrics 2.10.0
PyPI · npm
69Goodhealth index
KKonstantinov/markdown-for-agents
HTML to Markdown converter for AI agents. 90+% fewer tokens, one dependency, works everywhere.
TypeScript · Python · MDX★ 35Nov 28, 2026
MITNov 28, 2026 · metrics 2.10.0
Packagist · npm
69Goodhealth index
mischasigtermans/laravel-toon
TOON encoding for Laravel. Encode data for AI/LLMs with ~50% fewer tokens than JSON.
PHP★ 148↓ 11.3K/moNov 16, 2026
MITNov 16, 2026 · metrics 2.10.0
npm
67Goodhealth index
kitepon/Throughline
Cut ~90% of Claude Code's context usage while keeping nearly all the memory
JavaScript★ 6↓ 6,605/moNov 16, 2026
MITNov 16, 2026 · metrics 2.10.0
PyPI
65Goodhealth index
Chuzom/Chuzom
Lightweight signal-driven LLM router for Claude Code, Cursor, Codex, Gemini CLI, and Codex CLI
Python★ 21↓ 339/moNov 18, 2026
MITNov 18, 2026 · metrics 2.10.0