Skip to main content

BlueAlpha MMM Builder

An MCP server for Claude Desktop that helps you explore whether Marketing Mix Modeling is right for your business, understand your marketing mix, and configure a model — all through conversation.

Quick Setup (2 minutes)

1. Install uv (if you don't have it)

curl -LsSf https://astral.sh/uv/install.sh | sh

2. Add to Claude Desktop

Open Claude Desktop settings, go to Developer > Edit Config, and add the mmm-builder entry to your mcpServers:

{
  "mcpServers": {
    "mmm-builder": {
      "command": "uvx",
      "args": ["bluealpha-mmm-builder-mcp"]
    }
  }
}

On Mac, the config file is at: ~/Library/Application Support/Claude/claude_desktop_config.json

3. Restart Claude Desktop

Quit and reopen Claude Desktop. You should see the MMM Builder tools available.

What It Does

The MMM Builder walks you through 4 phases in natural conversation:

Phase 1: Is MMM right for me?

  • Assess your data readiness (scored 0-100 with specific gaps)
  • Estimate the potential savings from better budget allocation
  • Understand what data you need

Try: "I spend $100k/month across 4 channels. Is MMM worth it for me?"

Phase 2: Data Preparation

  • Generate realistic sample data by industry (ecommerce, fintech, healthtech, SaaS, subscription)
  • Validate your own CSV against MMM requirements
  • Diagnose data quality issues

Try: "I'm an ecommerce brand — show me what MMM data looks like" Or: "I have data at ~/Downloads/marketing_data.csv — is it ready for MMM?"

Phase 3: Channel Beliefs

This is the core experience. Tell the model what you believe about your channels in plain language:

  • "I think search returns about $4 per dollar and I'm fairly confident"
  • "Social is maybe half as effective as search"
  • "TV effects last for weeks, search is immediate"
  • "We're probably oversaturated on display"

The tool translates your beliefs into statistical priors (Bayesian distributions) that the model uses as a starting point. Data scientists can also set exact distributions directly.

Try: "Rank my channels: search is best, then social, then display"

Phase 4: Model Configuration & Export

  • Configure model settings
  • Export everything to BlueAlpha for production-grade fitting
  • Or fit locally if you have Google Meridian installed

Try: "Export this to BlueAlpha"

Sample Prompts to Get Started

What you want What to say
Learn about MMM "What is Marketing Mix Modeling and should I build one?"
Check readiness "I have 15 months of weekly data across 5 channels and 10 states. Am I ready?"
See potential value "I spend $200k/month on marketing. How much could MMM save me?"
Try with sample data "Generate sample data for a fintech company"
Set beliefs "I think paid search returns $5 per dollar, social returns $2, and display about $1"
Export to BlueAlpha "Package everything up for BlueAlpha to build the production model"

Available Tools (24)

Phase Tools Purpose
Readiness (4) assess_mmm_readiness, estimate_mmm_value, explain_mmm_requirements, estimate_model_complexity Evaluate fit and potential value
Data Prep (7) list_sample_sectors, generate_sample_data, validate_data_schema, diagnose_data_quality, suggest_data_transformations, preview_mmm_input_data, build_input_data Prepare and validate data
Priors (9) set_channel_roi_belief, set_channel_cpa_belief, rank_channels_by_effectiveness, set_adstock_belief, set_saturation_belief, get_prior_summary, reset_channel_priors, list_prior_distributions, set_custom_prior Translate beliefs into model priors
Model (4) configure_model, fit_mmm_model, export_to_bluealpha, get_model_diagnostics Configure, fit, or export

About BlueAlpha

This MCP Builder gives you a starting point to understand your marketing mix. BlueAlpha deploys and maintains production-grade MMMs with trained data scientists and ML engineers who perform rigorous validation, prior-posterior checks, out-of-sample testing, and ongoing model refreshes.

Think of this tool as your first look — get in touch with the team at bluealpha.ai to take it to production.

Troubleshooting

Server not showing up in Claude Desktop?

  • Make sure you restarted Claude Desktop after editing the config
  • Check that uv is installed: run uv --version in your terminal

Tools not loading?

  • Check the MCP server logs: ~/Library/Logs/Claude/mcp-server-mmm-builder.log

Want to use your own data?

  • Place your CSV somewhere accessible and tell Claude the file path
  • The CSV should have columns for: geography, date, KPI (revenue/conversions), and spend per channel

Metadata

Release files for bluealpha-mmm-builder-mcp 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bluealpha-mmm-builder-mcp 0.1.3
File Size Uploaded
bluealpha_mmm_builder_mcp-0.1.3.tar.gz 215.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bluealpha-mmm-builder-mcp 0.1.3
File Interpreter ABI Platform
bluealpha_mmm_builder_mcp-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 254.2 kB

Release files / bluealpha_mmm_builder_mcp-0.1.3.tar.gz

Download URL bluealpha_mmm_builder_mcp-0.1.3.tar.gz
Size 215.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f2b5830f98411a4cf294f21a34ab54c3009658542c65df35d25ae7c3a8d0df46
BLAKE2b-256 checksum
How to use checksums
52ec9344c3a1e98a586d043ea354d92c4b4a642f6a519e8c4e9f015c04b89aa8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / bluealpha_mmm_builder_mcp-0.1.3-py3-none-any.whl

Download URL bluealpha_mmm_builder_mcp-0.1.3-py3-none-any.whl
Size 39.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6dc1d0ee8994d227ab5cd07b4e61bd2a848580550f706c21f1cef19cb77bacee
BLAKE2b-256 checksum
How to use checksums
8fbe49bce18cde4bf9d0f46b9147415ec4d7af48d22a9136222c0f7a552a1d4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page