Answer: Repository checkouts, build artifacts, secrets, and any files a session creates or modifies stay on the machines you provision. The conversation itself, including prompts, responses, and tool results, goes to api.anthropic.com. Status: Confirmed Entry: tool/claude-code/privacy-and-data/self-hosted-data-locality Revision: 1 Digest: sha256:b67bbc19ffa8d53c (changes whenever the content changes) Timeline: Created: 2026-11-13T03:05:46Z Last changed: 2026-11-13T03:05:46Z Last verified: 2026-11-20T12:25:12Z Next check: 2026-11-21T12:25:12Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Data staying on your infrastructure | Repository checkouts, build artifacts, secrets, and any files a session creates or modifies | [1] | 2026-11-20 Data sent to Anthropic | prompts, responses, and tool results | [1] | 2026-11-20 Session transcript storage | Anthropic stores the session transcript | [1] | 2026-11-20 Control plane location | Anthropic-hosted | [1] | 2026-11-20 Sources: [1] Anthropic. "Self-hosted environments". https://code.claude.com/docs/en/self-hosted-environments.md Role: primary. Accessed: 2026-11-20T12:25:12Z Quote: "Repository checkouts, build artifacts, secrets, and any files a session creates or modifies stay on the machines you provision." (Supports: Data staying on your infrastructure) Quote: "The conversation itself, including prompts, responses, and tool results, goes to `api.anthropic.com`" (Supports: Data sent to Anthropic) Quote: "Anthropic stores the session transcript so you can resume the session from another" (Supports: Session transcript storage) Quote: "The control plane remains Anthropic-hosted: session orchestration, queueing, and the claude.ai interface continue to run on Anthropic's infrastructure." (Supports: Control plane location) Published: 2026-11-20T02:57:01Z Snapshot SHA-256: 33bed9e7f6541408584e9a6bd8ebb42bc4e3fb05d7131bfce8105e0980ff9ef9 (captured 2026-11-13T03:05:45Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:05:46Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:25:12Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:25:12Z Last attempt: 2026-11-20T12:25:12Z Notes and limitations: Extracted automatically from a single official source (section "What stays on your infrastructure"). Related: https://latestn.com/tool/claude-code/privacy-and-data/transcript-storage-location Where does Claude Code store session transcripts? https://latestn.com/tool/claude-code/privacy-and-data/zdr-scope-coverage What data does Zero Data Retention cover in Claude Code? https://latestn.com/tool/claude-code/settings/accessibility-settings What accessibility settings does Claude Code offer for screen magnifiers, reduced motion, and colorblind-friendly themes? https://latestn.com/tool/claude-code/privacy-and-data/healthcare-baa Does Claude Code support healthcare compliance with a BAA? https://latestn.com/tool/claude-code/privacy-and-data/manage-local-session-data-hipaa How do I manage or delete local session data for Claude Code under HIPAA? https://latestn.com/tool/claude-code/privacy-and-data/request-zero-data-retention How do I request Zero Data Retention for Claude Code? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:05:46Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/privacy-and-data/self-hosted-data-locality/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/privacy-and-data/self-hosted-data-locality POST: https://latestn.com/dispute/tool/claude-code/privacy-and-data/self-hosted-data-locality with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/privacy-and-data/self-hosted-data-locality?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What data stays on my infrastructure when using Claude Code self-hosted environments? Revision 1, last verified 2026-11-20T12:25:12Z. https://latestn.com/tool/claude-code/privacy-and-data/self-hosted-data-locality (accessed 2026-11-21T09:56:51Z). @misc{LatestN_tool_claude_code_privacy_and_data_self_hosted_data_locality_r1, title = {What data stays on my infrastructure when using Claude Code self-hosted environments?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/privacy-and-data/self-hosted-data-locality}}, note = {Revision 1; digest sha256:b67bbc19ffa8d53c; last verified 2026-11-20T12:25:12Z; accessed 2026-11-21T09:56:51Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/privacy-and-data/self-hosted-data-locality