---
title: "Set up AI context for an accounting practice without exposing client tax data"
description: "Give AI your practice rules, entity notes, and letter templates, and keep returns, SSNs, and statements out of every model request."
canonical: "https://scalewithsearch.com/articles/ai-for-accountants"
date: "2026-01-28"
modified: "2026-09-25"
---
## Site navigation

- [Scale With Search](https://scalewithsearch.com/)
- Real estate
  - Real estate
    - [Real estate](https://scalewithsearch.com/for/real-estate)
- Work
  - Start here
    - [Send your brief](https://scalewithsearch.com/work#send-your-brief)
    - [Prepare your six-question brief](https://scalewithsearch.com/work#prepare-your-six-question-brief)
  - Build
    - [Site build, content library with SEO, signal desk](https://scalewithsearch.com/work)
- For your business
  - Trades and home services
    - [Auto body and collision shops](https://scalewithsearch.com/for/auto-body-and-collision-shops)
    - [Foundation and home repair contractors](https://scalewithsearch.com/for/foundation-and-home-repair)
    - [Garage door and fencing contractors](https://scalewithsearch.com/for/garage-door-and-fencing-contractors)
    - [HVAC contractors](https://scalewithsearch.com/for/hvac-contractors)
    - [Janitorial and commercial cleaning companies](https://scalewithsearch.com/for/janitorial-and-commercial-cleaning)
    - [Locksmiths](https://scalewithsearch.com/for/locksmiths)
    - [Moving companies](https://scalewithsearch.com/for/moving-companies)
    - [Pest control companies](https://scalewithsearch.com/for/pest-control-companies)
    - [Plumbing and electrical contractors](https://scalewithsearch.com/for/plumbing-and-electrical-contractors)
    - [Restoration and water or fire damage companies](https://scalewithsearch.com/for/restoration-and-water-fire-damage)
    - [Roofing companies](https://scalewithsearch.com/for/roofing-companies)
    - [Towing companies](https://scalewithsearch.com/for/towing-companies)
    - [Tree services and landscaping companies](https://scalewithsearch.com/for/tree-services-and-landscaping)
    - [Solar installers](https://scalewithsearch.com/for/solar-installation)
    - [General contractors](https://scalewithsearch.com/for/general-contractors-and-construction)
    - [Paving, concrete, and flooring contractors](https://scalewithsearch.com/for/paving)
  - Practices and professional services
    - [Bookkeeping and tax practices](https://scalewithsearch.com/for/bookkeeping-and-tax-practices)
    - [Dental practices](https://scalewithsearch.com/for/dental-practices)
    - [Family and criminal defense law firms](https://scalewithsearch.com/for/family-and-criminal-defense-law-firms)
    - [Med spas and aesthetics practices](https://scalewithsearch.com/for/med-spas-and-aesthetics)
    - [Personal injury law firms](https://scalewithsearch.com/for/personal-injury-law-firms)
    - [Veterinary clinics](https://scalewithsearch.com/for/veterinary-clinics)
    - [Gyms and fitness studios](https://scalewithsearch.com/for/fitness)
    - [Therapy and outpatient health practices](https://scalewithsearch.com/for/therapy-and-outpatient-health)
    - [Medical billing companies](https://scalewithsearch.com/for/medical-billing)
    - [Insurance agencies](https://scalewithsearch.com/for/insurance-agencies)
    - [Financial advisors](https://scalewithsearch.com/for/financial-advisors)
    - [Property management companies](https://scalewithsearch.com/for/property-management)
    - [Recruiting and staffing agencies](https://scalewithsearch.com/for/recruiting-and-staffing)
    - [Architects and interior designers](https://scalewithsearch.com/for/architects-and-interior-designers)
    - [Logistics and supply chain companies](https://scalewithsearch.com/for/logistics-and-supply-chain)
  - Agencies, MSPs, and manufacturing
    - [IT and managed service providers](https://scalewithsearch.com/for/it-and-managed-service-providers)
    - [Machine shops and precision manufacturers](https://scalewithsearch.com/for/machine-shops-and-precision-manufacturing)
    - [Marketing agencies and freelancers](https://scalewithsearch.com/for/marketing-agencies-and-freelancers)
    - [SEO agencies and consultants](https://scalewithsearch.com/for/seo-agencies-and-consultants)
    - [Small manufacturers and fabricators](https://scalewithsearch.com/for/small-manufacturers-and-fabricators)
  - Restaurants, shops, studios, and nonprofits
    - [Restaurants and hospitality businesses](https://scalewithsearch.com/for/restaurants-and-hospitality)
    - [Retail stores and ecommerce sellers](https://scalewithsearch.com/for/retail-and-ecommerce)
    - [Photographers, event planners, and travel agents](https://scalewithsearch.com/for/photographers)
    - [Churches and nonprofits](https://scalewithsearch.com/for/churches-and-nonprofits)
  - [All industries](https://scalewithsearch.com/for/)
- Learn
  - For your office
    - [Office job guides](https://scalewithsearch.com/guides/)
    - [Browser calculators](https://scalewithsearch.com/tools/)
  - Start here
    - [How it works](https://scalewithsearch.com/how-it-works)
    - [Free Starter Kit](https://scalewithsearch.com/kit/business-memory-starter-kit.zip)
    - [Synthetic specimen](https://scalewithsearch.com/specimen/working-session-specimen.zip)
  - Guides
    - [The Complete Guide to Business Memory for AI Agents](https://scalewithsearch.com/articles/business-memory-for-ai-agents-guide)
    - [The Complete Small-Business Guide to AI Agent Governance](https://scalewithsearch.com/articles/ai-agent-governance-guide-small-business)
    - [The Complete Guide to Leaving Vendor AI Memory](https://scalewithsearch.com/articles/leaving-vendor-ai-memory-guide)
  - Articles by cluster
    - [Business memory](https://scalewithsearch.com/articles/business-memory-for-ai-agents-guide)
    - [Agent governance](https://scalewithsearch.com/articles/ai-agent-governance-guide-small-business)
    - [Migration and ownership](https://scalewithsearch.com/articles/leaving-vendor-ai-memory-guide)
  - For machines
    - [llms.txt](https://scalewithsearch.com/llms.txt)
    - [llms-full.txt](https://scalewithsearch.com/llms-full.txt)
    - [Machine view](https://scalewithsearch.com/?view=machine)
- Company
  - Evidence
    - [Proof](https://scalewithsearch.com/proof)
  - Company
    - [About](https://scalewithsearch.com/about)

# Set up AI context for an accounting practice without exposing client tax data.

It is tax season and 60 returns are open. Each client has entity rules, carryforward items from prior years, filing requirements in several states, and questions that need answers before you finalize.

An AI assistant could draft the client emails. You cannot paste tax returns, financial statements, or Social Security numbers into a chat window and hope the terms cover you. So you answer each question by hand. You write each engagement letter from last year's copy. You explain the same provision to five clients in five different ways.

This page shows a safer split. The practice rules, templates, and entity notes go into files that the AI reads. The regulated records stay in the tax and document systems you already control.

## Why a generic assistant fails an accounting practice

A generic assistant does not know your state filing rules. It does not know which clients are C corporations, S corporations, partnerships, or individuals. It gives general financial advice that is often incomplete and sometimes wrong for the entity in front of you.

It also has no record of the prior year. It cannot see the net operating loss that carries forward, the depreciation schedule, the basis calculation, or the election you made two years ago.

The fix is not a smarter model. The fix is a maintained record of your practice that the model reads before it writes. Add a rule about what must never enter that record.

## Where client data actually goes

A common claim says a local assistant keeps everything on your machine. That claim is wrong for Claude Code and for most assistants of its kind.

Anthropic's data usage page states: "Claude Code runs locally. To interact with the LLM, Claude Code sends data over the network." [Claude Code: Data usage](https://code.claude.com/docs/en/data-usage) The prompts and outputs go to the model provider. A file that Claude Code reads becomes part of that traffic. The same page says retention periods and training use depend on the account type and its privacy settings (checked 2026.09.25).

Your files stay stored on your computer. Their content does not stay there when the assistant reads them. Plan the context files with that fact in view.

In the United States, Internal Revenue Code section 7216 restricts how a tax return preparer uses and discloses tax return information ([26 U.S.C. 7216](https://www.law.cornell.edu/uscode/text/26/7216), checked 2026.09.25). Confirm with your professional advisor how it applies before any return data enters a model request. The same caution applies to state rules and to the terms of your engagement letters. The [guide to client data in AI agent memory](/articles/client-data-in-ai-agent-memory) lists the ownership and retention questions to answer first.

## What goes into the practice file

The practice file holds knowledge that is yours, not the client's:

- services: tax preparation, planning, bookkeeping, outsourced CFO work;
- entity specialization: small business, real estate, professional services;
- state coverage: where you file and the local rules that catch people;
- deadline calendar: filing dates, extension dates, estimated payment dates, each checked against the official source for the current year;
- communication style: when you explain in technical terms and when you simplify;
- standard explanations: how you describe common provisions to a client;
- templates: engagement letter language, planning memo format, required disclosures.

Here is a short example of the top of that file:

```text
## Practice
Services: individual and small-business returns, quarterly bookkeeping, planning memos
States: [list the states you file in]
Deadline source: deadlines-2026.md (verified against the official calendar on [date])

## Rules
Never state a deadline from model knowledge. Use deadlines-2026.md.
Never calculate a final tax figure. Draft the explanation; the preparer checks the numbers.
Client files use IDs. Do not add names, SSNs, account numbers, or return images.
```

## What goes into each client file

Each client gets a file under an ID, not a name. The file carries structure and history, not raw records:

```text
## Client: TX-0412
Entity: S corporation, calendar year
States: two (home state and one nonresident filing)
Ownership: two shareholders, 60/40
Carryforwards: capital loss carryforward tracked in the tax software
Elections: see 2024 election memo in the document system, ref DOC-0412-07
Positions under watch: related-party rent; reviewer note dated 2026.02.10
Communication: prefers short emails and a phone call for bad news
Services: S corporation return plus quarterly bookkeeping
```

The file names where the number lives. It does not copy the number. The tax software stays the source of record for amounts, schedules, and filed positions.

## Four jobs that change

### A client asks why the refund is smaller

Before: you open the return, compare it to last year, find the differences, and write an explanation. Each email takes about 20 minutes, and 15 of them wait in the inbox.

After: you pull the two differences from the tax software yourself, then prompt: "Draft a reply for TX-0412 explaining a smaller refund from lower withholding and the loss of a dependent." The assistant knows the entity type, filing status, and preferred tone from the file. You verify the figures, insert them, and send.

### An engagement letter needs a new scope

Before: you copy last year's letter, update dates, change client details, and adjust the scope by hand.

After: you prompt: "Engagement letter for TX-0388: S corporation return plus quarterly bookkeeping." The assistant uses your standard language and inserts the scope from the client file. You review the terms before the letter goes out.

### A planning meeting needs a memo

Before: you review the client situation, find the opportunities, and prepare talking points from scratch.

After: you prompt: "Planning memo for TX-0521: Section 179 timing and retirement contribution options." The assistant formats the memo to your template and references the entity structure. You check each rule against current law and refine each recommendation.

### Extension season

Before: each of 40 extensions needs a balance-due estimate, a client email about payment timing, and a note on why the extension is necessary.

After: you prompt: "Extension checklist and client email for TX-0290." The assistant drafts the checklist and the email with your standard extension language. You compute the estimate in the tax software and approve the email.

In every case the assistant drafts and you decide. For who signs off on outbound client mail, see [who approves what an AI agent sends](/articles/who-approves-what-an-ai-agent-sends).

## Build it in one afternoon

1. Create a folder for the practice. Put `CLAUDE.md` at its root.
2. Write the practice file with services, states, templates, and rules.
3. Write the deadline calendar as its own dated file.
4. Create one client file per active client, under an ID.
5. Keep a private ID map in your practice management system, not in the folder.
6. Start Claude Code in the folder and ask it to list the rules it read.

Claude Code needs a paid Claude plan or an API account; the free plan does not include it ([Claude Code: Advanced setup](https://code.claude.com/docs/en/setup), checked 2026.09.25). Obsidian is optional; any plain folder of Markdown files works.

## Test before tax season

Run three checks in a fresh session.

1. Ask for a deadline. Pass: the answer cites `deadlines-2026.md`. Fail: it states a date from general knowledge.
2. Ask for a client's name from an ID. Pass: the assistant says it does not have it. Fail: a name appears.
3. Ask for a planning memo. Pass: the memo uses your template and marks every number for review. Fail: it states a final tax figure.

Search the folder for nine-digit number patterns once a month. A match means a regulated identifier leaked into the files.

If the search finds a match, remove the number from the file first. Then record which file held it and since what date. Any session that read the file sent that number to the model provider. Handle the event under your firm's incident and client-notice policy. Add the source of the leak, such as a pasted client email, to the rules section so it does not repeat.

## Limits

The assistant does not sign, file, or calculate a final return. It does not choose a tax position. It does not send client mail. The preparer owns every figure, election, and deadline.

Keep a retention rule for the folder the same way you keep one for workpapers. The [AI memory retention and deletion policy](/articles/ai-memory-retention-and-deletion-policy) gives a template. For a practice that also keeps the books, the [bookkeeper version of this setup](/articles/ai-for-bookkeepers) covers charts of accounts and categorization rules.

----

```text
                  .|########||.                                       .|########||.                                       .|########||.
               |##||.      .||##|.                                 |##||.      .||##|.                                 |##||.      .||##|.
             |#|.              .|#|.                             |#|.              .|#|.                             |#|.              .|#|.
           |#|                    |#|                          |#|                    |#|                          |#|                    |#|
         .#|                        |#.                      .#|                        |#.                      .#|                        |#.
        .#.                          .#|                    .#.                          .#|                    .#.                          .#|
       |#.                            .#|                  |#.                            .#|                  |#.                            .#|
      |#             ......             #|                |#             ......             #|                |#             ......             #|
     .#           ||#########|           #|              .#           ||#########|           #|              .#           ||#########|           #|
    .#.         |######||######|.        .#.            .#.         |######||######|.        .#.            .#.         |######||######|.        .#.
    #.        .##|###|##|#|######|        .#            #.        .##|###|##|#|######|        .#            #.        .##|###|##|#|######|        .#
   ||        |##|#||||||||||||#||#|        ||          ||        |##|#||||||||||||#||#|        ||          ||        |##|#||||||||||||#||#|        ||
   #        |#||||||||||||||||||||#|        #.         #        |#||||||||||||||||||||#|        #.         #        |#||||||||||||||||||||#|        #.
  ||       |#||||||||||||||||||||||#|       ||        ||       |#||||||||||||||||||||||#|       ||        ||       |#||||||||||||||||||||||#|       ||
  #       .#||||||||||||||||||||||||#|       #        #       .#||||||||||||||||||||||||#|       #        #       .#||||||||||||||||||||||||#|       #
 ||   ....|||#||||||##|#|||#|#||##||||....|. ||      ||   ....|||#||||||##|#|||#|#||##||||....|. ||      ||   ....|||#||||||##|#|||#|#||##||||....|. ||
 #.  .  ....|#  ....#|||   ||| .#|||  ....#. .#      #.  .  ....|#  ....#|||   ||| .#|||  ....#. .#      #.  .  ....|#  ....#|||   ||| .#|||  ....#. .#
 #   .  ||||#| .#####||  . .#| .#|||  ||||#   #.     #   .  ||||#| .#####||  . .#| .#|||  ||||#   #.     #   .  ||||#| .#####||  . .#| .#|||  ||||#   #.
.|   |||||  #. |#|||||. ||  #. |#||. .|||||   ||    .|   |||||  #. |#|||||. ||  #. |#||. .|||||   ||    .|   |||||  #. |#|||||. ||  #. |#||. .|||||   ||
||   |....  #. ....|#.      |. ...|. ....||   ||    ||   |....  #. ....|#.      |. ...|. ....||   ||    ||   |....  #. ....|#.      |. ...|. ....||   ||
#.  .||||||##||||||##||####|||||||#||||||#|   .#    #.  .||||||##||||||##||####|||||||#||||||#|   .#    #.  .||||||##||||||##||####|||||||#||||||#|   .#
#    .||####|###########################|.     #    #    .||####|###########################|.     #    #    .||####|###########################|.     #
#      .#||||||.#.|| # |. ..# #| #|||||#|      #    #      .#||||||.#.|| # |. ..# #| #|||||#|      #    #      .#||||||.#.|| # |. ..# #| #|||||#|      #
#      .#|||||| ..  |# ## |#| ...#|#|||#|      #    #      .#|||||| ..  |# ## |#| ...#|#|||#|      #    #      .#|||||| ..  |# ## |#| ...#|#|||#|      #
#      .#|||#|# .# .#| #| ##|.#..#|||||#|      #    #      .#|||#|# .# .#| #| ##|.#..#|||||#|      #    #      .#|||#|# .# .#| #| ##|.#..#|||||#|      #
#      .#||||||############|######|||||#|      #    #      .#||||||############|######|||||#|      #    #      .#||||||############|######|||||#|      #
#   |...||#||||||#||||#|#||||||#|||||#||| |.|  #    #   |...||#||||||#||||#|#||||||#|||||#||| |.|  #    #   |...||#||||||#||||#|#||||||#|||||#||| |.|  #
#. .. ||||# .|||##|.  |#| .|| || .|||#. #|  # .#    #. .. ||||# .|||##|.  |#| .|| || .|||#. #|  # .#    #. .. ||||# .|||##|.  |#| .|| || .|||#. #|  # .#
|| |  ...||  ...##| |  #| .|. |. #####  .. .| ||    || |  ...||  ...##| |  #| .|. |. #####  .. .| ||    || |  ...||  ...##| |  #| .|. |. #####  .. .| ||
|| ||||| || ||||#|  .  |. |. |#. ||||| |#| || ||    || ||||| || ||||#|  .  |. |. |#. ||||| |#| || ||    || ||||| || ||||#|  .  |. |. |#. ||||| |#| || ||
.# |.....#|....|#.||||.|||##.|#|....||.#||.#. #.    .# |.....#|....|#.||||.|||##.|#|....||.#||.#. #.    .# |.....#|....|#.||||.|||##.|#|....||.#||.#. #.
 #.|||||||#############################| ||| .#      #.|||||||#############################| ||| .#      #.|||||||#############################| ||| .#
 ||       ##||#||#||||||#||#||#||#||##.      ||      ||       ##||#||#||||||#||#||#||#||##.      ||      ||       ##||#||#||||||#||#||#||#||##.      ||
  #       .#|||||||||#||#|||||||||||#|       #        #       .#|||||||||#||#|||||||||||#|       #        #       .#|||||||||#||#|||||||||||#|       #
  ||       |#||||||||||||||||||||||#|       ||        ||       |#||||||||||||||||||||||#|       ||        ||       |#||||||||||||||||||||||#|       ||
  .#        |#||||||||||||||||||||#|        #.        .#        |#||||||||||||||||||||#|        #.        .#        |#||||||||||||||||||||#|        #.
   ||        |#||||||||||||||||||#|        ||          ||        |#||||||||||||||||||#|        ||          ||        |#||||||||||||||||||#|        ||
    #.        .######|#|#########|        .#            #.        .######|#|#########|        .#            #.        .######|#|#########|        .#
    .#.         |#####||||#####|         .#.            .#.         |#####||||#####|         .#.            .#.         |#####||||#####|         .#.
     |#           ||########||           #.              |#           ||########||           #.              |#           ||########||           #.
      |#             ......             #|                |#             ......             #|                |#             ......             #|
       |#.                            .#|                  |#.                            .#|                  |#.                            .#|
        |#.                          .#.                    |#.                          .#.                    |#.                          .#.
         .#|                        |#.                      .#|                        |#.                      .#|                        |#.
           |#|                    |#|                          |#|                    |#|                          |#|                    |#|
            .|#|.              .|#|.                            .|#|.              .|#|.                            .|#|.              .|#|.
               |##||.      .||##|                                  |##||.      .||##|                                  |##||.      .||##|
                 .||########||.                                      .||########||.                                      .||########||.

Scale With Search  2026  [scalewithsearch.com](https://scalewithsearch.com)
```
