Claude Code v2.1.63: HTTP Hooks and a Massive Memory Leak Cleanup
Anthropic ships Claude Code v2.1.63 with HTTP hooks for external integrations, new slash commands, and fixes for over a dozen memory leaks that plagued long-running sessions.
Anthropic has released Claude Code v2.1.63, and this oneβs worth paying attention to. Alongside a handful of new features β HTTP hooks, bundled slash commands, and cross-worktree config sharing β the release tackles a staggering number of memory leaks that had been quietly eating RAM during long coding sessions.
HTTP Hooks: Webhooks for Claude Code
The headline feature is HTTP hooks. Until now, Claude Codeβs hook system was limited to running shell commands. With v2.1.63, hooks can POST JSON to a URL and receive JSON back, opening the door to direct integration with external web services and APIs without the overhead of spawning shell processes.
New Slash Commands: /simplify and /batch
Two new bundled slash commands join the lineup. /simplify does what youβd expect β asks Claude to reduce complexity in selected code. /batch enables grouping multiple operations into a single command, useful for repetitive refactoring tasks.
Git Worktree Config Sharing
For developers who work across multiple git worktrees of the same repository, project configs and auto-memory are now shared automatically. No more duplicating .claude/ settings across worktrees.
The Memory Leak Reckoning
The real story of this release is the sheer volume of memory leak fixes. Anthropicβs team clearly went on a hunt, and they found problems everywhere:
- Bridge polling loop listener leak
- MCP OAuth flow cleanup leak
- Hooks configuration menu navigation leak
- Interactive permission handler listener leak during auto-approvals
- Bash command prefix cache unbounded growth
- MCP tool/resource cache leak on server reconnect
- WebSocket transport listener leak on reconnect
- Git root detection cache unbounded growth in long sessions
- JSON parsing cache unbounded growth over time
- Teammates retaining all messages after conversation compaction
- MCP server fetch caches not cleared on disconnect
- Subagent progress payloads retained during context compaction
For anyone running extended Claude Code sessions β and especially those using MCP servers with frequent reconnections or heavy subagent workflows β this release should deliver noticeable improvements in memory consumption.
Other Improvements
- MCP OAuth fallback: Manual URL paste when localhost redirect fails
ENABLE_CLAUDEAI_MCP_SERVERS=false: New env var to opt out of claude.ai MCP servers/modelcommand: Now shows the currently active model in the menu/copycommand: Added βAlways copy full responseβ option/clearfix: Cached skills are now properly reset- VS Code: Remote sessions appear in conversation history; session rename/remove added
- REPL bridge: Fixed race condition causing message ordering issues during initial connection
How to Update
npm install -g @anthropic-ai/claude-code
After v2.1.59βs auto-memory feature and several stability patches, v2.1.63 represents a significant quality-of-life release. The memory leak fixes alone make it a must-upgrade for power users running long sessions.
Related Articles
Claude Code v2.1.51/v2.1.52: Remote Control, Security Fixes, and Plugin Improvements
Claude Code v2.1.51 introduces the remote-control subcommand for external builds, patches two security vulnerabilities in hook execution, and optimizes context window usage. v2.1.52 fixes a VS Code crash on Windows.
Claude Code v2.1.53: UI Polish and a Batch of Windows Crash Fixes
Claude Code v2.1.53 addresses a UI flicker issue, improves bulk agent kill notifications, and fixes four separate crashes affecting Windows users.
Claude Code v2.1.55: Back-to-Back Hotfixes for Windows Users
Anthropic ships v2.1.54 and v2.1.55 in quick succession, fixing a VS Code extension crash and a BashTool EINVAL error on Windows.
Popular Articles
Claude Code v2.1.93 Released - Deferred Permission Decisions, Flicker-Free Rendering, and More
Anthropic releases Claude Code v2.1.93 with deferred permission decisions for PreToolUse hooks, flicker-free rendering option, PermissionDenied hook, and named subagent typeahead support.
Claude Code v2.1.92 Released - forceRemoteSettingsRefresh, Bedrock Setup Wizard, and More
Anthropic releases Claude Code v2.1.92 with forceRemoteSettingsRefresh policy setting, AWS Bedrock setup wizard, /cost command improvements, and numerous bug fixes.
Claude Code v2.1.84 Release - PowerShell Tool Preview and Environment Configuration Enhancements
Claude Code v2.1.84 introduces PowerShell tool for Windows, new environment variable overrides for model selection, idle session handling improvements, and various stability fixes.
Latest Articles
Claude Code v2.1.93 Released - Deferred Permission Decisions, Flicker-Free Rendering, and More
Anthropic releases Claude Code v2.1.93 with deferred permission decisions for PreToolUse hooks, flicker-free rendering option, PermissionDenied hook, and named subagent typeahead support.
Claude Code v2.1.92 Released - forceRemoteSettingsRefresh, Bedrock Setup Wizard, and More
Anthropic releases Claude Code v2.1.92 with forceRemoteSettingsRefresh policy setting, AWS Bedrock setup wizard, /cost command improvements, and numerous bug fixes.
Claude Code v2.1.91 Released - MCP Tool Result Persistence and Improved Edit Tool
Claude Code v2.1.91 introduces MCP tool result persistence override, improved shell execution controls, and enhanced Edit tool efficiency.