QueryFlow integrates Anthropic's Claude directly into the SQL editor with full schema awareness. Claude sees your tables, your columns, your recent results, and your recent errors — automatically.
Generic AI SQL tools (the ones that just paste your prompt into ChatGPT) have a fundamental problem: they don't know what's actually in your database. Ask 'write me a query for customers who haven't ordered in 90 days' and the AI gives you a query with made-up table names — customers_table, orders_log, last_order_date — that have nothing to do with your actual schema. You spend more time correcting the AI's guesses than you would have spent writing the query yourself.
When you connect a database in QueryFlow, the schema (every table, every column, every type) becomes part of Claude's context automatically. Ask 'write me a query for customers who haven't ordered in 90 days' and Claude writes a query using your actual customer table name, your actual order_date column, your actual DATEDIFF function for your database type. No made-up names. No wrong column references. SQL that runs.
Context chips at the bottom of the Claude panel show exactly what Claude has access to right now. SQL: your current query in the editor. Python: your current Python code, if any. Rows: the latest 50 result rows from your most recent query (only if you choose to include them). Schema: every table and column in your connected database. Errors: the last 5 execution errors with their SQL. You see what's included and you can toggle context off if needed. Claude never sees data you don't explicitly include.
'Write me a query that finds customers who haven't placed an order in 90 days' — Claude writes valid SQL using your actual customer and order tables. 'Why is this query slow?' — Claude reads your query plus the latest EXPLAIN output and identifies the bottleneck. 'What does this error mean?' — Claude reads the most recent error message and explains it in context of your schema. 'Convert this subquery to a CTE' — Claude rewrites the SQL. 'Summarize these results' — Claude reads the latest 50 rows and produces an analytical summary.
QueryFlow doesn't charge for AI usage — you bring your own Anthropic API key and pay Anthropic directly. Typical Claude usage in QueryFlow runs $1-$5/month for an active data engineer. Heavy users (running Claude on every query and using it as a coding partner) might spend $10-$20/month. This is dramatically cheaper than competitor AI subscriptions like JetBrains AI Assistant ($120/yr) or GitHub Copilot ($100/yr), and you only pay for what you actually use.
Anthropic's API governs what happens with the prompts you send. The relevant facts: prompts and responses aren't used to train Anthropic's models (per their API terms), data is processed in-region based on Anthropic's infrastructure, and you can review every prompt before sending it. QueryFlow doesn't add any additional data collection — your prompts go directly to Anthropic via your API key with no QueryFlow-side logging.
Three reasons. First, Claude is exceptionally good at code generation, especially SQL — Anthropic has invested heavily in technical capabilities. Second, Anthropic's privacy posture is the strongest among major AI providers (no training on customer data, transparent policies). Third, QueryFlow is part of the Anthropic ecosystem — the same company that builds Claude. Future updates will deepen Claude-specific integrations (likely including Claude Code workflows, Claude's improved long-context handling, and Anthropic's evolving API features). Building on Claude is a strategic alignment, not just a model choice.
Yes. QueryFlow is the editor; Claude is the AI. You sign up at console.anthropic.com, create an API key, paste it into QueryFlow's settings (stored encrypted in the macOS Keychain), and you're done. New Anthropic accounts get $5 in free credit which lasts most users 1-2 months.
Anthropic charges per token (input + output). A typical Claude question in QueryFlow (with schema context) costs $0.001 to $0.01. A heavy active data engineer using Claude on most queries spends $5-$20/month. Light users typically spend under $1/month.
By default, only the schema (table names, column names, types). The 50 most recent result rows are sent only if you keep the 'Rows' context chip toggled on. You can disable any context category in the chat panel before sending. Claude's awareness is opt-in by chip.
QueryFlow v1.5 is Claude-native. Support for other models is on the roadmap based on user demand. For now, Claude (specifically claude-sonnet-4 and claude-opus-4) is the only supported provider.
No — Claude runs on Anthropic's API, which requires internet access. The rest of QueryFlow (SQL editor, schema explorer, Python notebooks, scheduling) works fully offline. Disable the Claude panel if you're working air-gapped or on a flight.
14-day free trial. Connect your database, ask Claude one question, and feel the difference between context-aware AI and generic SQL generators.