context-mode MCP server
Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and enforces routing across 17 platforms via MCP + hooks.
What context-mode does
Summarised from the project README; check the repository for the latest details.
Tools exposed (10)
ctx_batch_execute– Run multiple commands + search multiple queries in ONE call. Opt-in `concurrency: 1-8` for I/O-bound batches.ctx_execute– Run code in 12 languages. Only stdout enters context.ctx_execute_file– Process files in sandbox. Raw content never leaves.ctx_index– Chunk markdown into FTS5 with BM25 ranking.ctx_search– Query indexed content with multiple queries in one call.ctx_fetch_and_index– Fetch URL, chunk and index. Cache reuses content within TTL (default 24h, override per-call with `ttl: `). `ttl: 0` or `force: true` to bypactx_stats– Show context savings, call counts, and session statistics.ctx_doctor– Diagnose installation: runtimes, hooks, FTS5, versions.ctx_upgrade– Upgrade to latest version from GitHub, rebuild, reconfigure hooks.ctx_purge– Permanently deletes all indexed content from the knowledge base.
Repository: mksglu/context-mode
Website: https://context-mode.com
Stars: ★29252
Language: TypeScript
Last updated: 2026-10-14
antigravityclaudeclaude-codeclaude-code-hooksclaude-code-pluginsclaude-code-skillcodexcodex-clicontext-modecopilotcursor-pluginkiromcpmcp-servermcp-toolsopenclawopencodepi-agentskillszed-extension
Website: https://context-mode.com
Stars: ★29252
Language: TypeScript
Last updated: 2026-10-14
antigravityclaudeclaude-codeclaude-code-hooksclaude-code-pluginsclaude-code-skillcodexcodex-clicontext-modecopilotcursor-pluginkiromcpmcp-servermcp-toolsopenclawopencodepi-agentskillszed-extension
How to install context-mode
No install config was found in this README. See the repository for setup steps, then follow our guides for Claude Desktop, Cursor or VS Code.
Featured in: Best MCP servers for Claude Desktop · Best MCP servers for Cursor · Best MCP servers for coding · Best MCP servers for long-term memory · Best MCP servers for TypeScript developers
Maintain this project? Get it featured for free during launch →
Related Memory & Knowledge MCP servers
ruflo by ruvnet · ★74702
🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems.
Memory & Knowledge
🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems.
Memory & Knowledge
Trail-Code by trailhq · ★10034
Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebas
Memory & Knowledge
Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebas
Memory & Knowledge
osaurus by osaurus-ai · ★8048
Own your AI. The native macOS harness for AI agents -- any model, persistent memory, autonomous execution, cryptographic identity. Built in
Memory & Knowledge
Own your AI. The native macOS harness for AI agents -- any model, persistent memory, autonomous execution, cryptographic identity. Built in
Memory & Knowledge
semble by MinishLab · ★6209
Fast and Accurate Code Search for Agents. Uses 99% fewer tokens than grep+read
Memory & Knowledge
Fast and Accurate Code Search for Agents. Uses 99% fewer tokens than grep+read
Memory & Knowledge
cortex by cortex-docs · ★3248
Cortex - Generates interactive API documentation, typed SDKs, and MCP servers from OpenAPI, AsyncAPI, GraphQL, gRPC, OpenRPC, and Markdown.
Memory & Knowledge
Cortex - Generates interactive API documentation, typed SDKs, and MCP servers from OpenAPI, AsyncAPI, GraphQL, gRPC, OpenRPC, and Markdown.
Memory & Knowledge
korean-law-mcp by chrisryugj · ★2710
법제처 국가법령정보를 LLM에서 바로 조회하는 MCP 서버. 법령·판례·조례 검색과 인용 검증 | MCP server for Korean law — search statutes, precedents, and ordinances, and verify c
Memory & Knowledge
법제처 국가법령정보를 LLM에서 바로 조회하는 MCP 서버. 법령·판례·조례 검색과 인용 검증 | MCP server for Korean law — search statutes, precedents, and ordinances, and verify c
Memory & Knowledge
Weekly MCP digest – new and trending MCP servers in your inbox.