A
CursorAsk plain-English questions, get verified SQL and charts
SQL Analytics Copilot for Warehouse Questions
setuproll@setuproll87.0Overall score
A text-to-SQL workflow where the agent reads your warehouse schema through a database MCP, writes a query, runs it against a read-only role, and explains the result with a chart. For PMs and analysts who want trustworthy numbers without waiting on the data team for every ad-hoc pull.
87.0Score
1.5kVotes
5Components
Install this build
terminal
cursor mcp add postgres -- npx -y @modelcontextprotocol/server-postgresComponents
Model
- Claude Sonnet 4.6
- Gemini 2.5 Pro for huge schemas
MCP servers
- postgres (read-only)
- filesystem
Stack
- DuckDB
- dbt docs
- Vega-Lite
Rules
- Read-only role only, never write or drop
- Show the SQL before the answer
- Use dbt model descriptions for column meaning
How it works
- The MCP exposes table schemas and dbt docs as context
- The model drafts SQL and you confirm it before it runs
- It executes against a read-only role and summarizes the rows
- Results render as a Vega-Lite chart you can drop into a deck
Summary
A text-to-SQL workflow where the agent reads your warehouse schema through a database MCP, writes a query, runs it against a read-only role, and explains the result with a chart. For PMs and analysts who want trustworthy numbers without waiting on the data team for every ad-hoc pull.
87.0 score 1.5k votes
0 Reviews
Your rating
Sign in to post
Loading discussion...