Favicon of Context Mode

Context Mode

A local MCP plugin that reduces tool output in AI coding agents' context. Free under Elastic License 2.0, with no account or cloud requirement.

Screenshot of Context Mode website

Context Mode is a local MCP plugin for developers whose AI coding agents fill their context windows with file reads, logs, search results and other tool output. It keeps large responses in a searchable store on your machine so the agent can retrieve relevant passages instead of carrying the full output through the conversation.

The free plugin runs entirely on your machine, without a network connection, account or telemetry. It's source-available under Elastic License 2.0. It works with Claude Code, Cursor, Codex CLI, Gemini CLI and GitHub Copilot, as well as OpenCode and Zed. Capabilities differ by integration: supported hooks can enforce tool routing, while other integrations rely on instructions to the agent.

Local SQLite full-text search gives the agent access to stored material, including web pages, API responses and browser snapshots. The sandbox also applies configured command permissions, and file execution refuses paths that escape the project root. These controls extend existing restrictions to work the agent performs through the plugin.

A separate paid, hosted Platform serves engineering teams. Its Insight product uses workflow events to identify retry waste, error spikes, rework and blockers across individual, team and organization views. Forwarding is opt-in: tool names, file paths, error counts and other structural metadata go to the organization's workspace. Source code, prompt content and file content stay on developers' machines.

Similar to Context Mode