Skip to content
Tech News
← Back to articles

Show HN: Mcptoon – Token-efficient MCP CLI client

read original more articles
Why This Matters

Mcptoon offers a highly efficient MCP CLI client that drastically reduces token consumption by converting JSON to a more compact TOON format. This innovation addresses the significant overhead in token usage during AI agent interactions, enabling more cost-effective and faster operations across various platforms. Its simplicity, cross-platform compatibility, and zero dependencies make it a valuable tool for developers seeking to optimize their AI workflows.

Key Takeaways

mcptoon MCP tool discovery costs 10,000+ tokens. mcptoon costs 350. One MCP client for every AI agent. Cross-platform. Zero dependencies. If this saves you tokens, please star the repo — it helps others discover it. English | 中文文档 | Report Bug | Request Feature

The problem

Every MCP-enabled conversation burns tokens on syntax, not data:

Your agent connects to 5 MCP servers. Listing their tools: ~10,000 tokens of JSON.

of JSON. Your agent calls 20 tools. Each returns 500-3,000 tokens wrapped in {"content":[{"type":"text","text":"..."}]} .

. Total MCP overhead: 40,000-70,000 tokens before any actual thinking happens.

On a 128K context window, that's 30-55% gone. Not on work. On syntax.

The solution

mcptoon is a CLI client that connects to any MCP server (stdio or HTTP) and outputs TOON (Token-Optimized Object Notation) instead of JSON.

Operation JSON tokens mcptoon tokens Savings Tool discovery (96 tools) ~2,000 ~60 97% Tool result (structured data) ~800 ~350 56% Tool result (raw HTML/text) ~1,000 ~900 10%

... continue reading