AI for Lawyers

AI for Lawyers: How to Automate Your Practice with Claude Code

Lawyers spend nearly half their workday on tasks that never see a courtroom. Contract review, client intake, billing, deadline tracking — it all adds up. Here's how to reclaim those hours with Claude Code, Anthropic's official CLI assistant.

February 17, 2026 · Espen · 12 min read
Solo and small-firm lawyers often spend close to half their day on administrative tasks — document formatting, email triage, intake, and deadline tracking — rather than practicing law.

Claude Code is Anthropic's official CLI — an agentic AI assistant that runs in your terminal and handles the repetitive work so lawyers can focus on what matters. Here's exactly how to set it up for your practice.

Why Lawyers Need AI Now

⏱️ Billable Hours Lost to Admin

Most solo and small-firm attorneys bill only a fraction of their workday. The rest goes to document formatting, email triage, calendar management, and chasing clients for information. At $300/hour assumed rates, every hour of admin work is $300 in lost revenue — or worse, $300 billed to clients for work that adds no legal value.

📋 Missed Deadlines and Malpractice Risk

Missed filing deadlines are consistently among the top causes of legal malpractice claims. Juggling statutes of limitations, discovery deadlines, court dates, and response windows across dozens of active cases is a cognitive load nightmare. One overlooked deadline can mean a dismissed case — or a career-ending claim.

📞 Client Communication Bottleneck

"My lawyer never calls me back" is the most common client complaint to bar associations. It's not that lawyers don't care — they're buried. Intake calls, status update requests, document follow-ups, and scheduling emails pile up. Responsive firms win clients; overwhelmed firms lose them.

5 Tasks Every Lawyer Should Automate

These are the highest-ROI automations for lawyers. Each one can be set up with Claude Code in under 10 minutes.

1. Contract Review & Redlining

Have Claude Code scan contracts for non-standard clauses, missing provisions, unfavorable terms, and inconsistencies. It highlights risks, suggests redline edits, and produces a summary memo — turning a 2-hour review into a 15-minute quality check.

Time saved: 5–10 hours/week for transactional practices

2. Client Intake & Screening

Claude Code handles initial client inquiries via any channel you connect through MCP — email, web chat, or messaging apps. It asks qualifying questions, checks for conflicts of interest against your client list, collects key facts, and sends you a structured intake summary — so you only spend time on cases worth taking.

Time saved: 3–5 hours/week

3. Legal Research Summarization

Instead of reading 40-page opinions, have Claude Code summarize case law, extract holdings, identify relevant statutes, and organize research by issue. It won't replace Westlaw, but it will cut your research synthesis time in half.

Time saved: 4–8 hours/week for litigation practices

4. Time Tracking & Billing Narratives

Point Claude Code at your daily work log and it drafts billing entries with proper task codes, detailed narratives, and accurate time increments. No more reconstructing your day at 11 PM. It can also flag entries that might trigger client billing guideline rejections.

Time saved: 2–3 hours/week

5. Court Deadline & Calendar Management

Feed Claude Code your case docket and it calculates every downstream deadline — response dates, discovery cutoffs, motion deadlines, pre-trial conferences. It sends you reminders at configurable intervals (via scheduled hooks) and alerts you to scheduling conflicts before they happen.

Time saved: 1–2 hours/week (and potentially your malpractice record)

Real Claude Code Prompts for Lawyers

Drop these into your CLAUDE.md file or paste them directly into a Claude Code session. Each one is battle-tested for lawyers.

Prompt 1: Contract Risk Analyzer

Add this to your CLAUDE.md to have Claude Code review contracts on demand:

When I share a contract, analyze it for:
1. Non-standard or unusual clauses compared to market norms
2. Missing protective provisions (indemnification, limitation of liability, IP ownership, termination rights)
3. One-sided terms that disproportionately favor the counterparty
4. Ambiguous language that could create disputes
5. Compliance issues with [your jurisdiction] law

Format your response as:
🔴 HIGH RISK: [items needing immediate attention]
🟡 MODERATE RISK: [items to negotiate]
🟢 STANDARD: [acceptable terms]
📝 SUGGESTED EDITS: [specific redline language]

Prompt 2: Client Intake Screener

Configure this as a Claude Code sub-agent connected to your client-facing channels (email, web chat) via MCP:

You are the intake assistant for [Firm Name], a [practice area] firm.

When a potential client reaches out:
1. Greet them warmly and explain you're the firm's AI assistant
2. Ask: What type of legal matter do you need help with?
3. Ask: When did this issue arise? Are there any upcoming deadlines?
4. Ask: Have you spoken with any other attorneys about this?
5. Ask: Briefly, what outcome are you hoping for?

