Skip to content

Releases

v1.0.0 - Stable

Choose a tag to compare

@thaolst thaolst released this 13 Jun 00:25

growth-mcp 1.0

The API is now stable: 25 tools, 3 prompts, 2 resources. Breaking changes will bump the major version.

What 1.0 adds

Runnable examples. The examples/ folder ships 4 synthetic datasets (fixed seed, regenerable) and a walkthrough with real output from every layer:

  • A/B test from a 5,000-row raw export: lift 24.47%, p=0.019, verdict in one command
  • Retention cohort with auto-normalized weekly counts and plateau detection
  • Segment balance stats: 10% of users holding 43% of points, visible in one pass
  • Per-segment redemption elasticity: HIGHLY_ELASTIC new users vs INELASTIC power users

Server-layer tests. Tools are now tested through the MCP protocol surface, not just as pure functions. 130 tests passing.

The full stack

  • Data layer: CSV, BigQuery (optional extra), Mixpanel (stdlib only)
  • Analysis: experiments, retention, segmentation, churn, channel mix
  • Loyalty economics: points expiry, redemption elasticity, balance health
  • Knowledge layer: versioned, source-traced frameworks and glossary
pip install growth-mcp

v0.9.0 - Loyalty economics layer

Choose a tag to compare

@thaolst thaolst released this 11 Jun 15:00

What's new

Loyalty economics: the vertical layer

Four tools for points/cashback loyalty programs, the territory generic marketing tools never touch:

  • forecast_points_expiry - expiry liability and expected breakage vs your breakage target, with the heaviest period flagged and an intervention recommendation
  • analyze_redemption_elasticity - arc elasticity of redemption between observed price periods, classified from INELASTIC to HIGHLY_ELASTIC with a pricing note (when price cuts buy volume, and when they just give margin away)
  • analyze_redemption_elasticity_from_csv - per-segment elasticity in one pass, flags your most and least price-sensitive segments
  • analyze_balance_health - coverage ratio (average balance vs typical reward price) and dormant balance risk per segment

All standard loyalty economics concepts (breakage, arc elasticity, coverage), implemented from a fintech super-app practitioner perspective.

25 tools, 3 prompts, 2 resources. 126 tests passing.

v0.8.0 - Knowledge layer (MCP prompts + resources)

Choose a tag to compare

@thaolst thaolst released this 11 Jun 14:35

What's new

Knowledge layer

growth-mcp now uses all three MCP primitives, not just tools:

Resources (versioned, source-traced domain knowledge):

  • growth://frameworks - weekly retention benchmarks, voucher ladder principles, MEU planning structure, experiment hygiene checklist
  • growth://glossary - growth terms as used across the tools

