← Back to Blog
Workflow · November 2026 · 9 min read

Run a Red-Flag Scan on Your Holdings: Altman, Piotroski and Beneish in One Chat

M
Michael · Builder & owner of Stocklake
HOLDING ALTMAN Z PIOTROSKI F BENEISH M
Three decades-old accounting models, one row per holding. The dashed row is the one worth reading about.

Most people check their holdings by price: what's up, what's down, what moved today. The balance sheet underneath rarely gets a look, because reading ten annual reports takes a weekend. Three well-known accounting models compress that reading into one number each. Stocklake computes all three from each company's own filed statements and returns them inside get_stock and get_stocks for Pro keys.

Below: what the three scores mean, a real scan of a ten-stock portfolio, a closer look at the one holding that tripped a flag, and which holdings got stronger or weaker over the past year. I ran these on September 27 with an AI agent (Claude, ChatGPT or another MCP client works the same way); prices are the Friday, September 25 close, and the scores come from each company's latest fiscal-year filing.

What this is, and isn't. This post shows a research workflow: asking an assistant to read financial statements and accounting scores for you. It is informational only, not investment advice, and not a recommendation to buy or sell any security. Stocklake doesn't generate trade calls. A score from any of these models is a reason to read the filings more closely. It is not a verdict on a company, and a Beneish flag in particular is not proof of manipulation.

The three scores in plain English

Altman Z-Score
Edward Altman, 1968

Blends working capital, retained earnings, operating profit, market value and sales, each against the size of the company. It was built to spot manufacturers heading toward bankruptcy.

Above 2.99 safe · 1.81-2.99 grey · below 1.81 distress
Piotroski F-Score
Joseph Piotroski, 2000

Nine yes/no tests comparing this year with last: is it profitable, is cash flow positive and above earnings, did debt, liquidity, margins and asset turnover improve, were no new shares issued.

0-9 · 8-9 strong · 3-7 moderate · 0-2 weak
Beneish M-Score
Messod Beneish, 1999

Eight ratios that look for patterns seen in companies later caught manipulating earnings: receivables outgrowing sales, slipping margins, a rising share of hard-to-value assets, accruals running ahead of cash.

Above −1.78 flags a closer look

Two limits apply to any result. Banks and insurers mostly return no score, because none of the models describes a lender's balance sheet. And each model mistakes some normal businesses for problems: a big acquisition, a large capital raise, a severe margin swing or very fast early growth can trip Beneish, and REITs and payment companies holding customer money can land low on Altman for structural reasons.

1. Scan the whole portfolio

A sample portfolio of ten widely held names. One get_stocks call covers all ten.

Prompt
Run the Altman, Piotroski and Beneish scores on my holdings: AAPL, MSFT, AMZN, TSLA, KO, DIS, BA, PYPL, COIN, JPM. Table, one line each.

What came back (as of Sept 25)

HoldingPriceAltman ZPiotroski FBeneish M
AAPL$341.0712.07 safe8 strong−2.37
MSFT$516.179.08 safe6 moderate−2.63
AMZN$249.675.96 safe6 moderate−2.59
TSLA$372.1116.58 safe5 moderate−2.88
KO$87.815.48 safe7 moderate−2.35
DIS$106.152.43 grey8 strong−2.59
BA$198.071.54 distress6 moderate−2.98
PYPL$55.041.92 grey9 strong−2.52
COIN$195.113.09 safe4 moderate−1.71 flag
JPM$343.06n/an/an/a
Scores from each company's latest annual filing. JPMorgan returns no scores because it's a bank.
Illustration: an AI assistant showing a table of Altman Z, Piotroski F and Beneish M scores for ten holdings, with Boeing in the Altman distress zone and Coinbase above the Beneish threshold
One prompt, ten holdings, three scores each
What a good answer looks like
  • One row per holding, with the zone or band written out next to each number, not just the raw score.
  • Missing scores shown as missing, with the reason (JPMorgan is a bank), never filled in with a guess.
  • It says which fiscal year the scores come from, so you know how old the underlying filing is.

2. Why did Coinbase trip the Beneish screen?

A flag on its own tells you nothing about why. Stocklake's MCP tools return the M-Score and the flag, not the eight component ratios, so this is a question the assistant answers by pulling the raw statements with get_stock_financials and doing the arithmetic itself.

Prompt
Explain why Coinbase trips the Beneish score. Which ratios drove it? Show the statement lines you used.

What came back (fiscal 2025 vs fiscal 2024)

Illustration: an AI assistant breaking down the Beneish M-Score for Coinbase, showing receivables growth and the asset-quality index as the main drivers
The eight Beneish ratios, recomputed from the filed statements

