← Back to library

Chat with financial files and get the right chart back

An Anthropic quickstart for a financial data chat app. You upload CSVs, text, PDFs or images of financial data and ask questions in plain language; the assistant analyzes the data and returns a chart of the right type (line, bar, stacked area, pie and others) with a short explanation. It is a Next.js app for a developer to adapt.

  • OutcomeUpload financial data and ask questions; the assistant explains the numbers and picks a suitable chart for each answer.
  • SetupAn afternoon+
  • LevelAdvanced
  • CreditAnthropic
View original
Works with
Claude

Published Oct 20, 2026Updated Oct 20, 2026AI dry run on sample input: passed Oct 20, 2026Source verified Oct 23, 2026

When should you use it?

  • Advisors who want client-ready visuals from exports
  • Owners who want to ask questions of their P&L
  • Building an internal finance Q&A tool

Not for: Scanned PDFs, which the quickstart does not handle

What do you need, and what do you get?

You need

  • Financial exports (CSV, PDF with text, images)
  • An Anthropic API key and a developer

You get

  • Charts with commentary in a chat interface

How does it work, step by step?

  1. Clone the quickstartClone the repository and open the folder; the README lists the prerequisites.
  2. Configure keysSet the API keys the README asks for in a local environment file, never in code.
  3. Load your own contentReplace the sample content with yours, starting with a small, non-sensitive set.
  4. Test before sharingAsk it questions you know the answers to and check it before anyone outside the team uses it.

The prompt

Our adapted version, written to work in Claude. Values in lime are placeholders.

Fill in the blanks (optional; the copied prompt uses your values)

Prompt2 variables
Using the attached {file_description}, answer my question with one chart and a short explanation.
Pick the chart type that fits: line for trends over time, bar for comparisons, stacked for composition, pie only for a single share breakdown. Label axes and units, state the trend in words (direction and percentage), and add a note on any data gaps. Don't forecast unless I ask.

Question: {question}

The original workflow is published by Anthropic on GitHub (anthropics/claude-quickstarts). Open it there to install or import it; the prompt above is our own adaptation.

What can go wrong?

  • Check chart figures against the source export before sharing with a client.
  • Keep client financial data inside tools your firm has approved.

Our take

Advisors spend a surprising amount of time turning exports into charts that clients understand. This quickstart's useful idea is in its system prompt: match each kind of question to a chart type, and always add a short description and the trend in words. That's a habit worth copying even if you never deploy the app. In our dry run with a sample 24-month P&L export for a small landscaping business, our prompt answered three questions: revenue trend (line chart, with the seasonal dip explained), expense mix (stacked bar by quarter) and gross margin by month, with each figure traced to the export. It declined to forecast next year without being asked to and given assumptions. Have someone check the numbers before anything goes to a client. Keep a standard set of questions for each client, such as revenue trend, margin and top expenses, so every review covers the same ground and the charts are comparable from quarter to quarter, which clients tend to find reassuring.

Where the time goes back: Client-ready charts and a plain explanation come straight from an export, without building a spreadsheet first.

FAQ

Which chart does it choose?
The system prompt maps question types to chart types, such as trends over time to line charts and composition to stacked areas or pies. You can adjust that mapping.
Can I use it without deploying the app?
Our prompt below gives a similar result in an assistant that can read files and draw charts, for a handful of questions at a time.

Source and credit

This playbook is based on work by Anthropic. We summarize it and link to it and write our own adapted prompt.

Original
Financial data analyst · anthropics/claude-quickstarts
Creator
Anthropic
Published on
GitHub (anthropics/claude-quickstarts)
License
MIT
Originally for
Claude
AI dry run
Oct 20, 2026: passed. Dry-run tested by our AI test agent on sample input. Figures traced to export; chart types fit the questions.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails.
Verified
Oct 23, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.

The original is licensed under the MIT License (Copyright (c) 2023 Anthropic). Modified: our adapted prompt and summary are our own wording; the original is unchanged at the source link.

Are you the creator? Claim or correct this page.

More in Finance & Accounting

All 62 Finance & Accounting playbooks →

Related playbooks

Finance & AccountingWorkflow✓ AI dry run

Auto-file emailed invoices by month for your accountant

Every invoice that reaches Gmail is saved as a PDF in a year and month folder in Google Drive and logged in that month's sheet, ready to share with your accountant at month end.

Credit: Ioana Frincu

Under an hour
Finance & AccountingPrompt✓ AI dry run

Catch repeat vendor bills and missing tax lines

Supplier invoices are checked against history for duplicates, odd amounts and missing tax before you approve them.

Credit: u/DowntownInspection on r/ukaccounting

Under an hour
Finance & AccountingWorkflow✓ AI dry run

Chase unpaid bills by email with approval

Overdue invoices and stuck paperwork get chased on a schedule from your own mailbox, with approved wording and a clear list of accounts the agent must not contact.

Credit: u/danonino80 on r/AI_Agents

An afternoon+
Finance & AccountingPrompt✓ AI dry run

Have AI write Excel macros for your reconciliations

Describe a repetitive reconciliation step in plain English and get a VBA macro that does it the same way every month.

Credit: u/Broseidon132 on r/Accounting

Under an hour
Finance & AccountingPrompt✓ AI dry run

Reconcile Stripe payouts to the bank and your ledger

Match each month's Stripe payouts to bank deposits by arrival date, check fees, refunds and disputes against your ledger, and get a table where every reconciling item stays on its own line.

Credit: Count

Under an hour