Directory · MCP servers
Context Mode
MCP server and hooks that sandbox tool output, persist session memory, and route agent tool calls to save context window space.
★ 34,558 stars · last updated 2026-11-28 · Free, open source · View on GitHub
Best for
- Claude Code users running long sessions that hit context limits or compaction
- Workflows with large tool outputs like Playwright snapshots, logs, or GitHub issue lists
- Teams using multiple agents (Gemini CLI, Codex, Cursor, OpenCode and others) wanting one context tool
- Resuming work after compaction via SQLite and FTS5 indexed session events
Install
/plugin marketplace add mksglu/context-mode
/plugin install context-mode@context-mode
Our take
Provides 11 MCP tools (sandboxed execute, index, search, fetch, plus stats and diagnostics) and registers Claude Code hooks to nudge the model away from raw Bash/Read/WebFetch; an MCP-only install via `claude mcp add context-mode -- npx -y context-mode` is also available. Licensed under Elastic License 2.0 (source-available, not OSI open source), and the 98% reduction figure is the project's own benchmark. Includes a hosted Insight analytics dashboard; non-Claude platforms require Node.js 22.5+ or Bun and manual config.
Similar mcp servers
- n8n: Self-hostable workflow automation platform for building AI agents and workflows with a visual canvas, custom code, and 1500+ integrations.
- Gemini CLI: Open-source terminal coding agent from Google that runs Gemini models and acts as an MCP client for custom tools.
- Scrapling: Python web scraping framework with stealth browsers, parsing, and crawling, plus an MCP server so AI agents can fetch and extract web data.
- World Monitor: Real-time geopolitical, news, finance, and infrastructure dashboard with a hosted MCP server that agents can query for global intelligence data.
- Ruflo (formerly Claude Flow): Agent harness for Claude Code and Codex adding multi-agent swarms, persistent memory, hooks, a console, and an MCP server.
- Context7: MCP server and CLI that feeds up-to-date, version-specific library docs and code examples into coding agents like Claude Code and Cursor.