None of this says anything is wrong at Coinbase. Receivables can grow for ordinary business reasons, and an acquisition moves asset quality mechanically. What the breakdown gives you is a short reading list: the receivables and acquisition notes in the annual report. One timing detail: the scores use fiscal 2025, while Coinbase's trailing-twelve-month profit margin is −16.3%, so recent quarters look different from the filing the scores are built on.

What a good answer looks like
  • It states plainly that a Beneish flag is a screening signal, not evidence of manipulation.
  • It recomputes the score from the statements and checks that it matches before explaining it.
  • It ranks the eight ratios by how much each moved the score, with the underlying line items and both years' values.

3. Who got stronger or weaker since last year?

A single Piotroski score is a snapshot; for a portfolio, direction matters more. The MCP tools return this year's score. Last year's the assistant rebuilds from three fiscal years of statements via get_stock_financials, using the same nine tests.

Prompt
Which of my holdings improved or worsened on Piotroski versus last year? Show which of the nine tests changed.

What came back (latest fiscal year vs the one before)

HoldingLast yearThis yearWhat changed
BA26Back to profit and positive cash flow; margin and asset turnover up
KO47Return on assets, debt share and current ratio all improved
AAPL68Gained three tests; lost cash-over-earnings ($111.48B cash flow vs $112.01B net income)
PYPL79Debt share and current ratio, both on very small moves
MSFT56Gained return on assets and no-new-shares; lost current ratio
TSLA45Gross margin 17.86% to 18.03%
DIS88No test changed
AMZN76Current ratio 1.064 to 1.051
COIN84Return on assets, turnover, debt share and gross margin all slipped
JPMorgan is left out: no Piotroski score for banks. Fiscal years differ by company (Apple and Disney end in September, Microsoft in June).
Illustration: an AI assistant comparing this year's and last year's Piotroski F-Scores for nine holdings, with Boeing up four points and Coinbase down four
Piotroski this year vs last year, rebuilt from three years of statements

Some of these moves are tiny. PayPal's two new points came from long-term debt edging from 12.55% to 12.46% of assets and the current ratio from 1.280 to 1.287. The tests are pass/fail, so a hair's-width change counts as a full point.

What a good answer looks like
  • It rebuilds last year's score with the same nine tests and confirms this year's matches the score the MCP server returns before comparing.
  • It names which of the nine tests flipped, with both years' numbers, rather than just the net change.
  • It flags when a point was won or lost on a very small move.

Free vs Pro for this question

The scores are a Pro field inside get_stock and get_stocks. The free tier still answers useful first questions about the same holdings.

Free
  • Price, 52-week range, market cap
  • Headline fundamentals: margins, debt-to-equity, free cash flow
  • RSI and moving averages
  • Analyst consensus and the next earnings date
  • Batch lookups for up to 25 holdings at once
Pro adds
  • Forensic scores (Altman Z, Piotroski F, Beneish M)
  • Five years of statements plus quarterlies
  • AI summary and news sentiment
  • The full insider transaction list
  • Technical rating and the full indicator breakdown
On free, you can see that Boeing carries a lot of debt. On Pro, the assistant can score it, then show you which statement lines put it in the distress zone.
$20/month
· 5,000 calls/day · every tool, including forensic scores and multi-year financials
Free for 7 days, cancel anytime. The free tier stays free: 200 calls a day, and the key never expires.

Tips for better answers

Setting it up

Stocklake works in Claude, ChatGPT and other MCP clients. Add it once as a connector, using the server URL https://api.stocklake.dev/mcp. It's then available in every chat. You can start on the free tier without a card and add Pro when you want the scores and the multi-year statements. Setup steps for each client are in the docs, and the scoring details, including every documented limitation, are in the forensic scores post.

Informational only, not investment advice, and not a recommendation to buy or sell any security. All figures are a snapshot as of the September 25, 2026 close and each company's latest annual filing.

Frequently asked questions

Does a Beneish flag mean a company is manipulating its earnings?

No. The Beneish M-Score is a 1999 statistical screen. A reading above −1.78 means the company's year-over-year ratio profile looks like the profiles in Beneish's sample of companies later caught manipulating. Large acquisitions, big capital raises, sharp margin swings and very fast growth can all produce the same profile. It's a prompt to read the filings, not a finding.

Why do some of my holdings show no score?

Banks and insurers mostly return no Altman, Piotroski or Beneish score, because the formulas assume an industrial balance sheet. A score can also be missing when the company's filing doesn't report a line item the formula needs. The score block says so in a note instead of showing a number that would look usable but isn't.

Do I need Pro for this?

Yes for the scores themselves: forensic scores are part of Pro, as are five years of statements plus quarterlies. The free tier gives price, fundamentals, the basic indicators and the next earnings date for the same holdings.