Tokencut

•
10
•

Optimize AI coding assistant interactions by reducing verbose command outputs and managing context efficiently.

Tokencut is a local command-line interface and MCP server designed to enhance the experience with AI coding assistants like Claude Code and Codex. It tackles the issue of verbose tool outputs by intelligently filtering irrelevant information, thereby optimizing token usage and potentially reducing API costs. The tool provides targeted reads, allows for output budgets, and retains recoverable context, ensuring that crucial details are available on demand. Additionally, it offers a macOS desktop companion for real-time monitoring of token savings, quota windows, and historical usage, making AI coding more efficient and cost-effective.

主要功能

01Manages task context through explicit checkpoints, enabling saving, reading, listing, and forgetting progress notes.
02Provides a local CLI and MCP server for integration with various AI clients (e.g., Claude Code, Codex).
03Supports built-in command filtering with configurable reduction levels and full original context recovery.
04Reduces verbose AI coding output with intelligent filtering and output budgeting.
05Offers a macOS desktop companion for real-time token reduction monitoring, model quota tracking, and usage history.
065 GitHub stars

使用案例

01Streamlining AI agent context by filtering out irrelevant command outputs from tests, builds, or diffs.
02Optimizing token consumption for AI coding assistants to manage API rate limits and costs.
03Maintaining and retrieving specific task context and progress notes for complex coding projects.