← The log

activeing123/mcptoon

★ 344 stars

PythonLLMsClaude CodeCLI & terminal

Covered in week 2026-W34 · the 2026-08 report

One zero-dependency CLI for every MCP 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. 341KB, pure Python. | 零依赖 CLI:管所有 MCP 工具与技能,工具发现省 99.2% token。

What mcptoon is

Its own compact format does token optimization, tool discovery and context compression at once: it cuts the tool context by ~90% (99.2% on a 255-tool sample; run mcptoon status for your own number) and writes no line of config for any desktop or command-line agent.

From the repository README · read it on GitHub →

20 Aug 2026 · 0:29
mcptoon: Cut MCP Token Use by 97% (10,000 Tokens → 350)
Watch on YouTube →

Transcript

mcptoon turns verbose MCP tool discovery from 10,000 tokens down to 350. This pure Python CLI replaces JSON with TOON format, cutting tool listings by 97% and structured results by more than half. It connects to any MCP server via stdio or HTTP, supports stdin, doctor commands, fuzzy matching, and slim mode. Works with Claude Code, Cursor, CatPaw, and other AI agents across every platform.

View on GitHub