{"version":"2.1.285","anchor":"new-claude-code-disable-web-fetch-env-var-turns-off-the-webf","canonical_anchor":"new-claude-code-disable-web-fetch-env-var-turns-off-the-webf","heading":"Turn off web page fetching with CLAUDE_CODE_DISABLE_WEB_FETCH","tier":"use","area":"Web Fetch","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.285\/e\/new-claude-code-disable-web-fetch-env-var-turns-off-the-webf","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.285","markdown":"### Turn off web page fetching with CLAUDE_CODE_DISABLE_WEB_FETCH\n\nSetting the environment variable CLAUDE_CODE_DISABLE_WEB_FETCH turns off WebFetch, the tool Claude uses to download web pages\n\n**Unclear.** Other parts of Claude Code also read this variable, and it is not clear what it changes there.\n\n**What**\n\nClaude Code now reads a new environment variable, `CLAUDE_CODE_DISABLE_WEB_FETCH`. An environment variable is a named value you set in your shell or system before starting Claude Code. When this one is set, the WebFetch tool is turned off. WebFetch is the tool Claude uses to download a web page and read it.\n\n**Why**\n\nIt gives you, or an administrator, a simple way to stop Claude Code from fetching web pages.\n\n- Area: Web Fetch\n- Names: `CLAUDE_CODE_DISABLE_WEB_FETCH`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 2\/5"}