Connect Kleio Analytics
Kleio is the recommended data source for StoreBrief. It provides the richest analytics - revenue, ad spend, product profitability, LTV, cohort analysis - all accessible through MCP, which means StoreBrief can query your data using natural language.
Cost: $29/mo (14-day free trial) Time to complete: ~5 minutes
Why Kleio?
| Feature | Kleio | Shopify Direct |
|---|---|---|
| Revenue, orders, AOV | Yes | Yes |
| Sessions, conversion rate | Yes | Limited |
| Ad spend by channel | Yes | No |
| MER / ROAS | Yes | Manual only |
| Product profitability | Yes | No |
| LTV by cohort | Yes | No |
| Repurchase rates | Yes | No |
| CAC | Yes | No |
| MCP access (natural language) | Yes | No |
Kleio turns StoreBrief from a basic store monitor into a full revenue intelligence system.
Step 1: Install Kleio
- Go to the Shopify App Store
- Click Add app and install on your Shopify store
- Complete the onboarding in Kleio (takes ~2 minutes)
Step 2: Connect your ad accounts
Inside Kleio:
- Go to Settings → Integrations
- Connect your ad platforms:
- Meta Ads
- Google Ads
- TikTok Ads (if applicable)
- Snapchat Ads (if applicable)
- AppLovin (if applicable)
This gives StoreBrief access to ad spend data for MER calculations and channel-level diagnostics.
Step 3: Enable the MCP server
- In Kleio, go to Settings → MCP
- Enable the MCP server
- Copy your Kleio API key
Step 4: Add Kleio MCP to your AI client
Claude Code
Run this command:
claude mcp add kleio -- npx kleio-mcp-server
Or add manually to .claude/settings.json:
{
"mcpServers": {
"kleio": {
"command": "npx",
"args": ["kleio-mcp-server"],
"env": {
"KLEIO_API_KEY": "YOUR_KLEIO_API_KEY"
}
}
}
}
OpenClaw
In your workspace MCP settings, add:
{
"mcpServers": {
"kleio": {
"url": "YOUR_KLEIO_MCP_URL",
"apiKey": "YOUR_KLEIO_API_KEY"
}
}
}
Cursor / Windsurf
Check your editor's MCP configuration settings and add the Kleio server with your API key.
Step 5: Verify the connection
In your AI client, ask StoreBrief:
Check my connections
You should see:
Kleio MCP: Connected ✓ (last sync: X hours ago)
Then try:
What was my MER yesterday?
If you get a number back with channel breakdown, Kleio is working.
What StoreBrief gets from Kleio
- Daily metrics: Revenue, orders, AOV, sessions, CVR with full history
- P&L breakdown: Revenue, COGS, ad spend, contribution margin
- Product profitability: Per-product and per-variant margin analysis
- Ad spend by channel: Meta, Google, TikTok - with ROAS per channel
- LTV by cohort: 30/60/90/180 day customer value
- Repurchase rates: By product and by time period
- CAC: Customer acquisition cost by channel
- Inventory data: Stock levels with sell-through velocity
This data powers StoreBrief' most advanced features: MER monitoring, product-level diagnostics, cohort insights, and revenue forecasting.