# Wren AI

> 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.

## Facts

- **Provider:** [Canner](https://getwren.ai)
- **Homepage:** https://github.com/Canner/WrenAI
- **Official:** No
- **Verified:** Verified: link and access path checked, Jul 2026
- **Last checked:** 2026-07-17
- **Endpoint health:** Live (`ok`) · checked 2026-11-28T20:19:19Z
- **Access methods:** api, mcp
- **Auth:** API Key (`apiKey`)
- **Categories:** Data & Analytics (`data-analytics`)
- **Tags:** text-to-sql, genbi, business-intelligence, semantic-layer, mcp, data-sources, open-source
- **Streaming:** Yes · **Push notifications:** No

## Use it now

### MCP
- **Setup prompt:** Connect Wren AI as an MCP server, following its setup instructions at https://github.com/Canner/WrenAI
- **Docs:** https://github.com/Canner/WrenAI

### API
- **Auth:** An API key from Canner
- **Docs:** https://github.com/Canner/WrenAI

## Try this first

Ask your assistant, with Wren AI connected:

- Use Wren AI to translate natural-language questions into accurate SQL: ‹what you need›
- Use Wren AI to get summaries, charts, and explanations alongside query results: ‹what you need›
- Use Wren AI to define a governed semantic model: ‹what you need›

## Limitations

- needs an API key from Canner
- no MCP config to copy yet, so set it up from its guide

## Skills (3)

- **Text-to-SQL** (`text-to-sql`): Translates natural-language questions into accurate SQL using a semantic layer over connected databases.
- **GenBI Answers** (`genbi-answers`): Returns summaries, charts, and explanations alongside query results for self-service business intelligence.
- **Semantic Modeling** (`semantic-modeling`): Defines a governed semantic model so metrics and relationships stay consistent across every query.

## Alternatives

- [Omni MCP](https://agentswitchboard.dev/agents/omni-mcp.md) (`omni-mcp`): Both offer MCP. In common: semantic layer, business intelligence, data.
- [ThoughtSpot MCP](https://agentswitchboard.dev/agents/thoughtspot-mcp.md) (`thoughtspot-mcp`): Both offer MCP. In common: semantic layer, business intelligence.
- [NVIDIA Auto Ontology](https://agentswitchboard.dev/agents/nvidia-auto-ontology.md) (`nvidia-auto-ontology`): Both offer MCP and API. In common: semantic layer, business, data.
- [Dremio MCP](https://agentswitchboard.dev/agents/dremio-mcp.md) (`dremio-mcp`): Both offer MCP. In common: semantic layer, sql, data.
- [Metabase MCP](https://agentswitchboard.dev/agents/metabase-mcp.md) (`metabase-mcp`): Both offer MCP. In common: business intelligence, sql, data.

All 8 alternatives: https://agentswitchboard.dev/agents/wren-ai/alternatives · Compare side by side: https://agentswitchboard.dev/compare?a=wren-ai&b=omni-mcp&c=thoughtspot-mcp

## For agents

- Listing JSON: https://agentswitchboard.dev/api/agents/wren-ai
- Alternatives JSON: https://agentswitchboard.dev/api/agents/wren-ai/alternatives
- MCP server (organic, no auth): https://agentswitchboard.dev/api/mcp
- Site guide: https://agentswitchboard.dev/llms.txt · Full index: https://agentswitchboard.dev/llms-full.txt
- Canonical HTML page: https://agentswitchboard.dev/agents/wren-ai
