growth-mcp

v1.0.0
growth-mcp Checked 2 days ago Published 5 months ago

MCP server for growth marketing — campaign design, retention analysis, churn prediction

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

inspect_csv

Inspect a local CSV file: columns, inferred types, row count, sample rows. Run this first before any *_from_csv tool to discover column names. Args: file_path: Absolute or relative path to a local CSV file

ParameterTypeDescription
file_path *string

analyze_experiment_from_csv

Run an A/B test analysis directly from a raw CSV (one row per user). Aggregates conversions per group and runs a two-proportion z-test. Use analyze_experiment instead if you already have aggregated counts. Args: file_path: Path to CSV with one row per user group_col: Column holding the experiment group label converted_col: Column holding conversion flag (1/0, true/false, yes/no) control_label: Value in group_col marking the control group treatment_label: Value in group_col marking the treatment group metric_name: Name of the metric…

ParameterTypeDescription
converted_col *string
file_path *string
group_col *string
control_labelstring
metric_namestring
treatment_labelstring

analyze_retention_from_csv

Run retention cohort analysis from a CSV of periods and rates or counts. Accepts retention rates (0.0-1.0) or active user counts per period (counts are auto-normalized against the first period). Args: file_path: Path to CSV with one row per period period_col: Column holding the period label (e.g. week_0, week_1) value_col: Column holding retention rate or active user count campaign_level: Intervention budget level, S or M

ParameterTypeDescription
file_path *string
period_col *string
value_col *string
campaign_levelstring

summarize_segments_from_csv

Per-segment statistics (count, sum, mean, min, max, share) from raw CSV rows. Useful for segmented balance or spend analysis, e.g. loyalty point balances or voucher redemption value by user segment. Args: file_path: Path to CSV with one row per user or transaction segment_col: Column holding the segment label value_col: Numeric column to aggregate

ParameterTypeDescription
file_path *string
segment_col *string
value_col *string

analyze_experiment_from_bigquery

Run an A/B test analysis on the result of a BigQuery SELECT query. Requires: pip install "growth-mcp[bigquery]" and Google ADC auth. The query must return 1 row per user with a group column and a conversion flag column. Read-only: only SELECT/WITH queries allowed. Args: sql: SELECT query returning 1 row per user group_col: Result column holding the experiment group label converted_col: Result column holding conversion flag (1/0, true/false) project: Optional GCP project ID (defaults to ADC project) control_label: Value marking the contr…

ParameterTypeDescription
converted_col *string
group_col *string
sql *string
control_labelstring
metric_namestring
project
treatment_labelstring

analyze_retention_from_bigquery

Run retention cohort analysis on a BigQuery query result. Requires: pip install "growth-mcp[bigquery]" and Google ADC auth. The query must return 1 row per period with a period label and a retention rate (0-1) or active user count (auto-normalized). Args: sql: SELECT query returning 1 row per period period_col: Result column holding the period label value_col: Result column holding retention rate or user count project: Optional GCP project ID campaign_level: Intervention budget level, S or M

ParameterTypeDescription
period_col *string
sql *string
value_col *string
campaign_levelstring
project

summarize_segments_from_bigquery

Per-segment statistics on a BigQuery query result. Requires: pip install "growth-mcp[bigquery]" and Google ADC auth. Useful for segmented balance or spend analysis on warehouse data. Args: sql: SELECT query returning 1 row per user or transaction segment_col: Result column holding the segment label value_col: Numeric result column to aggregate project: Optional GCP project ID

ParameterTypeDescription
segment_col *string
sql *string
value_col *string
project

analyze_experiment_from_mixpanel

Run an A/B test analysis straight from Mixpanel events. Requires MIXPANEL_API_SECRET env var (no extra pip dependency). Exposure events assign users to groups via group_property; conversion events mark who converted. Date range capped at 90 days. Args: exposure_event: Event name marking experiment exposure conversion_event: Event name marking conversion group_property: Event property holding the group label from_date: Start date, YYYY-MM-DD to_date: End date, YYYY-MM-DD control_label: Property value marking the control group…

