whereismyai
Claude Code Mode
Claude Code Mode is a Claude Code plugin that executes model-written JavaScript programs in a sandbox for MCP tools.
Claude Code Mode is a plugin that changes how models interact with Model Context Protocol tools. Instead of calling tools one by one with full results entering the context, the model writes a single JavaScript program. This program runs in a sandboxed Node process with a CPU limit and no file system access, and network isolation on macOS and supported Linux systems. Only the final answer returns to the context, saving tokens. It supports hints for MCP servers, saved functions for later sessions, and standard permission rules for each tool call.
Claude Code Mode at a glance
Key features
- Executes model-written JavaScript programs in a sandbox
- Runs in a Node process with CPU limits and no file system
- Applies network isolation on macOS and supported Linux systems
- Keeps intermediate data out of the context window
- Provides short notes and hints for MCP servers
- Supports saved program functions for later sessions
- Applies standard permission rules to each MCP call
Use it for
- Query Jira issues without cluttering the context with full issue data
- Execute multiple MCP tool calls inside a single sandboxed program
- Filter and join tool results before returning them to the model context
Companions
Tools that articles about Claude Code Mode recommend using with it, each with its job.
- Claude Code — Built to work with Claude Code.
- Context7 — Provides up-to-date documentation for AI agents and code editors.
- Playwright MCP — Enables LLMs to interact with web pages using structured accessibility snapshots.
- GitHub MCP Server — Reads pull requests, issues and code search on GitHub.
- Superpowers — Brainstorm, plan and execute skills for bigger tasks.
- gstack — Skill bundle for planning, review and shipping.
Alternatives to Claude Code Mode
- Claude Context — It reduces token costs and provides deep context for large codebases.
- mcp-router — Reduces Claude Code tokens by 13% to 44% using tool search and JSON shaping
- Edgee Mod for Claude Code — Manage models and track token cost savings inside your terminal conversation.
- My Claude Code Mods — Adds detailed session profiling, timeline snapshots, and loop detection to Claude Code.
- Claude Code mods — Add live lines above the prompt, command guards, panes, and games to Claude Code.
- claudecode.nvim — Adds native AI coding assistant functionality to Neovim.
- Claude Mods — Improves readability of model output and tool calls.
- Claude HUD — Shows real-time context usage, rate limits, and agent activity inside your terminal.
- Claude Code Workflows — Provides pre-built, automated workflows for Claude Code development processes.
- Context Mode — Saves up to 98 percent of context per session by keeping raw data out of the LLM.
- opcode — Turns terminal Claude Code workflows into an intuitive visual interface.
- phonebook — Query another repository's Claude Code session directly from your current workspace.
All Claude Code Mode alternatives