Transform complex business questions into optimized SQL queries instantly. Connect to real Firebolt databases and get insights in natural language.
A complete natural language interface for SQL query generation and execution
This demo showcases a production-ready natural language to SQL system that connects to real Firebolt databases, generates optimized queries, and provides interactive visualizations.
Ask business questions in plain English
Claude AI analyzes your question and database schema
Connects to live Firebolt database via MCP protocol
Automatic chart generation with Plotly integration
Production-ready capabilities for enterprise analytics
Firebolt's columnar engine delivers lightning-fast query execution with automatic optimization and intelligent caching.
Claude 3.5 Sonnet understands business context and generates complex SQL queries with proper JOINs and aggregations.
Direct integration with Firebolt databases through secure MCP protocol with credential management.
Intelligent chart type selection and automatic visualization generation based on query results and data types.
Review and modify generated SQL queries before execution with syntax highlighting and validation.
Real-time execution statistics including Firebolt engine time, network overhead, and query optimization insights.
Try these sample questions to explore the demo's capabilities
Get the Natural Language to SQL demo running locally
git clone https://github.com/asimrout-eng/mcp-agenticai.git
cd mcp-nl-devrel
pip install -r requirements.txt
# Set your Anthropic API key
export ANTHROPIC_API_KEY="your_api_key_here"
# Configure Firebolt credentials (optional - can set in UI)
export FIREBOLT_MCP_CLIENT_ID="your_service_account_id"
export FIREBOLT_MCP_CLIENT_SECRET="your_service_account_secret"
# Run the Natural Language to SQL demo
./run.sh your_anthropic_api_key
# Access at: http://localhost:8504
How the Natural Language to SQL system works
Natural language business questions
Schema-aware SQL generation
Secure database connection
Lightning-fast query execution
Interactive charts and insights