ParameterTypeDescription
conversion_event *string
exposure_event *string
from_date *string
group_property *string
to_date *string
control_labelstring
metric_namestring
treatment_labelstring

summarize_segments_from_mixpanel

Per-segment statistics over Mixpanel events. Requires MIXPANEL_API_SECRET env var. Useful for revenue or redemption value by segment. Date range capped at 90 days. Args: event: Event name to export (1 row per event) segment_property: Event property holding the segment label value_property: Numeric event property to aggregate from_date: Start date, YYYY-MM-DD to_date: End date, YYYY-MM-DD

ParameterTypeDescription
event *string
from_date *string
segment_property *string
to_date *string
value_property *string

forecast_points_expiry

Forecast loyalty points expiry: liability, expected breakage, intervention need. Args: expiring_points_by_period: Period -> points scheduled to expire, e.g. {"2026-07": 1200000, "2026-08": 900000} historical_redemption_rate: Share of at-risk points typically redeemed before expiry (0-1) breakage_target_pct: Program's target breakage percentage

ParameterTypeDescription
expiring_points_by_period *object
historical_redemption_rate *number
breakage_target_pctnumber

analyze_redemption_elasticity

Price elasticity of reward redemption from observed price periods. Computes arc elasticity between adjacent periods and classifies the response (elastic vs inelastic) with a pricing recommendation. Args: observations: List of {"period": str, "points_price": float, "redemptions": float}, at least 2 periods segment: Optional segment label for reporting

ParameterTypeDescription
observations *array
segment

analyze_redemption_elasticity_from_csv

Redemption price elasticity straight from a CSV of price periods. With segment_col, elasticity is computed per segment in one pass and the most/least price-sensitive segments are identified. Args: file_path: Path to CSV, 1 row per period (or per period x segment) period_col: Column holding the period label price_col: Column holding the points price redemptions_col: Column holding redemption volume segment_col: Optional column holding the segment label

ParameterTypeDescription
file_path *string
period_col *string
price_col *string
redemptions_col *string
segment_col

analyze_balance_health

Points balance health per segment: coverage ratio and dormancy risk. Coverage ratio = average balance / typical redemption price. Below 1 means most users cannot afford a single reward; far above with low redemption activity signals dormant balance liability. Args: segments: List of {"segment": str, "users": int, "total_balance": float, "typical_redemption_price": float, "active_redeemer_share": float (optional, 0-1)}

ParameterTypeDescription
segments *array

design_campaign

Design a growth campaign brief based on level (S/M/L) and constraints. Args: level: Campaign level — S (small, in-app only), M (medium, some paid), L (large, full funnel) objective: What the campaign aims to achieve (e.g. "increase MAU by 10%") target_segment: Who the campaign targets (e.g. "lapsed users, inactive >30 days") channels: Optional comma-separated channel list (e.g. "push,email,paid_social") budget: Optional budget estimate (e.g. "100M VND")

ParameterTypeDescription
level *string
objective *string
target_segment *string
budget
channels

suggest_voucher

Suggest voucher design by user segment. Args: segment: User segment — new_user, active, lapsed, or high_spender objective: Campaign objective (e.g. "drive first order", "win back churned users") budget_level: S (low cost) or M (moderate budget)

ParameterTypeDescription
objective *string
segment *string
budget_levelstring

optimize_voucher

Design an optimized voucher ladder with tiered thresholds and abuse risk assessment. Use this when you have concrete numbers (AOV, budget per user, target lift). Use suggest_voucher instead when you only know the segment. Args: avg_order_value_vnd: Current average order value in VND target_conversion_lift_pct: Target conversion lift in percent (e.g. 20 = +20%) budget_per_user_vnd: Maximum budget per user in VND voucher_type: "fixed" (VND cashback) or "percentage" (% discount, capped at 25%)

ParameterTypeDescription
avg_order_value_vnd *integer
budget_per_user_vnd *integer
target_conversion_lift_pct *number
voucher_typestring

analyze_retention

