frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Mcptoon – Token-efficient MCP CLI client

https://github.com/activeing123/mcptoon
25•mcptokensaver•1h ago

Comments

dthedavid•1h ago
How does it work? Im building a video editor and right now it has access to nearly 100 tools. Would be good to learn the techniques you used to make tool discovery more efficient.
arjie•1h ago
The readme has some examples for what it does. It doesn’t list the entire schema (noisy). Instead it uses shorthand. Perhaps a sufficiently smart agent can do this.
Zinu•53m ago
I don’t think the Show Me section makes sense, the TOON variant clearly doesn’t have the same information. And the examples in the “How TOON works” section focuses on number of characters instead of tokens. I would think “null” is a single token anyway, why bother replacing it with an uncommon character?
vasco•51m ago
I really doubt that null and \n make any sense to replace with non ascii symbols. They are both most likely already a token only and for other purposes at least \n becomes larger as a symbol.
bythreads•50m ago
Sorry, isnt this just compression? Lookups burn tokens just on the other end?
hnlmorg•41m ago
I really think we’ve missed a trick using JSON instead of SExpressions as the default marshaller for AI tool use.
wannabe44•47m ago
I am not going to trust a single number thrown by these AI hustlers written in that salesman voice.

Leave alone 97%.

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

This is a problem with your tool design. Most MCPs are fully vibe coded without any thought about tool selection.

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

Tool output is not "syntax" you donkey clanker.

Again, use the code approach, let the LLM filter out the JSON using tools. This TOON thing is just vibes. Most of the time your tool output should not even be JSON. It should be well formatted markdown. In cases where it's large structured data, your LLM should have tools (code / jq) to dissect it. So TOON is pointless.

ameshkov•34m ago
I made an MCP proxy with a similar idea in the past: replace a ton of tools that consume tokens with just two (get_tool_schema, invoke_tool) - https://github.com/ameshkov/mcp-compress-router

One thing that I noticed is that it’s often better to return tool names with argument names, i.e. return “search_web(query)” instead of just “search_web” when listing tools. Otherwise models often tend to hallucinate argument names and an extra turn is required to correct the mistake.

One additional advantage that such tools provide is that when you use different coding agents you don’t have to set up all the MCP servers in every agent, you just set up one (or point the agent to the cli like in this project).

bobkinartem•22m ago
I thought Codex and Claude Code agents are already token-efficient so writing agents that saves tokens is pointless.
Loic•22m ago
I spent more than one week, as a side project, to add an MCP server to my Cheméo website. Only 4 tools.

It took me way more time than expected, I was thinking: "Just wrap the REST API, 2h, done".

The MCP payload has nothing to do with the REST API one. Because you need to make it interpretable and context efficient even so it is structured data.

It was really interesting work and I suppose very little people are taking the time to rethink what is sent over the wire while creating a MCP server. If so, we would not have MCPs with the minimal payload being 500kB of JSON soup.

If you send my MCP through your "save token filter", I can guarantee you, that you will have trash down the line.

alxhslm•20m ago
Don’t quite see the point of this. It is well known that MCP is a bit bloated for coding agents at least.

But, why not just use CLIs for each tool? That seems to be where things are going anyway

And using MCP as an internal communication method seems odd when you could use the APIs directly

debazel•3m ago
Why is it replacing true/false with T/F? true/false is already 1 token in all tokenizer I've seen. Even worse is replacing null with ∅. ∅ is a special unicode symbol that takes up 2 tokens compared to the 1 token for null...
notpushkin•2m ago
Cool! Can we get a human-efficient MCP CLI while at it? I want to be able to use MCP just as well as the LLMs can.

Show HN: Mcptoon – Token-efficient MCP CLI client

https://github.com/activeing123/mcptoon
25•mcptokensaver•1h ago•13 comments

Show HN: Scroll through all 43252003274489856000 Rubik's Cube states

https://everycube.alen.is/
161•Alen123•7h ago•50 comments

Show HN: Needle2: 14MB agentic LLM for phones, wearables, smart home and robots

https://cactuscompute.com/needle
288•HenryNdubuaku•13h ago•106 comments

Show HN: Ante, a coding agent in a single binary that runs offline

https://github.com/AntigmaLabs/ante
126•ubermon•15h ago•76 comments

