Main Menu
  • Tools
  • Developers
  • Topics
  • Discussions
  • Communities
  • News
  • Blogs
  • Builds
  • Contests
  • Compare
  • Arena
Create
    EveryDev.ai
    Sign inSubscribe
    Home
    Tools

    2,205+ AI tools

    • New
    • Trending
    • Featured
    • Compare
    • Arena
    Categories
    • Agents1369
    • Coding1086
    • Infrastructure472
    • Marketing420
    • Design383
    • Projects348
    • Research325
    • Analytics323
    • Testing206
    • MCP183
    • Data181
    • Security178
    • Integration172
    • Learning148
    • Communication133
    • Prompts130
    • Extensions123
    • Commerce118
    • Voice111
    • DevOps96
    • Web73
    • Finance20
    1. Home
    2. Tools
    3. Context Mode
    Context Mode icon

    Context Mode

    MCP Servers

    An MCP server that optimizes AI coding agent context windows by sandboxing tool output, achieving up to 98% context reduction across 14 platforms.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open source under Elastic License 2.0. Install via npm, use on all 14 supported platforms with no account required.

    Engagement

    Available On

    Windows
    macOS
    Linux
    Web
    API

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    MCP ServersContext EngineeringAI Coding Assistants

    Alternatives

    GitMCPNuxt MCPMicrosoft Agent Skills
    Developer
    mksgluLondon, United KingdomEst. 2025

    Listed May 2026

    About Context Mode

    Context Mode is an MCP server that solves the context window problem for AI coding agents by sandboxing raw tool output, maintaining session continuity across compactions, and compressing LLM output tokens. It supports 14 platforms including Claude Code, Cursor, VS Code Copilot, Gemini CLI, and more, delivering up to 98% context savings on tool outputs like Playwright snapshots, GitHub issues, and log files. The tool operates entirely locally with no telemetry, no cloud sync, and no account required.

    • Context Saving via Sandbox Tools — Install globally with npm install -g context-mode, then add the MCP server to your platform config. Raw tool output (e.g., 56 KB Playwright snapshots) is processed in an isolated subprocess; only stdout enters the context window, achieving up to 99% reduction.
    • Session Continuity — Hooks (PreToolUse, PostToolUse, PreCompact, SessionStart) capture every file edit, git operation, task, error, and user decision into a local SQLite database. After context compaction, the model resumes from your last prompt with full working state restored.
    • Think in Code Paradigm — Instead of reading 50 files into context, the agent writes a script that processes them and logs only the result. One ctx_execute call replaces dozens of Read/Bash calls, saving 100x context.
    • Output Compression — Enforces terse, caveman-style responses from the LLM — dropping filler, pleasantries, and hedging — achieving 65–75% output token reduction while preserving full technical accuracy.
    • 11 Sandbox Runtimes — ctx_execute supports JavaScript, TypeScript, Python, Shell, Ruby, Go, Rust, PHP, Perl, R, and Elixir. Bun is auto-detected for 3–5x faster JS/TS execution.
    • FTS5 Knowledge Base — ctx_index and ctx_fetch_and_index chunk and store content in SQLite FTS5 with BM25 ranking, Porter stemming, trigram search, Reciprocal Rank Fusion, and a 24-hour TTL cache for fetched URLs.
    • Personal Analytics Dashboard — ctx_insight opens a local web UI with 90 metrics, 37 insight patterns, and 4 composite scores (productivity, quality, delegation, context health) across 23 event categories.
    • Security & Permission Enforcement — Inherits Claude Code's permissions.deny/allow rules and extends them into the MCP sandbox. Network fetch hardening blocks cloud metadata endpoints, dangerous URL schemes, and optionally RFC1918 ranges via CTX_FETCH_STRICT=1.
    • 14-Platform Support — Works with Claude Code (plugin marketplace), Cursor, VS Code Copilot, JetBrains Copilot, Gemini CLI, OpenCode, KiloCode, OpenClaw, Codex CLI, Qwen Code, Antigravity, Kiro, Zed, and Pi Coding Agent.
    Context Mode - 1

    Community Discussions

    Be the first to start a conversation about Context Mode

    Share your experience with Context Mode, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open source under Elastic License 2.0. Install via npm, use on all 14 supported platforms with no account required.

    • All 11 MCP tools (ctx_execute, ctx_batch_execute, ctx_execute_file, ctx_index, ctx_search, ctx_fetch_and_index, ctx_stats, ctx_doctor, ctx_upgrade, ctx_purge, ctx_insight)
    • 14-platform support
    • Session continuity via SQLite
    • FTS5 knowledge base with BM25 ranking
    • Personal analytics dashboard

    Capabilities

    Key Features

    • Context window sandboxing with up to 99% output reduction
    • Session continuity across context compactions via SQLite event tracking
    • Think in Code paradigm — agent writes scripts instead of reading files
    • 65–75% output token compression via terse response enforcement
    • 11 sandbox language runtimes (JS, TS, Python, Shell, Ruby, Go, Rust, PHP, Perl, R, Elixir)
    • FTS5 knowledge base with BM25 ranking, Porter stemming, and trigram search
    • Reciprocal Rank Fusion for multi-strategy search merging
    • 24-hour TTL cache for fetched and indexed URLs
    • Personal analytics dashboard with 90 metrics and 4 composite scores
    • Security permission enforcement inherited from Claude Code settings
    • Network fetch hardening blocking cloud metadata and dangerous URL schemes
    • 14-platform support including Claude Code, Cursor, VS Code Copilot, Gemini CLI, and more
    • Automatic Bun detection for 3–5x faster JS/TS sandbox execution
    • No telemetry, no cloud sync, fully local SQLite storage

    Integrations

    Claude Code
    Cursor
    VS Code Copilot
    JetBrains Copilot
    Gemini CLI
    OpenCode
    KiloCode
    OpenClaw
    Codex CLI
    Qwen Code
    Antigravity
    Kiro
    Zed
    Pi Coding Agent
    npm
    Bun
    SQLite
    GitHub
    API Available
    View Docs

    Demo Video

    Context Mode Demo Video
    Watch on YouTube

    Reviews & Ratings

    No ratings yet

    Be the first to rate Context Mode and help others make informed decisions.

    Developer

    mksglu

    mksglu builds Context Mode, an open-source MCP server for AI coding agent context window optimization. The project supports 14 platforms and delivers up to 98% context reduction through sandboxed tool execution and session continuity. Development is driven by a privacy-first philosophy — no telemetry, no cloud sync, fully local.

    Founded 2025
    London, United Kingdom
    1 employees

    Used by

    57,000+ Individual Developers
    AI Startups using MCP
    Read more about mksglu
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    GitMCP icon

    GitMCP

    Open-source MCP server that transforms any GitHub repository into a documentation hub for AI assistants, reducing hallucinations and improving coding accuracy

    Nuxt MCP icon

    Nuxt MCP

    Model Context Protocol (MCP) integration for Nuxt applications, enabling AI assistants to interact with your Nuxt development environment.

    Microsoft Agent Skills icon

    Microsoft Agent Skills

    An open-source collection of 132 domain-specific skills, custom agents, AGENTS.md templates, and MCP configurations for AI coding agents working with Azure SDKs and Microsoft AI Foundry.

    Browse all tools

    Related Topics

    MCP Servers

    Model Context Protocol servers that extend AI capabilities.

    75 tools

    Context Engineering

    Techniques for optimizing context windows to improve AI responses.

    35 tools

    AI Coding Assistants

    AI tools that help write, edit, and understand code with intelligent suggestions.

    412 tools
    Browse all topics
    Back to all tools
    Explore AI Tools
    • AI Coding Assistants
    • Agent Frameworks
    • MCP Servers
    • AI Prompt Tools
    • Vibe Coding Tools
    • AI Design Tools
    • AI Database Tools
    • AI Website Builders
    • AI Testing Tools
    • LLM Evaluations
    Follow Us
    • X / Twitter
    • LinkedIn
    • Reddit
    • Discord
    • Threads
    • Bluesky
    • Mastodon
    • YouTube
    • GitHub
    • Instagram
    Get Started
    • About
    • Editorial Standards
    • Corrections & Disclosures
    • Community Guidelines
    • Advertise
    • Contact Us
    • Newsletter
    • Submit a Tool
    • Start a Discussion
    • Write A Blog
    • Share A Build
    • Terms of Service
    • Privacy Policy
    Explore with AI
    • ChatGPT
    • Gemini
    • Claude
    • Grok
    • Perplexity
    Agent Experience
    • llms.txt
    Theme
    With AI, Everyone is a Dev. EveryDev.ai © 2026
    Discussions