GUIDE · DATA AND PRIVACY

Is it safe to use Claude Code
with financial data?

By The Experts AI editorial team · Written with AI assistance · Updated October 16, 2026

Short answer: Claude Code runs on your computer but sends your prompts and the contents of files it reads to Anthropic. On Free, Pro and Max plans, data may be used for training if that setting is on (5-year retention; 30 days if off). Team, Enterprise and API data is not used for training by default. Learn on fictional data and minimize real data.

Claude Code runs on your computer, but it works by sending prompts and the file contents it reads to Anthropic's servers. So "it runs locally" does not mean "the data stays local". Whether that is acceptable depends on your plan settings, your employer's policy and the data itself.

This is not legal or compliance advice. It summarizes Anthropic's published Claude Code data usage documentation as checked on September 24, 2026. Policies change, so confirm the current version and your organization's rules before using client or company data.

What Claude Code sends

To answer you, Claude Code sends your prompts and whatever file contents it reads to Anthropic's API. If it opens your transactions CSV, those rows are sent. It also sends operational telemetry. According to Anthropic's documentation, metrics "never include your code, prompts, or file paths", and error reports have known patterns of secrets, paths and personal information redacted before they leave your machine.

Is my data used to train models?

How long is it kept?

A practical checklist before using real data

  1. Learn and build on fictional data. Our sample CSV exists for this reason.
  2. Check your employer's or client's policy on AI tools. Many firms require an approved commercial plan.
  3. Review your training setting on consumer plans.
  4. Minimize the data. Remove account numbers, names and anything the dashboard does not need.
  5. Separate building from running. Once the app works, you can run it on new files without asking the AI to read them. The AI builds the tool; the tool processes the data.
  6. Remember local transcripts in ~/.claude/projects/ on shared or managed machines.
  7. Turn off optional traffic if required. Anthropic documents environment variables such as DISABLE_TELEMETRY=1, DISABLE_ERROR_REPORTING=1 and CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC.

Frequently asked questions

Does Claude Code upload my files?

It sends the contents of files it reads, along with your prompts, to Anthropic to generate responses. Files it never opens are not sent.

Does Anthropic train on my Claude Code data?

On Free, Pro and Max plans, only when the model-improvement setting is on. Under commercial terms (Team, Enterprise, API), Anthropic states it does not train on Claude Code prompts or code unless the customer opts in. Checked September 24, 2026.

Can I use Claude Code with client data as a bookkeeper or accountant?

Check your engagement terms, professional obligations and firm policy first. Build and test with fictional data, minimize what the AI reads, and prefer a commercial plan if client data is involved.

BUILD IT WITH A GUIDE

Turn a CSV into a working cash flow dashboard.

A self-paced Claude Code workshop for bookkeepers, accountants and FP&A: six lessons, one project, sample data with expected totals. Taught by CFO Leo Godnik.

See the six lessons — $69 → Or start with the free lesson ↗