Investigate a revenue dip, onboarding drop-off and user segments with Claude Code, the PostHog MCP and your interview transcripts
A product person connects Claude Code to PostHog and a folder of company context and interview transcripts, then asks it to explain a revenue dip, a funnel drop and user segments.
Evidence: The author reports this. We have not checked it beyond reading the source.
The business problem
Quantitative events and qualitative interviews sit in different tools, so finding why a number moved takes hours of manual joining.
What was tried
Run Claude Code in a local folder connected to the PostHog MCP so it can query events with HogQL. In the folder, keep the company overview, ideal customer and goals, a data glossary, seasonality notes, a deployment log, and the interview and usability transcripts. Ask Claude whether a revenue dip is significant given seasonality and break it down by payment method. Ask it to map a funnel step to its event and search the transcripts for confusion. Have it propose user segments, then challenge its criteria, and test your own hypotheses about what drives retention before acting.
What was reported (not reported)
In the author's example Claude traced zero new invoice payments since Friday to a Thursday billing release, found a 33 percent drop at the AI setup step with a hypothesis about a local versus cloud choice, and showed mobile at 0.3 percent of sessions. No later fix or result is reported.
Limitations
One author's walkthrough of her own product with no data shown. HogQL results can differ from the PostHog interface because of sampling, timezone, default filters and caching, so check board-level numbers in the interface. The context folders and glossary need building and upkeep. Large transcript sets will strain the context window. The 'no mobile demand' conclusion may only reflect questions that were never asked. The author calls it a multiplier for product judgment, not a replacement.
What you need
A PostHog project with events, Claude Code, the PostHog MCP server, and written-up interview or usability transcripts. Time to build the context files.
Sources
- Else van der Berg (Substack) ↗ Firsthand write-up, published January 27, 2026
Source published: January 27, 2026. Last reviewed here: October 11, 2026. Spot a mistake? Tell us.
Tools in this workflow
- Claude Code: Runs the analysis against local context filesTry Claude Code
- PostHog: Provides the product event data through its MCP serverTry PostHog
Get new workflows like this by email
A short selection of the most useful new workflows, including the ones that did not work. Free, and you can unsubscribe at any time.
Related workflows
Hand your year-end bookkeeping checklist to Claude Code: it finds context in your email, reconciles in Xero and asks you only what it cannot find
The owner of a small UK company gave Claude Code his accountant's 37-item year-end checklist. Claude planned the job, reconciled about 200 bank lines in Xero, recategorised expenses and filled the form, with about an hour of his input over 80 short messages.
Check whether your pages can appear in Google AI Overviews with a short eligibility script, then accept that AI Overview clicks cannot be told apart in analytics
A solo founder with a dozen small sites read Google's own rules for AI Overviews, wrote a standard-library Python script that checks indexing and snippet settings, ran it on 20 URLs, then compared what his analytics can and cannot attribute to AI tools.
Track ChatGPT visits by utm_source instead of referrer, then find they land on live-data tools rather than service pages
A small Israeli web agency found ChatGPT had become its second-largest traffic source once it filtered by utm_source instead of referrer: 769 sessions in 30 days, 76% on one free vehicle lookup tool and none on service pages. Visitors looked for contacts more often, but leads are unknown.
Coordinate a dozen Claude Code sessions as a tiny company with a message relay, an approval-claim filter and a health check for silent stops
A solo operator runs several small projects with Claude Code sessions in roles (a COO, project owners, a coder) and lists what broke in the first weeks: sessions that could not talk, fake approval claims, and scheduled tasks that stopped silently. Revenue is still near zero.