Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
Post image 6
Post image 7
Post image 8
Post image 9
Post image 10
1 / 10
73

GitHub - activeing123/mcptoon: Token-efficient MCP CLI client. 97% less tokens on tool discovery, 40-60% on results. Zero deps. Cross-platform. Works with every AI agent.

Hacker News·Hacker News·about 1 month ago
#ukcveTqE
#github#mcptoon#json#toon#fetch#tool
Reading 0:00
15s threshold

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. 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% Zero dependencies.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More