context-mode
by mksglu
Context Mode is an add-on for AI coding assistants such as Claude Code, Gemini CLI and Cursor. It keeps bulky tool output out of the assistant's working memory and remembers what you were doing when a long conversation is compacted.
- Stars
- 32.5k
- Licence
- Elastic
- Runs on
- Your computer
- Setup
- Moderate
- Language
- TypeScript
- Age
- 246 days
What you can do with it
- Cut the amount of raw data that tool calls push into an AI assistant's context window
- Keep track of file edits, tasks and decisions so the assistant picks up where it left off after compaction
- Index local files or web pages and search them later from within the assistant
Make money with it
A freelance developer could use it to get more done per AI session and so take on more client work at the same subscription or API cost.
An idea, not financial advice. Check the licence before charging for anything built on it.
Ways a business could use it
- Lower the token use, and so the cost, of paid AI coding assistants on long projects
- Let a freelance developer work through large codebases or logs in one session without losing track of progress
Can you use it commercially?
Not open source (Elastic licence). Usually free to use for your own business, but you can't resell it or offer it as a hosted service. Read the licence.
Not legal advice. Read the project's licence file before building a product on it.
Getting it running
For Claude Code, install it as a plugin with two slash commands, or add it as an MCP server with npx; other tools need npm install -g context-mode plus a config edit.
Follow the official instructions in the project README.
Things to check
- Licence is not clearly stated (listed as NOASSERTION), so check before commercial use
- Needs an existing AI coding assistant, which may itself be paid
- Requires Node.js 22.5 or later (or Bun) on some platforms
- Includes a link to a hosted analytics dashboard for teams, so check what data it sends before using it
Who's talking about it
Checked 27 Oct 2026. Summary drafted by AI from the project's README.