About WrenAI
WrenAI is an MCP server published by Canner in the Other category: genBI (Generative BI) for AI agents, an open-source, governed text-to-SQL through an open context layer that turns natural-language questions into trusted dashboards, charts, and SQL across 20+ data sources, such as BigQuery, Snowflake, PostgreSQL, ClickHouse, Amazon Redshift, Databricks and more. Conduid read 24 tools from its source: describe_cube, describe_model, describe_schema, dry_plan, dry_run, get_context and 18 more. No package is published for it, so it installs from a source checkout.
The repository has 18K stars and 2.1K forks, and its last commit was on 1 Dec 2026. The latest release is wren-v0.18.0 (10 Nov 2026): Features wren: serve a project-bound agent and governed MCP through a shared context layer (#2848) (c4d6ac3) Bug Fixes wren: address deferred review findings from the se… It follows wren-v0.17.1 (30 Oct 2026), and the 5 most recent releases go back to wren-semantic-core-v0.5.1 (23 Oct 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include bedrock, bigquery, business-intelligence, charts, duckdb and genbi.
Install
git clone https://github.com/Canner/WrenAITools (24)
describe_cubeReturn the full definition of a cube (measures, dimensions, etc).| Parameter | Type | Description |
|---|---|---|
| name * | string |
describe_modelDescribe a model's columns, primary key, ref SQL, and relationships.| Parameter | Type | Description |
|---|---|---|
| name * | string |
describe_schemaReturn the full MDL schema as a structured plain-text description.dry_planExpand SQL through the MDL semantic layer and return the target-dialect SQL.| Parameter | Type | Description |
|---|---|---|
| sql * | string |
dry_runValidate SQL against the connected data source without returning rows.| Parameter | Type | Description |
|---|---|---|
| sql * | string |
get_contextSemantic retrieval of the schema fragments relevant to a question.| Parameter | Type | Description |
|---|---|---|
| item_type | string | |
| limit | integer | |
| model_name | string | |
| question * | string |
get_data_sourceReturn the project's configured data source (SQL dialect).get_instructionsReturn business rules and instructions from knowledge/rules/*.md.get_mdlReturn the full compiled MDL (models, relationships, cubes) as JSON.list_cubesList cubes defined in the project with their measures/dimensions.list_functionsList SQL functions available for the project's data source.list_knowledgeList knowledge files readable via the wren://knowledge/{path} resource.list_modelsList the semantic models available to query, with column counts.list_stored_queriesEnumerate stored NL->SQL pairs from knowledge/sql/.| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| source | string |
query_cubeRun a structured cube (metric) query and return aggregated rows.| Parameter | Type | Description |
|---|---|---|
| cube | string | |
| dimensions | array | |
| filters | array | |
| limit | integer | |
| measures | array | |
| offset | integer | |
| order_by | array | |
| sql_only | boolean | |
| time_dimension | string |
recall_queriesRecall confirmed NL->SQL examples similar to the given question.| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| question * | string |
run_sqlExecute a SQL query through the Wren semantic layer and return rows.| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| sql * | string |
store_queryPersist a confirmed NL->SQL pair to knowledge/sql/ for future recall.| Parameter | Type | Description |
|---|---|---|
| datasource | string | |
| nl_query * | string | |
| sql_query * | string | |
| tags | string |
wren_dry_planPlan SQL through MDL and return the target-dialect SQL.| Parameter | Type | Description |
|---|---|---|
| sql * | string |
wren_fetch_contextFetch relevant schema and business context for an analytical question.| Parameter | Type | Description |
|---|---|---|
| item_type | any | |
| limit | integer | |
| model | string | |
| question * | string |
wren_list_modelsList all models in this Wren project with column counts.wren_queryExecute SQL through the Wren semantic layer and return rows.| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| sql * | string |
wren_recall_queriesRecall up to *limit* past NL→SQL pairs similar to *question*.| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| question * | string |
wren_store_querySave a confirmed natural-language → SQL pair for future recall.| Parameter | Type | Description |
|---|---|---|
| nl * | string | |
| sql * | string | |
| tags | array |
Security checks
Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.0K words.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by core/wren-context-loader/Cargo.lock and 4 more.
- !No dynamic code executionScanned 199 source files and found 2 calls to eval or shell execution, in core/wren-core-base/src/mdl/cls.rs:27 and evals/spodbtify_ab/run_eval.py:333. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
What the source scan found
- Transport
- stdio and Streamable HTTPcore/wren/src/wren/agent_service.py:2313, core/wren/src/wren/agent_service.py:2282
- Starts other programs
- 8 callscore/wren/src/wren/agent_ipc.py:121, core/wren/src/wren/agent_service.py:1956, core/wren/src/wren/cloud.py:430
- Outbound network calls
- 5 callscore/wren/src/wren/cloud.py:215, core/wren/src/wren/cloud.py:1438, core/wren/src/wren/cloud.py:1525
- Writes or deletes files
- 47 callscore/wren-context-loader/src/main.rs:635, core/wren-context-loader/src/main.rs:636, core/wren-context-loader/src/main.rs:639
- Lockfile
- core/wren-context-loader/Cargo.lock and 4 more
Pattern matches on the source text of 199 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.0K words, fetched 7 days ago. The original in the repository is authoritative.
Read full README