MetricFlow vs Wren AI OSS
By Ari Bajo - data engineer turned writer.
Updated on December 2, 2026
Summary
MetricFlow and Wren AI OSS are free, Apache 2.0 engines: MetricFlow compiles metrics in a dbt project for CI and the command line, Wren AI OSS gives coding agents a model with examples and memory through an MCP server. Both read Apache Ossie; Wren AI OSS also writes it.
MetricFlow and Wren AI OSS differ on 9 of the 42 features in my semantic layer feature matrix and share 11.
MetricFlow vs Wren AI OSS at a glance
| Criterion | MetricFlow | Wren AI OSS |
|---|---|---|
| What it is | MetricFlow is a metrics engine behind the dbt Semantic Layer that compiles ratio, cumulative, and derived metrics defined in a dbt project into SQL. Apache 2.0; the APIs and BI integrations are part of the paid dbt platform. | Wren AI OSS is an open-source context engine for AI agents with a semantic layer, where metrics, joins, and worked examples live as YAML and Markdown in Git, for 22+ data sources, with a CLI, SDK, and MCP server. |
| Best for | Dbt projects that want tested metric definitions in Git and can query them from the command line, without BI tools connected. | Developers who want coding agents such as Claude Code or Cursor to write governed SQL from definitions kept in Git, without a web UI. |
| Category | Semantic layer | Semantic layer |
| Core strength | Open-source metrics engine inside dbt | Open-source context engine for coding agents |
| Pricing | Free, open source | Free, open source |
| Free option | Open source | Open source |
| Deployment | Self-hosted with the dbt project | Self-hosted command line, SDK and MCP server |
| Features | 12 of 42 tracked | 19 of 42 tracked |
| Notable caveat | APIs and BI integrations need the paid dbt platform | No web UI, evaluation, SSO or roles |
Key differences between MetricFlow and Wren AI OSS
The 9 features where only one of them is confirmed, by feature group. Each line says how the tool does it and links the source.
Semantic Models
Portability
Model Export
MetricFlow: not supported.
Wren AI OSS: Exports a project as an Apache Ossie file (docs).
AI & Agents
MCP Server
MetricFlow: not supported.
Wren AI OSS: wren serve mcp exposes a project to MCP clients. The edition table lists a hosted MCP server as commercial (docs).
AI Metadata & Synonyms
MetricFlow: not supported.
Wren AI OSS: Business rules and team conventions are stored with the model for agents (docs).
Verified Queries
MetricFlow: not supported.
Wren AI OSS: Proven question and SQL examples are stored and reused (docs).
AI Memory
MetricFlow: not supported.
Wren AI OSS: Memory keeps what worked before: schema items, SQL and examples (docs).
Data Governance
Row & Column-Level Security
MetricFlow: not supported.
Wren AI OSS: Access control is defined in the model; per-user row and column security is commercial (docs).
Deployment
Multi-Environment Support
MetricFlow: not confirmed.
Wren AI OSS: The same project can be bound to dev, staging and production profiles (docs).
MetricFlow or Wren AI OSS: which to choose
Choose MetricFlow if
Your metrics belong in the dbt project.
Choose Wren AI OSS if
Your own coding agents are the consumers and need examples and memory, not only metrics.
What both MetricFlow and Wren AI OSS do
11 features supported by both
- Semantic Models: Metrics & Dimensions, Joins & Relationships, Calculated & Derived Metrics, Definitions as Code
- Portability: Model Import, Apache Ossie Support
- Workflows: Multi-Warehouse Support, dbt Integration
- AI & Agents: AI-Assisted Modeling
- DataOps: Model Testing & Validation
- Deployment: Self-Hosted Deployment
MetricFlow vs Wren AI OSS integrations
MetricFlow lists 7 integrations and Wren AI OSS 22; 7 are on both lists. See the integrations matrix for all tools.
- Both (7): dbt, Apache Ossie, Snowflake, Google BigQuery, Amazon Redshift, Databricks, PostgreSQL
- Only Wren AI OSS (15): ClickHouse, DuckDB, Claude Code, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot, Windsurf, Devin, Snowflake Cortex Code, Google Antigravity, Cline, LangChain, Claude, OpenMetadata
MetricFlow vs Wren AI OSS FAQ
Is MetricFlow or Wren AI OSS cheaper?
MetricFlow: Free, open source (open source). Wren AI OSS: Free, open source (open source). Prices come from each vendor's pricing page.
Which has more features, MetricFlow or Wren AI OSS?
MetricFlow supports 12 and Wren AI OSS 19 of the 42 features in my semantic layer feature matrix. They share 11 and differ on 9; only MetricFlow has multi-fact models; only Wren AI OSS has hierarchies, model export and MCP server.
Is MetricFlow open source?
Yes, both MetricFlow and Wren AI OSS are open source.
Can MetricFlow and Wren AI OSS be self-hosted?
MetricFlow: Self-hosted with the dbt project. Wren AI OSS: Self-hosted command line, SDK and MCP server.
Data from my semantic layer feature matrix, checked against each vendor's docs, and pricing pages. For more options, see the best semantic layer tools.
Evaluating data tools in 2026?
I curate the most comprehensive lists of data tools, up-to-date comparison tables, and actionable market guides for data teams. More useful than a Gartner report. More reliable than asking AI. Next up: Data FinOps.