{"version":"2.1.337","anchor":"new-env-var-claude-code-endpoint-serves-web-search-registere","canonical_anchor":"new-env-var-claude-code-endpoint-serves-web-search-registere","heading":"New CLAUDE_CODE_ENDPOINT_SERVES_WEB_SEARCH environment variable","tier":"use","area":"Web Search","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/new-env-var-claude-code-endpoint-serves-web-search-registere","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### New `CLAUDE_CODE_ENDPOINT_SERVES_WEB_SEARCH` environment variable\n\n`CLAUDE_CODE_ENDPOINT_SERVES_WEB_SEARCH` appears alongside the web fetch settings; its name suggests a custom endpoint can declare it serves web search\n\n**Unclear.** What the variable does when set, and which values it accepts, is not stated.\n\n**What**\n\n`CLAUDE_CODE_ENDPOINT_SERVES_WEB_SEARCH` is a new environment variable, a named setting handed to a program when it starts. It sits in a list next to `CLAUDE_CODE_DISABLE_WEB_FETCH` and `CLAUDE_CODE_WEBFETCH_MCP_TOOL`, and several parts of Claude Code refer to it.\n\n**Why**\n\nBy its name, it would let you tell Claude Code that a custom endpoint, meaning an address other than the default one Claude Code sends requests to, provides web search.\n\n- Area: Web Search\n- Names: `CLAUDE_CODE_ENDPOINT_SERVES_WEB_SEARCH`, `CLAUDE_CODE_DISABLE_WEB_FETCH`, `CLAUDE_CODE_WEBFETCH_MCP_TOOL`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 4\/5\n- Scope: both\n- Heads-up: no"}