Show HN: Context Mode – 315 KB of MCP output becomes 5.4 KB in Claude Code
Source: Hacker News
Overview
Every MCP tool call dumps raw data into Claude Code’s 200 KB context window. A Playwright snapshot costs 56 KB, 20 GitHub issues cost 59 KB. After 30 minutes, 40 % of your context is gone.
I built an MCP server that sits between Claude Code and these outputs. It processes them in sandboxes and only returns summaries. 315 KB becomes 5.4 KB.
Features
- Supports 10 language runtimes.
- SQLite FTS5 with BM25 ranking for search.
- Batch execution.
- Extends usable session time before slowdown from ~30 min to ~3 hours.
Installation
/plugin marketplace add mksglu/claude-context-mode
/plugin install context-mode@claude-context-mode
Benchmarks & Source
- Benchmarks and source code are available at:
Feedback
I’d love feedback from anyone hitting context limits in Claude Code.
Comments URL: (Points: 11)