mksglu/context-mode
Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and enforces routing across 17 platforms via MCP + hooks. observed · 2026-10-19
Health v2 · maintenance only
73/100
- Activity 100
- Release rhythm 71
- Longevity 17
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 239
- days_rel: 113
- days_push: 2
- n_releases_24m: 195
Adoption not part of the score
30787 stars · 2281 forks observed · 2026-10-19
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
An open-source MCP plugin that optimizes AI coding agent context windows by intercepting large tool outputs, storing them in a local FTS5 index, and letting the agent search instead of re-sending raw data. It also persists session memory and enforces routing across 17 AI platforms including Claude Code, Cursor, Copilot, and Codex.
Use cases
- reduce token usage in claude code
- stop ai agent from burning context window
- sandbox tool output for llm agents
- persist session memory across ai coding sessions
- make copilot or cursor use fewer tokens
- search tool output instead of resending it
- optimize mcp server context
- cut llm api costs for coding agents
When to choose
- you use AI coding agents heavily and hit context window limits
- you want to reduce LLM input token costs from repeated tool output
- you need session memory persistence across agent resets
- you work across multiple AI coding tools and want consistent context handling
When to avoid
- you need a permissively licensed dependency (it uses Elastic License 2.0)
- you want a fully managed cloud analytics platform rather than a local plugin
- your agent workflows involve minimal tool output and context is not a bottleneck
Facets
plugin · maturity active
mcp caching search-engine developer-tools llm-inference developer-tools large-language-models cli cross-platform context-window-optimization mcp-server claude-code ai-coding-agents token-savings session-memory tool-output-sandboxing fts5 cursor copilot ai-agents nodejs docker
4 sources
- readme: https://github.com/mksglu/context-mode · fetched 2026-10-19 · 164daee9bd0a
- homepage: https://context-mode.com · fetched 2026-09-28 · 344f0b586570
- site_page: https://context-mode.com/context-saving · fetched 2026-09-28 · a7fa99d0b6d2
- site_page: https://context-mode.com/insight · fetched 2026-09-28 · 0184e1a19595
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mksglu/context-mode | main | 73 |
For agents
markdown · JSON · MCP: product_card(name="mksglu/context-mode")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem