Skip to main content

WebSearch Fallback

Third-party profiles cannot use Anthropic’s native WebSearch. CCS provides automatic web search via CLI tools with intelligent fallback.

Overview

CCS intercepts WebSearch requests from Claude Code and routes them through available CLI tools.
WebSearch Configuration - Dark

How It Works

Fallback Chain

CCS tries tools in priority order until one succeeds:

Configuration

Configure via dashboard (Settings page) or ~/.ccs/config.yaml:
CCS resolves one configuration snapshot for each new Claude launch. Provisioning, hook environment, and steering for that launch all use the same snapshot; a later config edit does not change the already prepared session. If you set websearch.enabled: false, third-party Claude launches still keep native WebSearch disallowed. CCS omits its steering prompt and marks the managed hook to skip execution for that launch, so no active WebSearch hook state or provider fallback runs.

Setup

1

Install Gemini CLI

2

Authenticate

Run once to complete OAuth:
3

Verify

Check that websearch works:

Provider Details

  • Auth: Free OAuth
  • Limit: Varies
  • Quality: Good for code-related searches
  • Setup: Follow installer prompts
  • Auth: Requires XAI_API_KEY
  • Limit: Based on API plan
  • Quality: Real-time web access
  • Setup: Set env var and install

Troubleshooting

Verify CLI tools are installed:
Re-authenticate the failing tool:
Switch to a faster fallback:
Gemini CLI is recommended - free OAuth authentication with 1000 requests/day. Just run gemini once to authenticate via browser.