Context Mode
UnclaimedContext window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and enforces routing across 17 platforms via MCP + hooks.
Install
claude mcp add context-mode -- npx -y context-modeSet up this server
More in AI & ML
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
10 of 10 tools
Documented tools (10)
From project documentation. A server handshake does not verify each tool’s description or behavior.
ctx_batch_execute
Run multiple commands + search multiple queries in ONE call. Opt-in concurrency: 1-8 for I/O-bound batches.
ctx_doctor
Diagnose installation: runtimes, hooks, FTS5, versions.
ctx_execute
Run code in 12 languages. Only stdout enters context.
ctx_execute_file
Process files in sandbox. Raw content never leaves.
ctx_fetch_and_index
Fetch URL, chunk and index. Cache reuses content within TTL (default 24h, override per-call with ttl: <ms>). ttl: 0 or force: true to bypass. Pass requests: [{url, source}, ...] + concurrency: 1-8 for parallel multi-URL.
ctx_index
Chunk markdown into FTS5 with BM25 ranking.
ctx_purge
Permanently deletes all indexed content from the knowledge base.
ctx_search
Query indexed content with multiple queries in one call.
ctx_stats
Show context savings, call counts, and session statistics.
ctx_upgrade
Upgrade to latest version from GitHub, rebuild, reconfigure hooks.
Tool change history
FAQ
Questions about Context Mode MCP Server
- How do I connect Context Mode MCP Server to Claude?
- The listing records `claude mcp add context-mode -- npx -y context-mode` as its setup step. Run it, then follow the repository's instructions for the client configuration; the listing names Claude Code, Cursor, VS Code as compatible clients.
- Is Context Mode MCP Server free?
- MCPVault has not verified a licence for this server. Check the upstream terms and pricing before use; connected APIs may require a paid account.
- What can Context Mode MCP Server do?
- Context Mode MCP Server documents 10 tools to the agent, including ctx_batch_execute, ctx_doctor, ctx_execute. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.