/
© 2026 RiffOn. All rights reserved.

Get your free personalized podcast brief

We scan new podcasts and send you the top 5 insights daily.

  1. Behind the Craft
  2. Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha
Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha

Behind the Craft · Jan 18, 2026

Learn to build an AI data analyst with Claude Code. Sumeet Marwaha shows how to use MCPs to automate SQL queries, reporting, and deep analysis.

Prevent AI Hallucinations by Reminding It That Query Results Are Limited Samples

AI data agents can misinterpret results from large tables due to context window limits. The solution is twofold: instruct the AI to use query limits (e.g., `LIMIT 1000`), and crucially, remind it in subsequent prompts that the data it is analyzing is only a sample, not the complete dataset.

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha thumbnail

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha

Behind the Craft·3 months ago

Claude Code Augments Data Analysts by Automating Monitoring and Storytelling

AI tools like Claude Code are evolving beyond simple SQL debuggers to augment the entire data analysis workflow. This includes monitoring trends, exploring data with external context from tools like Slack, and assisting in crafting compelling narratives from the data, mimicking how a human analyst works.

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha thumbnail

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha

Behind the Craft·3 months ago

Brex Spending Data Reveals Cursor as the Dominant AI Coding Tool

Analysis of Brex customer spending patterns provides a clear market signal: Cursor is the leading AI coding tool. Unlike surveys or hype, this data reflects actual purchasing decisions, showing Cursor's dominance across both startup and enterprise segments, a rare achievement for a new developer tool.

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha thumbnail

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha

Behind the Craft·3 months ago

Superior AI Data Analysis Connects Warehouse Data with Context from Slack and Docs

To elevate AI-driven analysis, connect it to unstructured data sources like Slack and project management tools. This allows the AI to correlate data trends with real-world events, such as a metric dip with a reported incident, mimicking how a senior human analyst thinks and providing deeper insights.

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha thumbnail

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha

Behind the Craft·3 months ago

Use 'AI Skills' to Enforce Safe Querying Guardrails for Non-Technical Users

To safely empower non-technical users with self-service analytics, use AI 'Skills'. These are pre-defined, reusable instructions that act as guardrails. A skill can automatically enforce query limits, set timeouts, and manage token usage, preventing users from accidentally running costly or database-crashing queries.

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha thumbnail

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha

Behind the Craft·3 months ago

AI-Powered Reports Surpass Static Dashboards by Proactively Asking Follow-Up Questions

Traditional automated dashboards are often ignored. AI-driven reporting is superior because it doesn't just present data; it actively analyzes it. The AI summarizes trends, generates relevant follow-up questions, and even attempts to answer them, ensuring that insights are never missed, even when stakeholders are busy.

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha thumbnail

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha

Behind the Craft·3 months ago

Prime Your AI Data Analyst with a '3-Query MCP' to Ensure Consistent Results

To make an AI data analyst reliable, create a 'Master Claude Prompt' (MCP) with 3 example queries demonstrating key tables, joins, and analytical patterns. This provides guardrails so the AI consistently accesses data correctly and avoids starting from scratch with each request, improving reliability for all users.

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha thumbnail

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha

Behind the Craft·3 months ago

Startups Choose Anthropic's Claude for Production AI Features, Despite OpenAI's Enterprise Lead

Brex spending data reveals a key split in LLM adoption. While OpenAI wins on broad enterprise use (e.g., ChatGPT licenses), startups building agentic, production-grade AI features into their products increasingly prefer Anthropic's Claude. This indicates a market perception of Claude's suitability for reliable, customer-facing applications.

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha thumbnail

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha

Behind the Craft·3 months ago

Bootstrap Your AI Data Agent Using Popular Queries Scraped from Your Database Logs

When setting up an AI data agent, don't invent example queries from scratch. Instead, bootstrap the process by analyzing your database logs (e.g., from Snowflake) to find the most popular, real-world queries already being run against your key tables. This ensures the AI learns from actual usage patterns.

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha thumbnail

Build an AI Analyst with Claude Code in 50 Min | Sumeet Marwaha

Behind the Craft·3 months ago