
wren-engine
by Canner·★ 661·Score 53
An open context engine for AI agents that provides business context and semantic layer over data sources.
Overview
Wren Engine is a context engine that helps AI agents understand business data instead of just raw tables. It turns business definitions, metrics, relationships, and governance rules into agent-usable context that can be queried through MCP. The engine connects to various data sources and plans queries based on semantic models described in MDL (Modeling Definition Language). It's particularly useful for building agent-native workflows in tools like Claude Code, VS Code, and other MCP-compatible environments.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose Wren Engine when your AI agents need to understand business context and metrics beyond raw table schemas, especially for governed enterprise data environments.
When NOT to choose this
Don't choose this if you need direct database access without business context layer or if you're looking for a simple text-to-SQL solution without semantic modeling.
Comparable tools
Installation
Installation
Through MCP
- Clone the repository:
git clone https://github.com/Canner/wren-engine - Navigate to the MCP server:
cd wren-engine/mcp-server - Follow the setup instructions in the README
Through AI Agents
- Follow the [Installation guide](https://docs.getwren.ai/oss/engine/get_started/installation)
- Set up quickstart with [jaffle_shop example](https://docs.getwren.ai/oss/engine/get_started/quickstart)
Claude Desktop Configuration
Add to your Claude Desktop config.json:
{
"mcpServers": {
"wren": {
"command": "uv",
"args": ["run", "mcp-server", "serve"],
"env": {
"WREN_ENGINE_PATH": "/path/to/wren-engine"
}
}
}
}FAQ
- What is Wren Engine?
- Wren Engine is an open context engine that helps AI agents understand business data semantics, metrics, relationships, and governance rules instead of just raw tables.
- How does it integrate with MCP servers?
- Wren Engine includes an MCP server module that exposes tools and resources for AI agents to interact with business context, query data, and access metadata.
On Hacker News
Recent discussion from the developer community.
- Story by wwwy3y32 · 2025-04-01
- Story by chilijung · 2026-03-29
Compare wren-engine with
Last updated · Auto-generated from public README + GitHub signals.