Context Mode

Developer tools

Free, local plugin that keeps tool output out of your coding agent's context window. Sandbox and SQLite FTS5 search, 99% fewer bytes in context. Works with Claude Code, Codex, Pi, OMP, OpenCode, Gemini CLI, Copilot CLI and 4 more agents. Zero telemetry.

Your AI app calls the Context Mode MCP server, which does the developer tools work and sends the result back to the chat.

About Context Mode

Context Mode is a community MCP server from mksglu, filed in our directory under developer tools. Free, local plugin that keeps tool output out of your coding agent's context window. Sandbox and SQLite FTS5 search, 99% fewer bytes in context. Works with Claude Code, Codex, Pi, OMP, OpenCode, Gemini CLI, Copilot CLI and 4 more agents. Zero telemetry.

Context Mode runs on your own machine: your AI app starts it with the command npx -y @context-mode/cli and talks to it over standard input and output.

At a glance

Publisher
mksglu (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @context-mode/cli
Written in
JavaScript
GitHub stars
34,697

How to set up Context Mode

  1. Install Node.js on the machine that runs your AI app, because Context Mode starts with npx and downloads its package on first run.
  2. Check the Context Mode README for keys or settings; the registry lists none that Context Mode requires.
  3. Add Context Mode to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Context Mode tools to confirm the connection.
  5. Run one read-only task with Context Mode first, and keep your app asking before each tool call until the results look right.

Context Mode compared with similar servers

  • Repomix by yamadashy has fewer GitHub stars than Context Mode (29.6k against 34.7k); both are community servers, and both run locally.
  • GitHub by github has more GitHub stars than Context Mode (34.9k against 34.7k); GitHub is official while Context Mode is a community server, and GitHub runs as a remote server and Context Mode runs on your own machine.
  • XERJ by xerj-org has fewer GitHub stars than Context Mode (23.4k against 34.7k); both are community servers, and both run locally.

Before you connect Context Mode

  • Give Context Mode its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Context Mode tool call until you trust what it does with them.
  • Treat text that Context Mode fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Context Mode on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Context Mode

How marketing and sales teams put Context Mode to work, by company size. Pick the size closest to yours and start Context Mode on one use case.

Small business

  • A small business with a developer can use Context Mode to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Context Mode to explain and fix a marketing site issue without context switching between tools.
  • Context Mode runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Context Mode to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Context Mode to keep scripts and automations documented and versioned as they change.
  • Start Context Mode on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Context Mode with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Context Mode so web and marketing engineering share one reviewed way of working with AI.
  • Context Mode is a community server, so have security review the code and pin a version before Context Mode touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Context Mode README

Context Mode's repository lists no open license, so we don't copy its README. Read it on GitHub at mksglu/context-mode.

Questions about Context Mode

What is the Context Mode MCP server?

Free, local plugin that keeps tool output out of your coding agent's context window. Sandbox and SQLite FTS5 search, 99% fewer bytes in context. Works with Claude Code, Codex, Pi, OMP, OpenCode, Gemini CLI, Copilot CLI and 4 more agents. Zero telemetry. Context Mode is maintained by mksglu on GitHub at mksglu/context-mode, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Context Mode MCP server?

Add Context Mode to your AI app's MCP config with the command npx -y @context-mode/cli. In Claude Code, run claude mcp add --transport stdio context-mode -- npx -y @context-mode/cli. To run Context Mode this way you need Node.js installed.

Does Context Mode need an API key?

The registry lists no required keys for Context Mode. Check the Context Mode README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Context Mode an official MCP server?

No. Context Mode is a community server maintained by mksglu. Community servers can be excellent; read the code and the open issues before you give Context Mode access to company data.