SQLGenius is an AI-powered SQL assistant that converts natural language to SQL queries using Vertex AI's Gemini Pro. Built with MCP and Streamlit, it provides an intuitive interface for BigQuery data exploration with real-time visualization and schema management.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"sql-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
SQLGenius is an intelligent SQL assistant that helps you query your BigQuery database using natural language. Built with MCP (Model Context Protocol), Vertex AI's Gemini Pro, and Streamlit.
This server supports HTTP transport. Be the first to test it — help the community know if it works.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in data / analytics
Manage Supabase projects — databases, auth, storage, and edge functions
MCP Server for GCP environment for interacting with various Observability APIs.
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
The Apify MCP server enables your AI agents to extract data from social media, search engines, maps, e-commerce sites, or any other website using thousands of ready-made scrapers, crawlers, and automation tools available on the Apify Store.
MCP Security Weekly
Get CVE alerts and security updates for SQL_MCP_Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
SQLGenius is an intelligent SQL assistant that helps you query your BigQuery database using natural language. Built with MCP (Model Context Protocol), Vertex AI's Gemini Pro, and Streamlit.
Watch SQLGenius in action! Here's a quick demo of how to use the application:

In this demo, you can see:
cd sql_mcp_server
pip install -r requirements.txt
.env.example file to .env and fill in your configuration:cp .env.example .env
.env:PROJECT_ID=your-project-id
DATASET_ID=your-dataset-id
GOOGLE_APPLICATION_CREDENTIALS=path/to/your/service-account.json
VERTEX_AI_LOCATION=us-central1
streamlit run streamlit_app.py
The MCP server will start automatically when the Streamlit app launches
Use the tabs to:
Ask questions in plain English and get SQL results:
Write and execute SQL queries directly:
SELECT * FROM orders
WHERE order_date > '2023-01-01'
ORDER BY total_amount DESC
LIMIT 10
SQLGenius uses the Model Context Protocol (MCP) to expose tools that enable:
The architecture consists of:
The following MCP tools are available:
execute_nl_query: Execute a natural language queryexecute_sql_query: Execute a raw SQL querylist_tables: List all available tablesget_table_schema: Get schema for a specific tableTo add custom tools to the MCP server:
register_tools() method in sql_mcp_server.py@self.tool() decoratorContributions are welcome! Please feel free to submit a Pull Request.