aiagent.club
中文
npm package

context-mode

Updated 2026-09-12 View source ↗

#92 of 203 by Downloads / week among npm packages

14.4k Downloads / week

MCP plugin that saves 98% of your context window. Works with Claude Code, Gemini CLI, VS Code Copilot, OpenCode, and Codex CLI. Sandboxed code execution, FTS5 knowledge base, and intent-driven search.

About

Every MCP tool call dumps raw data into your context window. A Playwright snapshot costs 56 KB. Twenty GitHub issues cost 59 KB. One access log — 45 KB. After 30 minutes, 40% of your context is gone. And when the agent compacts the conversation to free space, it forgets which files it was editing, what tasks are in progress, and what you last asked for. On top of that, the agent wastes output tokens on filler, pleasantries, and verbose explanations — burning context from both sides.

Context Mode is an MCP server that solves all four sides of this problem:

Platforms are grouped by install complexity. Hook-capable platforms get automatic routing enforcement. Non-hook platforms need a…

Excerpted from www.npmjs.com/package/context-mode

Latest metrics

Downloads / week 14.4k 2026-09-12