ψ · CLAUDE AI FOR DATA

Claude AI for data analysis, schema-aware.

Most AI-assisted SQL tools give Claude just the query text — it has to guess at table names, column types, and relationships. QueryFlow gives Claude full schema awareness. Ask Claude to write a query against your fact_orders table and it uses your actual column names, knows the types, sees the relationships.

Start 14-day free trial Download on theMac App Store

macOS 15+ · Apple Silicon native · 14-day free trial · No credit card

Quick answer: QueryFlow uses Claude AI for data analysis with full schema awareness. When you connect a database to QueryFlow, Claude sees every table, column, type, and relationship. Claude can write SQL queries, analyze query performance from EXPLAIN output, transform results in Python, and explain errors — all using your actual schema. Available on macOS for $299.99/year.

Why schema awareness matters for AI-assisted SQL

Generic AI SQL tools work like this: you paste your question, optionally describe your schema in a prompt, and the AI generates SQL. The result is often syntactically valid but uses guessed table or column names that don't exist in your database. You then manually correct the names, rewrite the JOIN logic, and run the query. The workflow is faster than writing SQL from scratch, but not by much.

QueryFlow's schema-aware integration

When you connect a database to QueryFlow (Snowflake, Postgres, MySQL, Redshift, Google Sheets, Salesforce, or CSV), QueryFlow loads the full schema — tables, columns, types, primary keys, foreign keys. Claude AI has access to this schema in every interaction. Ask Claude 'write a query to find customers who haven't ordered in 30 days' and it produces SQL with your actual customers and orders table names, joins on the correct foreign key, and filters by your actual date column.

Context beyond schema: results and errors

QueryFlow's Claude AI integration also sees your most recent query result (50 rows) and your last 5 query errors with timestamps and SQL snippets. Ask 'summarize these results' and Claude analyzes the actual data. Ask 'why did this fail' after an error and Claude reads the actual error message in context. This depth of context produces dramatically more useful AI assistance than tools that only see your prompt text.

Code generation across SQL and Python

Claude AI works in both QueryFlow's SQL editor and the Python cells inside Flow Books. Ask Claude to write a query, run it, then ask Claude to transform the result with pandas. The Python cell sees the query result as a DataFrame named df. Claude writes pandas code that operates on df with awareness of the actual column structure.

Ghost text completions as you type

Beyond the chat panel, Claude provides inline ghost text completions in the SQL editor. As you type SELECT, Claude suggests likely column names based on the table context. As you type WHERE, Claude suggests filter conditions based on schema and recent queries. Tab to accept. The completions are subtle and skippable — they accelerate your typing without forcing you into Claude's suggestions.

Privacy and what Claude sees

When you use QueryFlow's Claude integration, your messages, schema metadata, and (optionally) result samples are sent to Anthropic's Claude API. Connection credentials, raw row data beyond the optional result sample, and your application code are NOT sent to Claude. You control whether result samples are included via Settings → AI → Include result samples in context.

Pricing and Claude tier

QueryFlow's Claude AI integration uses your Anthropic API key (configured once in Settings). You pay Anthropic directly for API usage at standard Claude rates (currently very affordable for typical data analysis use cases — a heavy user might spend $5-20/month on the API on top of QueryFlow's subscription). The trade-off vs bundled-AI products is transparency — you see exactly what you're paying for and can choose your Claude tier.

Frequently asked

Which Claude model does QueryFlow use?

QueryFlow defaults to Claude Sonnet 4.6 for SQL and analysis work — the right balance of capability and speed. You can switch to Claude Opus 4.6 in Settings for more complex analytical questions, or Haiku for fastest response time.

Does QueryFlow work without Claude AI?

Yes. Claude AI integration is optional. QueryFlow works as a full-featured SQL editor and ETL tool without any AI features enabled. The Claude features add capability when you want them, but aren't required for basic use.

Can Claude AI see sensitive data in my database?

Claude sees what you choose to send. By default, Claude sees schema metadata (table and column names, types) but not row data. You can optionally include the last 50 result rows in Claude's context for richer analysis (Settings → AI). Connection credentials are never sent to Claude under any setting.

How much does Claude AI cost in addition to QueryFlow?

Claude API costs depend on usage. Typical interactive data analysis: $5-20/month for heavy users, often under $5/month for moderate use. Anthropic publishes their pricing at anthropic.com/pricing. You bring your own API key, so QueryFlow doesn't mark up Claude usage.

Can Claude write Snowflake-specific or Postgres-specific SQL?

Yes. QueryFlow passes the connection type to Claude so it knows whether to generate Snowflake, Postgres, MySQL, Redshift, or SQLite dialect SQL. Snowflake-specific syntax (QUALIFY, FLATTEN, MATCH_RECOGNIZE) and Postgres-specific syntax (window functions, CTEs, JSON operators) are both well-handled.

Claude AI, with your actual data context.

14-day free trial. Bring your own Claude API key and see how much faster data analysis gets with schema awareness.

Start 14-day free trial