Skip to the page

Data / Repositories / Token optimization / Python

Python Token optimization repositories on GitHub: 5 ranked by stars

5 public Python repositories tagged Token optimization are on GitHub, with 80,119 stars between them; 4 had a push in the last 30 days. The most starred: headroomlabs-ai/headroom (75,347), jgravelle/jcodemunch-mcp (2,769), Paritok-official/paritok-4b-v1 (1,459).

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 isStarsForksLicenseLast pushRead
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…75,3475,847Apache-2.0Oct 13Oct 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…2,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…1,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…34033GPL-3.0Dec 5, 2025Oct 14
jgravelle/jdocmunch-mcpThe leading, most token-efficient MCP server for documentation exploration and retrieval via structured section indexing20448Oct 14Oct 14

Other languages

Related topics

Every Token optimization repository

Read from GitHub by SpecStream between October 14, 2026 and October 14, 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.