ProductivityCommunity

Context Mode MCP server

Cuts down how much text a language model has to hold at once. It also helps a session carry on where it left off.

Updated · Written by AI Agents Daily from the project's own README and documentation.

Docs & setup

Starter recipes

Real tasks you can ask an agent once this server is connected.

Analyze many files cheaply

Ask the assistant to count functions or lines across your source folder. It writes a small script with ctx_execute and returns only the totals, instead of reading every file into the chat.

Try

Build a searchable notes index

Use ctx index to add a local folder of docs to the knowledge base, then use ctx search later to pull out only the passages that answer your question.

Try

Check how much you saved

Type ctx stats, or /context-mode:ctx-stats in Claude Code, to see a per-tool breakdown of tokens used and the savings ratio for your current session.

Try
Install
npx -y context-mode

Runs on your computer. Your AI client starts it with npx when it needs it.

From the project README · checked 2 Oct 2026

Downloads
590k

npm · all time since Feb 2026 · as of 2 Oct 2026

Checked 2 Oct 2026

License
ELv2

Community-maintained

Access

The assistant can run scripts it writes on your machine through the sandbox tools, so review what it runs. Hooks watch your tool calls, and file edits, git actions and decisions are stored in a local SQLite database. Use ctx purge to permanently delete indexed content. The Insight command opens a hosted dashboard in your browser.

Related MCP servers