Analyze retention cohort data and identify the biggest churn drop point. Args: cohort_data: JSON string mapping period keys to retention rates (0.0–1.0). e.g. '{"week_0": 1.0, "week_1": 0.68, "week_2": 0.45, "week_3": 0.32}' campaign_level: S or M — used to suggest feasible interventions

ParameterTypeDescription
cohort_data *string
campaign_levelstring

predict_churn_risk

Predict churn risk level and recommend a re-engagement strategy. Args: days_since_last_active: Average days since last user activity (must be >= 0) total_users: Number of users in the segment (must be > 0) avg_points_balance: Average unused loyalty points balance (default 0) redemption_rate: Fraction of users who redeemed recently, 0.0–1.0 (default 0.0)

ParameterTypeDescription
days_since_last_active *number
total_users *integer
avg_points_balancenumber
redemption_ratenumber

analyze_experiment

Analyze A/B test results with statistical significance (z-test). Args: control_metric: Number of conversions/events in control group (count, NOT a rate like 0.05) treatment_metric: Number of conversions/events in treatment group (count, NOT a rate) control_sample: Total users in control group treatment_sample: Total users in treatment group metric_name: Human-readable name for the metric (e.g. "checkout_conversion")

ParameterTypeDescription
control_metric *number
control_sample *integer
treatment_metric *number
treatment_sample *integer
metric_namestring

estimate_sample_size

Calculate required sample size per variant for an A/B test. Args: baseline_rate: Current conversion rate as a decimal (0.0–1.0, e.g. 0.05 for 5%) minimum_detectable_effect: Minimum relative lift to detect (0.0–1.0, e.g. 0.10 for 10% lift) significance: Type I error rate, default 0.05 (5%) power: Statistical power, default 0.80 (80%)

ParameterTypeDescription
baseline_rate *number
minimum_detectable_effect *number
powernumber
significancenumber

monitor_campaign

Monitor an ongoing campaign — assess health and recommend real-time adjustments. Tracks reach pace, redemption rate, budget burn, and voucher exhaustion. Returns critical/warning/info alerts and prioritized actions. Args: run_days: Days the campaign has been running current_reach: Number of users reached so far current_redemptions: Number of redemptions so far total_vouchers: Total vouchers allocated for the campaign total_budget: Total campaign budget in VND (0 if unknown) planned_days: Planned campaign duration in days t…

ParameterTypeDescription
current_reach *integer
current_redemptions *integer
run_days *number
total_vouchers *integer
planned_daysnumber
target_reachnumber
total_budgetnumber

analyze_segment

Analyze a user segment — profile, performance vs benchmarks, and targeting recommendations. Compares current segment metrics against fintech benchmarks and recommends the best mechanic, channel, and strategy for that segment. Supported segments: new_user, active, lapsed, churned, high_spender, voucher_hunter Args: segment_type: Segment type (new_user, active, lapsed, churned, high_spender, voucher_hunter) segment_size: Current segment size current_retention: Current D7 retention (0-1, e.g. 0.3 for 30%) current_redemption_rate: Current campai…

ParameterTypeDescription
segment_type *string
compare_segmentsstring
current_redemption_ratenumber
current_retentionnumber
segment_sizeinteger

suggest_channel_mix

Suggest channel allocation for a growth campaign. Args: objective: Campaign objective — acquisition, activation, retention, reactivation, monetization budget_level: S (< 50M VND), M (50-200M VND), L (200M+ VND) available_channels: Optional comma-separated list of available channels

ParameterTypeDescription
budget_level *string
objective *string
available_channels

forecast_cohort

Forecast future retention periods based on historical cohort data. Args: cohort_data: JSON string of period->retention dict. E.g. '{"D1": 0.6, "D7": 0.4, "D30": 0.22}' forecast_periods: Number of future periods to forecast (default 3)

ParameterTypeDescription
cohort_data *string
forecast_periodsinteger

segment_users

Suggest user segmentation framework based on campaign objective. Args: objective: Campaign objective — acquisition, retention, reactivation, monetization context: Optional context about your product or user base

ParameterTypeDescription
objective *string
context