Feed aggregator

Show HN: Save Context from MCP Bloat

Hacker News - Sun, 05/17/2026 - 1:43am

While doing some work recently I didn't notice that a project I didn't touch for a while was using playwright-mcp instead of playwright-cli. I only noticed it because context was getting full unreasonably fast. I've realized that one of the main differences is that agent would pipe CLI results to some filter right away, but this was not possible with MCP, so it would get whole a11y snapshot of the page every time.

I've created a small wrapper for MCP servers that checks response sizes and forces agent to use filter on the response if response is large enough. In my tests (https://github.com/healqq/mcp-content-guard/blob/main/bench/...) it managed to save a decent amount of tokens while solving certain tasks (while added a bit of overhead in other tasks).

It works with both local and remote MCPs. Would be happy to hear your feedback and if that could be valuable for you!

Comments URL: https://news.ycombinator.com/item?id=48166327

Points: 1

# Comments: 0

Categories: Hacker News

The Mythical Agent-Month

Hacker News - Sun, 05/17/2026 - 1:30am
Categories: Hacker News

Show HN: Codiff, a local diff review tool

Hacker News - Sun, 05/17/2026 - 1:30am

Nowadays I review a lot of code locally that was written by llms. I used to review my own code using git + delta. It started to feel limiting with the amount of code written by llms.

When looking at a large diff on Friday I pointed an llm at diffs.com and trees.software and told it to build an app. It only took 16 minutes, is extremely fast for large diffs, beautiful and minimal.

Today I polished it up and added all the features that I need. It has file filters, search, an llm walkthrough mode, and review comments that you can paste back into your llm.

I will be using Codiff a lot, and can finally review the large diff from Friday that led me to build this If you like it, fork it!

Comments URL: https://news.ycombinator.com/item?id=48166275

Points: 3

# Comments: 2

Categories: Hacker News

Pages