Marketing Mix Modeling MCP server — CSV in, budget recommendations out.
Project description
MixLift
Find the wasted dollars in your ad budget. In 5 minutes. For $299/month.
MixLift is a marketing mix model that runs inside Claude. Give it a CSV of your weekly ad spend and revenue, and it tells you exactly which channels are overspent, which are underspent, and how to reallocate for more revenue. No dashboards to learn, no analysts to hire — just ask Claude a question and get an answer.
Quick Start
Three steps. Five minutes. No data science degree required.
Step 1: Install MixLift
Open your terminal (on Mac: search for "Terminal" in Spotlight) and paste this command:
pip install mixlift
Not sure if you have Python? Run this first:
python3 --version
You need Python 3.11 or higher. If you see something like Python 3.11.5 or Python 3.12.0, you're good. If you get an error or see a version below 3.11, install Python from python.org/downloads.
Step 2: Connect MixLift to Claude Desktop
MixLift works as a tool inside Claude Desktop. You need to tell Claude where to find it.
On macOS, open Terminal and paste:
open ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows, open File Explorer and go to:
%APPDATA%\Claude\claude_desktop_config.json
Add or replace the contents with:
{
"mcpServers": {
"mixlift": {
"command": "mixlift-mcp"
}
}
}
If the file already has other servers, just add the "mixlift" block inside "mcpServers".
Save the file and restart Claude Desktop (quit and reopen it).
Step 3: Try It
Open Claude Desktop and type:
Run mixlift_analyze with no arguments
Claude will run MixLift on a built-in demo dataset and show you channel performance, ROAS, and budget recommendations. If you see results, everything is working.
What You Get
- "Move $3,200 from Google to Meta for +12% revenue" — Ranked budget reallocation recommendations you can act on today
- Return on ad spend per channel — See which channels earn the most per dollar, with confidence ranges (not just point estimates)
- Diminishing returns analysis — Know exactly where each channel starts wasting money (marginal ROAS)
- Optimal budget split — The mathematically best allocation across all your channels, with expected revenue lift
- Saturation curves — Visual proof of where you're overspending and where there's headroom
- Model quality checks — Convergence diagnostics so you can trust the numbers
Your Data
CSV Format
The simplest format is a spreadsheet with one row per week:
| date | google_ads_spend | meta_spend | tiktok_spend | revenue |
|---|---|---|---|---|
| 2025-09-01 | 5243.77 | 5658.76 | 1991.60 | 61475.19 |
| 2025-09-08 | 4237.89 | 7190.88 | 1825.93 | 59907.05 |
Rules:
- A
datecolumn (weekly dates work best — at least 26 weeks of data) - One or more columns ending in
_spendfor your ad channels - A
revenue,sales, ortargetcolumn
Export your data from your ad platform, drop it into a spreadsheet, and save as CSV. That's it.
A sample CSV is included at tests/fixtures/sample_marketing_data.csv if you want to see the exact format.
Supported Exports
- Meta Ads Manager
- Google Ads
- TikTok Ads
Need Help Formatting?
Ask Claude: "Help me prepare my marketing data CSV for MixLift." Claude can walk you through exporting from your ad platform and combining the data into a single file.
Pricing
| Plan | Channels | Data Rows | Runs | Price |
|---|---|---|---|---|
| Free | 2 | 2,000 | 2/month | $0 |
| Growth | 8 | 50,000 | Unlimited | $299/month |
Start free. Upgrade when you need more channels or runs: mixlift.io/pricing
How It Works
- You give Claude a CSV of your weekly ad spend and revenue
- MixLift fits a Bayesian model to your data using MCMC sampling (~30-60 seconds)
- The model learns how each channel drives revenue, including diminishing returns
- An optimizer finds the best way to reallocate your budget
- Claude returns the results in plain English with specific dollar recommendations
Under the hood, MixLift uses PyMC-Marketing, the same Bayesian framework used by data science teams at large brands. You get the same methodology without needing a data scientist.
Headless Python API
If you want to use MixLift from your own Python code (no Claude required):
from mixlift import analyze
results = analyze("data.csv")
The results dictionary contains channel ROAS, marginal ROAS, optimal budget allocation, and recommendations.
Scenario Mode
Ask Claude "what if" questions about your budget:
"What happens if I cut Meta spend by 20%?"
"Move $5,000 from Google to TikTok and show me the impact."
"What's the optimal budget if I increase total spend by $10,000/month?"
MixLift runs the scenario through the model and shows you the projected revenue change.
Support
Questions or issues? Open a ticket: GitHub Issues
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mixlift-0.2.0.tar.gz.
File metadata
- Download URL: mixlift-0.2.0.tar.gz
- Upload date:
- Size: 370.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d89d96dcced00277c13d0d22f4bc48cb45332074fe1d256017c3a56363866eda
|
|
| MD5 |
b5f8af443812a974265483a230354103
|
|
| BLAKE2b-256 |
05fb3da92b7417bbb6c0a65607c6f89ed90d4ed92f99873dc4d1020823ac4ef7
|
File details
Details for the file mixlift-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mixlift-0.2.0-py3-none-any.whl
- Upload date:
- Size: 67.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
913baec7ae2aff176e87c56c3ce84da56935f1199cdb658ba5a23bb62032c24c
|
|
| MD5 |
517033bad4c0868b04d01ef10232c6fb
|
|
| BLAKE2b-256 |
2beee70e4909d03451a0e9d0887ca4914fbf524c3d55f7ae3efaeb6ce228a480
|