Skip to the page

Data / Repositories / Token optimization

Token optimization repositories on GitHub: 9 ranked by stars

9 public repositories tagged Token optimization are on GitHub, with 167,195 stars between them; 8 had a push in the last 30 days. Most are written in Python (5), Rust (2), TypeScript (1). The most starred: rtk-ai/rtk (82,881), headroomlabs-ai/headroom (75,347), yvgude/lean-ctx (3,878).

SpecStream is the live web data engine for teams and agents. It reads open-source repositories on GitHub and keeps what it reads, and this page groups that reading by topic. Ask for the repositories you track by topic, language, license or activity, and new ones and changes arrive in your sheet, CRM, Slack or agent.

Every repository, most starred first

RepositoryWhat it isLanguageStarsForksLicenseLast pushRead
rtk-ai/rtkCLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependenciesRust82,8815,258Apache-2.0Oct 9Oct 11
headroomlabs-ai/headroomCompress 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…Python75,3475,847Apache-2.0Oct 13Oct 14
yvgude/lean-ctxLeanCTX — Context Gateway for AI Systems. Control what your AI can see. Open-source Engine for context selection, supported controls, and evidence.Rust3,878353Apache-2.0Oct 14Oct 14
jgravelle/jcodemunch-mcpCut AI token costs 95%+ on code exploration. The leading MCP server for precise, symbol-level GitHub code retrieval via tree-sitter AST. Works with Claude Code, Cursor & any MCP…Python2,769375Oct 14Oct 14
Paritok-official/paritok-4b-v1Non-destructive compression gateway for AI coding agents. Cuts token bills 25% on turn 1 to past 85% in long or saturated sessions, and fits ~3× more turns in the same context…Python1,459140Apache-2.0Oct 6Oct 14
elusznik/mcp-server-code-execution-modeAn MCP server that executes Python code in isolated rootless containers with optional MCP server proxying. Implementation of Anthropic's and Cloudflare's ideas for reducing MCP…Python34033GPL-3.0Dec 5, 2025Oct 14
chipfighter/context-attachment-managerCodex and Claude Code plugin (works in Claude Desktop): choose which past images go to the model with your next message. Unchecked images become placeholders, the conversation…TypeScript23522MITOct 15Oct 15
jgravelle/jdocmunch-mcpThe leading, most token-efficient MCP server for documentation exploration and retrieval via structured section indexingPython20448Oct 14Oct 14
mcpdelta/mcpdeltaDelta MCP is a free app that sits between your AI apps and their MCP servers: any server, every tool. It checks each task before it runs, applies it all or nothing, reads back…8212Oct 14Oct 21

By language

Related topics

Read from GitHub by SpecStream between October 11, 2026 and October 21, 2026; each row shows the day its repository was read. Stars and pushes change every day, and the GitHub page is the current one. Forks and archived repositories are left out.