Marwaha describes a workflow that starts with monitoring dashboards, then investigating meaningful changes, building a business story, and eventually measuring impact. Claude can review several dashboards, summarize trends, and draw on Slack, Linear, and other context to help explain what changed. He sees story craft and business judgment as areas where people still need to guide the analysis.
Build an AI Analyst with Claude Code in 50 Min
Speakers
Sumeet Marwaha discusses using Claude Code for data analysis with Peter Yang on the Peter Yang channel, drawing on his experience at Brex.
For a startup funding dataset, the hosts use three example queries to create an MCP: funding trends by industry and stage, top investors, and an ecosystem health analysis. Marwaha says an MCP gives users a repeatable way to reach data, with documentation and query patterns that help guide SQL and joins. They recommend starting with queries already used in dashboards or Snowflake, rather than inventing them from scratch.
Marwaha warns that large query results can overwhelm Claude’s context window, and that limited query samples can be mistaken for complete tables. He recommends clear query limits, explicit field names and definitions, and a narrow set of relevant dimensions so the agent does not choose between overlapping meanings. Connecting selected Slack channels or other sources can add context, such as explaining a metric shift through an active data incident.
The demo MCP includes a basic SQL query tool and an analysis tool, then ranks October 2025 Series A startups by estimated Series B potential. Its answer uses funding history and sector patterns, including reported Series B rates of 61% for healthcare companies and 73% for AI companies. Marwaha says skills can set query limits and timeouts, helping reduce costly or overly large joins when PMs run analyses.
Marwaha recommends choosing three core queries that show common joins and useful analysis patterns, then documenting the domain context and typical questions. A pair of basic queries plus one more involved analysis can give an agent enough structure to fill in some joins and follow-on questions. He says this context can also improve analysis in BI tools such as Hex.
Takeaways
- Start with queries people already use, including examples of joins and analysis patterns.
- Document field meanings and synonyms clearly, and avoid overlapping definitions that could confuse an agent.
- Limit query results and set timeouts to manage context use and database load.
- Give the agent access to relevant sources, such as incident channels, when they can explain changes in the data.
- Use skills or shared instructions to make common analysis workflows more repeatable for PMs and data teams.
Mentioned in this talk
Search inside this talk
What was claimed 12
- metric
Cursor: Described as the coding tool of choice for Brex's startup and enterprise customers.
“The customers on our platform have already picked: it’s definitely Cursor.”
YouTube Unverified1 source· Talk
- feature
Claude Code: Can run queries, monitor trends, summarize results, and support data investigations.
“Claude can run your queries, look at them, understand the trends, and summarize them.”
YouTube Unverified1 source· Talk
- feature
Claude Code: Can combine warehouse analysis with context from Slack and other tools such as Linear.
“Claude can access all of that”
YouTube Unverified1 source· Talk
- featureMCP: Provides structured, repeatable data access and rails for writing queries and analysis.
“you want Claude to access your data in a structured way that's somewhat repeatable”
YouTube Unverified1 source· Talk
- usesSumeet Marwaha uses SnowflakeAccesses the Snowflake instance through the Snowflake CLI and a PAT token.
“I set up the Snowflake CLI, so it has access through that.”
YouTube Unverified1 source· Talk
- integrates withGlean integrates with
Google Drive
“it can access Drive and Slack to pull in context”
YouTube Unverified1 source· Talk
- integrates with
“it can access Drive and Slack to pull in context”
YouTube Unverified1 source· Talk
- usesSumeet Marwaha uses GleanUses the Glean MCP to connect Claude Code to Drive and Slack.
“for both of those, we use the Glean MCP”
YouTube Unverified1 source· Talk










