Telemetry and Model Improvement Settings
Claude Code supports environment settings for privacy-focused workflows.
Recommended Claude Code settings
Section titled “Recommended Claude Code settings”Place these under env in ~/.claude/settings.json.
{ "env": { "CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY": "1", "DISABLE_TELEMETRY": "1", "DISABLE_ERROR_REPORTING": "1" }}These settings do not disable Claude Code. They reduce optional survey prompts, error reporting, and telemetry.
The cost of DISABLE_TELEMETRY
Section titled “The cost of DISABLE_TELEMETRY”DISABLE_TELEMETRY also turns off feature-flag fetching. That makes Remote Control and its push notifications unavailable, along with other features that depend on feature flags. DISABLE_ERROR_REPORTING does not have this side effect.
If you want Remote Control, leave DISABLE_TELEMETRY out and keep the other two lines. The survey line matters in that case: surveys are already off while DISABLE_TELEMETRY is set, but not without it.
Setting DISABLE_TELEMETRY or DISABLE_ERROR_REPORTING to "0" or "false" still opts out. To turn either back on, delete the line.
DISABLE_NON_ESSENTIAL_MODEL_CALLS used to be part of this list. It no longer appears in the documentation or in the current CLI, so it has been removed.
Claude app privacy checklist
Section titled “Claude app privacy checklist”- Run
/privacy-settingsin Claude Code to view and update your privacy settings (Pro and Max plans). - Review Location metadata.
- Review Help improve our AI models.
- Keep secrets out of prompts and deny
.envaccess by default.