Open-source text-to-SQL agent for governed GenBI — ask questions in natural language across 20+ data sources and get accurate SQL, charts, and answers. Ships an MCP server and API. 15k+ GitHub stars.
Use it now
Keep it with up to 9 other tools you're setting up, then share them all as one link.
Try this first
Ask your assistant, with Wren AI connected:
- Text-to-SQL
Use Wren AI to translate natural-language questions into accurate SQL: ‹what you need›
- GenBI Answers
Use Wren AI to get summaries, charts, and explanations alongside query results: ‹what you need›
- Semantic Modeling
Use Wren AI to define a governed semantic model: ‹what you need›
Connect it over MCP
Connect Wren AI as an MCP server, following its setup instructions at https://github.com/Canner/WrenAI
Its page: github.com/Canner/WrenAI
Call the API
Auth An API key from Canner
Its page: github.com/Canner/WrenAI
Limitations
- needs an API key from Canner
- no MCP config to copy yet, so set it up from its guide
Compare
Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.
- Access
- APIMCP
- Auth
- API Key
- Skills
- 3
- Endpoint check
- Live ·
Skills
Text-to-SQL
Translates natural-language questions into accurate SQL using a semantic layer over connected databases.
GenBI Answers
Returns summaries, charts, and explanations alongside query results for self-service business intelligence.
Semantic Modeling
Defines a governed semantic model so metrics and relationships stay consistent across every query.
Embed badge · Verified
Drop this static SVG badge into your README or docs to link straight to this listing. Served from CDN with no tracking. See all badge tiers.
[](https://agentswitchboard.dev/agents/wren-ai)
<a href="https://agentswitchboard.dev/agents/wren-ai"><img src="https://agentswitchboard.dev/badges/verified.svg" alt="Verified on Agent Switchboard" width="234" height="28" /></a>