Show HN: ConfigLedger -Find configuration drift across code, CI, Docker and docs

https://github.com/DevFoundry-labs/configledger/
2•DevFoundry-labs•1h ago•0 comments

Show HN: NiceShot AI – The analytics layer competitive games forgot to add

https://github.com/karimm-ai/NiceShot_AI
2•niceshot-ai•1h ago•0 comments

Show HN: My local climbing gym from photogrammetry

https://kmcheung12.github.io/climb-preview/tour/ae43c6e5
22•a_c•9h ago•3 comments

Show HN: I vibecoded a heavy lift drone

https://lukeiseman.substack.com/p/i-vibecoded-a-drone
8•liseman•2h ago•0 comments

Show HN: Seedle, daily -dle for Minecraft seeds

https://seedle.loch.tools/
2•lwansbrough•3h ago•0 comments

Show HN: Voice driven murder mystery, Interview AI suspects with your voice

https://www.whodunnitai.com/
199•MrRowTheBoat•1d ago•80 comments

Show HN: AI Pulse a fake LED strip beside the macOS Dock that shows agent status

https://github.com/leog/ai-pulse
13•leog_me•8h ago•4 comments

Show HN: A tiny LLM running at 21,000 tok/s on a $250 FPGA (Live Demo)

https://www.mikeayles.com/blog/on-chip-llm-kv260/
51•mikeayles•19h ago•18 comments

Show HN: Higher-dimensional lattices unfolded into the 2D plane

https://number-garden.com/?@THLP@
16•unitX•4d ago•1 comments

Show HN: Insidedb, an interactive, animated explainer of database internals

https://david-g-3654.github.io/insidedb/
5•davai-g•5h ago•0 comments

Show HN: A Project Oberon System version running on RISC-V instead of RISC-5

https://github.com/rochus-keller/OberonSystem/tree/op2-rv32
119•Rochus•1d ago•19 comments

Show HN: Graph2agent; Mermaid diagrams, explained for agents

https://graph2agent.github.io/
4•alexandroskyr•9h ago•0 comments

Show HN: Opencodex, a free open-source coding agent for VSCode

https://github.com/matonhp5108/Opencodex
5•thephantomhider•7h ago•1 comments

Show HN: PicPocket – Dedicated 'chats' for photo-sharing (share to organize)

https://picpocket.io/
5•amr_shawky•14h ago•0 comments

Show HN: Pyrig – A tool that automates project setup and maintenance

https://github.com/Winipedia/pyrig
5•Winipedia•8h ago•1 comments

Show HN: Design Engineering, as a Service

https://designshippers.com/?0
13•krm01•17h ago•8 comments

Show HN: Typegres 0.3 – SQL-as-your-API, safely (using Cap'n Web RPC)

https://typegres.com/
3•ryanrasti•9h ago•0 comments

Show HN: Calldiff – a CLI to see callstack diffs in all major languages

https://github.com/tanishqkancharla/calldiff
2•tanishqkanc•9h ago•0 comments

Show HN: Keen Code – an agentic-engineered coding agent

https://github.com/mochow13/keen-code
6•mochow13•9h ago•2 comments

Show HN: I made alchemical-cosmological PCB badges

https://github.com/KaiPereira/Alchemical-Cosmological-Badges
22•kaipereira•5d ago•3 comments

Show HN: 100% native Swift harness (NOT Electron)

https://github.com/Lore-Hex/QuillCode
12•ljlolel•17h ago•5 comments

Show HN: Watching browser fingerprinting calls via Chromium's Blink layer

https://kameleo.io/blog/this-is-the-closest-well-ever-get-to-reverse-engineering-anti-bots
12•brnbs•21h ago•0 comments

Show HN: Airy – Free, fast, and simple voice content creation

https://airy.so
45•login588•1d ago•16 comments

Show HN: Neolabs.fyi – 100 new AI labs by research area, valuation, and more

https://neolabs.fyi/
8•polyphilz•16h ago•2 comments

Show HN: DocSift convert a PDF once, give the model only the passages it needs

https://github.com/anishmoncivarghese/docsift
3•anishvarghese•16h ago•0 comments

Show HN: Hawser – sign, notarize, DMG, auto-update and license a Mac app

https://hawserkit.com/
3•yaveez•17h ago•0 comments