After collecting answers, send me a structured summary with:
- Client name and contact info
- Matter type and urgency level (🔴 urgent / 🟡 standard / 🟢 low)
- Key facts
- Potential conflicts to check
- Recommended next step

Never provide legal advice. Say: "I'll have an attorney review your situation and get back to you within [timeframe]."

Prompt 3: Case Research Synthesizer

Use this when dropping case law or statutes into Claude Code:

When I share legal documents, case opinions, or statutes, provide:

1. **Case Brief** (for opinions): Citation, court, date, parties, procedural history, issue(s), holding, reasoning, disposition
2. **Key Quotes**: Exact quotations I can cite in briefs (with page/paragraph references)
3. **Distinguishing Factors**: What makes this case unique or limiting
4. **Application**: How this supports or undermines [describe your client's position]
5. **Related Authority**: Suggest what else I should look for

Always note the jurisdiction and whether the case is still good law (to the extent you can determine).

Prompt 4: Billing Narrative Drafter

Have Claude Code draft billing entries from brief notes:

When I send you rough time entries or task notes, convert them into professional billing narratives that:

1. Use active voice and specific language (not "review documents" but "Review and analyze plaintiff's responses to defendant's first set of interrogatories")
2. Follow LEDES/UTBMS task codes where applicable
3. Round to standard increments (0.1 hour minimum)
4. Avoid block billing — separate distinct tasks
5. Flag any entry over 2 hours that should be split
6. Note entries that may violate common outside counsel guidelines (e.g., billing for internal conferences over 0.5 hrs)

Format: Date | Hours | Task Code | Narrative
Live Workshop — Feb 21: See Claude Code handle real legal-practice tasks live — intake, document review, and follow-ups. $100. Reserve your seat →

Complete Workflow: AI-Powered Client Intake Automation

Here's an end-to-end workflow showing how a lawyer can use Claude Code to handle client intake from first contact to consultation booking.

I put together a free guide that walks through the same AI setup I built for my own business — from document handling to client communication. Grab it here.

8:02 AM — New Inquiry Arrives

A potential client sends a WhatsApp message: "Hi, I was in a car accident last week and the other driver's insurance is lowballing me. Do you handle these cases?"

Claude Code (running as an intake sub-agent connected to WhatsApp via MCP) immediately responds with a warm greeting, confirms the firm handles personal injury cases, and begins the intake sequence — asking about the accident date, injuries, medical treatment, insurance communications, and whether a police report was filed.

8:07 AM — Intake Complete, Summary Delivered

After 5 minutes of back-and-forth, Claude Code sends you a structured intake memo via Telegram:

🔴 NEW INTAKE — URGENT (statute of limitations: ~11 months)

Name: Maria Santos | Phone: (555) 234-5678
Matter: PI — Motor Vehicle Accident (rear-end collision)
Date of Loss: Feb 10, 2026
Injuries: Neck/back pain, currently in chiropractic treatment
Insurance: State Farm claim #SF-2026-44821, offered $3,200
Medical Bills: ~$4,500 to date, treatment ongoing
Police Report: Yes, #PD-2026-0847
Other Attorneys: None contacted

⚠️ Conflict Check: No "Santos" in client database
📋 Recommended: Schedule consult within 48 hrs — active treatment, low offer

8:08 AM — You Approve, Claude Code Books It

You reply: "Good case. Book her for Thursday 2pm."

Claude Code sends Maria a confirmation message with the date, time, office address, what to bring (insurance docs, police report, medical records, photos), and a link to your digital intake form. It also adds the consultation to your calendar and sets a reminder for Wednesday evening to prep the file.

Wednesday PM — Automated Follow-Up

Claude Code sends Maria a reminder: "Hi Maria, just a reminder about your consultation with [Attorney Name] tomorrow at 2 PM. Please bring your insurance correspondence, medical records, and any photos from the accident. See you then!"

It also sends you a prep reminder with the intake summary attached.

Result: Total attorney time spent on intake: 30 seconds (reading the summary and replying "Book her"). Without AI: 15–20 minutes of phone tag, note-taking, and calendar coordination. Multiply by 10–15 inquiries per week and you've just recovered an entire workday per month.

Time & Cost Savings for Lawyers

Monthly Savings Estimate

TaskHours Saved/WeekMonthly Value (@ $325/hr)
Contract review & redlining5–10 hrs$6,500–$13,000
Client intake & screening3–5 hrs$3,900–$6,500
Legal research summarization4–8 hrs$5,200–$10,400
Billing & time entries2–3 hrs$2,600–$3,900
Deadline & calendar management1–2 hrs$1,300–$2,600
Total15–28 hrs/week$19,500–$36,400/month

Based on average lawyer billing rates of $250–$400/hour. Solo practitioners on the lower end; mid-size firm partners on the higher end.

$19,500–$36,400/month

in recovered billable time — for a tool that costs $15–40/month to run.

Important: These are estimates based on typical law practice workflows. Your actual savings depend on practice area, case volume, and how much admin work you currently handle yourself vs. delegate to staff. Even at 25% of these estimates, the ROI is overwhelming.

How to Set Up Claude Code for Your Law Practice

Claude Code is free to install. Usage is pay-per-token via the Anthropic API, or covered by a Claude Pro/Team subscription. Setup takes about 10 minutes. Here's the quick version:

Step 1: Install Claude Code

Install via npm on macOS, Linux, or Windows (WSL):

npm install -g @anthropic-ai/claude-code

Then run claude in any folder to start a session. Full install instructions are in the official Claude Code docs.

Step 2: Authenticate with Anthropic

On first run, Claude Code will prompt you to log in with your Anthropic account. You can use either:

For heightened confidentiality, request a Zero Data Retention agreement from Anthropic before using the API with client matter files.

Step 3: Connect External Tools via MCP

Claude Code talks to external tools (email, calendars, docket systems, messaging) through MCP servers. Add the ones your firm uses:

claude mcp add gmail
claude mcp add google-calendar
claude mcp add google-drive

Each MCP server takes a couple of minutes to connect. Once added, Claude Code can read and act on your email, calendar, and matter documents from one place.

Step 4: Configure for Lawyers

Create a CLAUDE.md file in your working folder. This is the persistent context Claude Code reads at the start of every session — your firm's "brain":

# CLAUDE.md — Example for a lawyer
You are an AI assistant for my law practice.
You help with client communication, scheduling, document drafts,
and administrative tasks. Always maintain a professional tone.
Never provide specific legal advice to clients or third parties —
flag those for me to review before any outbound response.

For richer setups, you can also define custom Skills, sub-agents, and hooks — all documented in the Claude Code docs.

Step 5: Set Safety Limits

Before automating anything client-facing, set guardrails in CLAUDE.md (and in your Anthropic Console billing settings):

# Add to CLAUDE.md
- Never send outbound messages to clients without my explicit approval
- Flag any question that requires legal advice for my review
- Run all contract redlines past me before the document leaves the firm

Set a monthly spend cap in the Anthropic Console. Start conservative — you can always raise the limit once you see how it performs.

Pro tip for lawyers: Start with internal-only tasks (contract review, research summaries, billing narratives). Once you're comfortable with the output, expand to client-facing workflows like intake and scheduling. This lets you refine Claude Code's responses before clients see them.

Frequently Asked Questions

Have more questions about using AI as a lawyer? Here are the most common ones:

Q: Is it ethical for lawyers to use AI tools like Claude Code?

Yes, when used responsibly. The ABA's Formal Opinion 512 (2024) confirms lawyers may use AI tools, provided they maintain competence, supervise AI output, protect client confidentiality, and review all AI-generated work before filing or sending to clients. Claude Code runs in your terminal and only sends what you prompt to Anthropic's API — giving you clear control over what leaves the firm.

Q: Can AI replace lawyers?

No. AI handles administrative and repetitive tasks — drafting first versions, summarizing documents, tracking deadlines, and managing intake forms. The legal judgment, courtroom advocacy, client counseling, and strategic thinking remain firmly in the lawyer's domain. Think of AI as a highly capable paralegal that never sleeps, not a replacement attorney.

Q: How much does it cost to run AI for a law practice?

Claude Code is free to install. Usage is billed through the Anthropic API (pay-per-token) or covered by a Claude Pro or Team subscription. Typical solo-practitioner usage runs $15–40/month on the API. Compare that to the $2,000–5,000/month in billable time you recover by automating admin work, and the ROI is immediate.

Q: Is client data safe when using Claude Code?

Claude Code runs in your terminal on your own machine — it reads your local files and only sends the prompts you explicitly send to Anthropic's API. Anthropic does not train on API inputs by default, and Zero Data Retention agreements are available for firms that need additional protections. You can also scope CLAUDE.md to restrict what Claude Code touches.

Free: The AI Growth Breakdown

The same AI operating system that runs this site — built solo, no team, no agency. Get the complete tool stack and workflows.

Get the Free Breakdown →