Claude Code v2.1.30: PDF Tools, OAuth & Performance
Claude Code v2.1.30 introduces selective PDF page reading, pre-configured OAuth credentials for MCP servers, debugging tools, and significant performance optimizations.
Claude Code v2.1.30: Enhanced PDF Tools, OAuth Support, and Performance Improvements
Claude Code v2.1.30 brings a substantial collection of improvements focused on productivity, performance, and user experience. This release introduces intelligent PDF handling, streamlined OAuth integration for MCP servers, and debugging capabilities alongside numerous bug fixes and optimizations.
What’s New
Enhanced PDF Handling
The Read tool now supports a pages parameter for PDFs, allowing you to target specific page ranges (e.g., pages: "1-5"). Large PDFs over 10 pages now return lightweight references when mentioned with @ instead of being fully inlined into context, dramatically reducing token usage for document-heavy workflows.
Improved MCP Server Integration
MCP servers that don’t support Dynamic Client Registration (like Slack) can now use pre-configured OAuth client credentials. Simply use --client-id and --client-secret flags with claude mcp add to streamline your integrations.
New Debugging Capabilities
A new /debug command allows Claude to help troubleshoot your current session, making it easier to identify and resolve issues during development workflows.
Enhanced Git Integration
Read-only mode now supports additional git log and git show flags including --topo-order, --cherry-pick, --format, and --raw, giving you more flexibility in examining repository history.
Performance Optimizations
- 68% memory reduction for
--resumeoperations through stat-based loading and progressive enrichment - Improved Task tool with token count, tool usage, and duration metrics
- Better TaskStop tool messaging showing actual command descriptions instead of generic messages
/modelcommand now executes immediately rather than being queued
VSCode Improvements
- Multiline input support in “Other” text fields (use Shift+Enter for new lines)
- Fixed duplicate session listings when starting new conversations
Critical Bug Fixes
- Eliminated phantom “(no content)” text blocks in API conversation history
- Fixed prompt cache invalidation issues with tool schema changes
- Resolved 400 errors after
/loginwith thinking blocks - Fixed session hangs from corrupted transcript files
- Corrected rate limit messages for Max 20x users
- Restored bash command functionality for Windows users with
.bashrcfiles
How to Update
Update to v2.1.30 using your preferred package manager:
# Using pip
pip install --upgrade claude-code
# Using conda
conda update claude-code
# Using homebrew (macOS)
brew upgrade claude-code
Verify your installation:
claude --version