# Context Mode – 315 KB of MCP output becomes 5.4 KB in Claud…

Every MCP tool call dumps raw data into Claude Code's 200K 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 re…

- **Page:** https://magpie.gallery/i/context-mode-315-kb-of-mcp-output-becomes-5-4-kb-i-wh6c
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Tags:** mcp, context, claude-code, sandbox, search

## Source

Web · mksglu: Context Mode – 315 KB of MCP output becomes 5.4 KB in Claude Code

- **Original:** https://news.ycombinator.com/item?id=47148025

> Every MCP tool call dumps raw data into Claude Code's 200K 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. It supports 10 language runtimes, SQLite FTS5 with BM25 ranking for search, and batch execution. Session time before slowdown goes from ~30 min to ~3 hours. MIT licensed, single command install: /plugin marketplace add mksglu/claude-context-mode /plugin install context-mode@claude-context-mode Benchmarks and source: https://github.com/mksglu/claude-context-mode Would love feedback from anyone hitting context limits in Claude Code. https://github.com/mksglu/claude-context-mode

## GitHub projects

- https://github.com/mksglu/claude-context-mode

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