Prompts (workflows that chain the server's own tools):

  • ab_test_readout - analyze data from any source, verify against the hygiene checklist, write a sub-250-word readout
  • meu_campaign_plan - decompose an MEU target, read historical data first, assign one mechanic per segment
  • voucher_design_review - check a design against each ladder principle with abuse risk

Every knowledge entry carries a version and a source trace: field means distilled from real fintech loyalty campaigns in Southeast Asia, standard means widely accepted methodology. You always know what you are getting and where it came from.

21 tools, 3 prompts, 2 resources. 112 tests passing.

v0.7.0 - Mixpanel data source

Choose a tag to compare

@thaolst thaolst released this 11 Jun 14:11

What's new

Mixpanel data source

The third data source, completing the CSV -> BigQuery -> Mixpanel roadmap:

  • analyze_experiment_from_mixpanel - point it at your exposure event and conversion event, get a full z-test. Group assignment via any event property, first exposure wins.
  • summarize_segments_from_mixpanel - per-segment stats over events, e.g. voucher redemption value by user segment.

Setup (no new pip dependency - stdlib only):

export MIXPANEL_API_SECRET=your_secret

EU data residency supported via MIXPANEL_API_HOST=data-eu.mixpanel.com.

Guardrails: 90-day export window, 200K event cap, clear error hints for auth issues.

Why this matters

All three sources now share the same row-level analyzers, so analysis behaves identically whether your data lives in a CSV export, a BigQuery warehouse, or Mixpanel events.

21 tools total. 106 tests passing.

v0.6.0 - BigQuery data source

Choose a tag to compare

@thaolst thaolst released this 10 Jun 13:53

What's new

BigQuery data source

Run growth analysis directly on your data warehouse, no CSV export step needed:

  • analyze_experiment_from_bigquery - A/B test on the result of any SELECT query (1 row per user)
  • analyze_retention_from_bigquery - cohort analysis from a periods query
  • summarize_segments_from_bigquery - per-segment stats on warehouse data

Setup:

pip install "growth-mcp[bigquery]"
gcloud auth application-default login

Safety: read-only guardrail (SELECT/WITH queries only), 200K row cap. Core package stays dependency-light - BigQuery is an optional extra.

Under the hood

Row-level analyzers are now shared between CSV and BigQuery sources, so the next data source (Mixpanel is on the roadmap) plugs into the same logic.

19 tools total. 96 tests passing.

v0.5.0 - CSV data layer + optimize_voucher

Choose a tag to compare

@thaolst thaolst released this 10 Jun 13:21

What's new

CSV data layer (the big one)

Run analysis on real campaign data instead of typing numbers by hand:

  • inspect_csv - discover columns, types, sample rows
  • analyze_experiment_from_csv - A/B test straight from raw export (1 row per user)
  • analyze_retention_from_csv - cohort analysis from rates or active user counts
  • summarize_segments_from_csv - per-segment stats for balance/spend analysis

Workflow: export from your BI tool to CSV, point the tool at the file, get the analysis. No direct database connection yet - that lands in a future release.

optimize_voucher

New tool computing a 3-tier voucher ladder with abuse risk assessment from concrete numbers (AOV, budget per user, target lift). Complements suggest_voucher which picks templates by segment.

16 tools total. 88 tests passing.

growth-mcp v0.3.0 — 3 new tools

Choose a tag to compare

@thaolst thaolst released this 30 May 17:15

growth-mcp v0.3.0

3 new tools

suggest_channel_mix — Suggest channel allocation by objective and budget.
Input: objective (acquisition/retention/reactivation/monetization), budget level (S/M/L), optional channel list.
Output: budget split, primary channels, channels to avoid, strategy note.

forecast_cohort — Forecast future retention based on historical cohort data.
Input: cohort data dict (D1/D7/D14/D30...), number of periods to forecast.
Output: sorted historical, drop rates, steepest drop with recommendation, forecasted periods.

segment_users — Suggest user segmentation framework by objective.
Input: objective, optional product context.
Output: segments with definition, size estimate, and recommended approach for each.

Install / upgrade

pip install growth-mcp
pip install --upgrade growth-mcp

All tools (9 total)

  • design_campaign
  • suggest_voucher
  • analyze_retention_cohort
  • predict_churn_risk
  • calculate_sample_size
  • analyze_ab_test
  • suggest_channel_mix (new)
  • forecast_cohort (new)
  • segment_users (new)

growth-mcp v0.2.0

Choose a tag to compare

@thaolst thaolst released this 30 May 16:56

growth-mcp v0.2.0

MCP server for growth marketing — campaign design, retention analysis, churn prediction, A/B testing.

Built from real fintech campaigns in Southeast Asia.

Install

pip install growth-mcp

Tools

  • design_campaign — Campaign brief from level + constraints
  • suggest_voucher — Voucher design by segment and objective
  • analyze_retention_cohort — Cohort retention analysis
  • predict_churn_risk — Churn risk scoring
  • calculate_sample_size — A/B test sample size calculator
  • analyze_ab_test — A/B test result analysis

Claude Desktop config

{
  "mcpServers": {
    "growth-mcp": {
      "command": "growth-mcp"
    }
  }
}

Full docs: https://github.com/thaolst/growth-mcp