What it does
Mixpanel Retention Analyzer is a Level-2 MCP agent for product/growth analysts. It pulls retention and cohort reports from a read-only analytics API (Mixpanel or Amplitude) — or analyzes a provided export — and computes retention curves, per-period drop-off, cohort comparisons, and churn entirely deterministically in code. An LLM is used only to narrate insights, recommendations, and a summary over these code-derived numbers; it never produces or alters a metric. Ships with a deterministic template fallback when no LLM key or host sampling is available. Currently gated: without a sandbox analytics key, it runs against a provided export or deterministic mock fixtures with no live network calls. Ideal for teams who want trustworthy, reproducible retention diagnostics instead of LLM-hallucinated metrics.
Example prompts
- Run a full retention analysis for project test-project-001 for January 2026
- Analyze this retention export and show me drop-off and churn per cohort
- Compare cohorts in my export and tell me the best and worst performers
- Compute the retention curve for a single cohort with these retained-user counts
Tools (7)
Tools the agent exposes — your AI client calls them automatically when it needs them.
- run_full — Run the full retention analysis end-to-end: collect, compute curves/churn deterministically, narrate, and return the full JSON report.
- analyze_export — Deterministic analysis (no LLM) over a raw retention export: curves, drop-off, churn, findings, confidence.
- compute_retention_curve — Compute the deterministic retention rate curve, drop-off and churn for a single cohort.
- compare_cohorts — Compare cohorts in a retention export, ranking by final-bucket retention and churn.
- list_capabilities — List the agent's static capabilities, thresholds, providers, and limits.
- plan_inputs — Return questions, schema and a ready-to-edit example for a chosen tool.
- discover_intent — Co-design the exact input via clarifying questions before running.
What you'll need to connect
This agent will ask you for the following. You enter them when you connect — they're encrypted and never shared with the creator.
- Anthropic API Key · optionalOptional. Leave blank on a sampling-capable client to use the host model with no key.Create a key on the Anthropic Console API keys page (console.anthropic.com → API keys).Paste the value as a single line.Only sent to: api.anthropic.com
- Mixpanel Service-Account Username · optionalRead-only Mixpanel service-account username. TEST/SANDBOX project only.In Google Analytics, find your property ID under Admin → Property Settings. Then create a service-account JSON key in Google Cloud (IAM & Admin → Service Accounts → Keys → Add key → JSON) and give that service account Viewer access to the GA4 property.Paste the value as a single line.Only sent to: api.mixpanel.com
- Mixpanel Service-Account Secret · optionalRead-only Mixpanel service-account secret. Never logged. TEST/SANDBOX project only.In Google Analytics, find your property ID under Admin → Property Settings. Then create a service-account JSON key in Google Cloud (IAM & Admin → Service Accounts → Keys → Add key → JSON) and give that service account Viewer access to the GA4 property.Paste the value as a single line.Only sent to: api.mixpanel.com
- Amplitude API Key · optionalRead-only Amplitude API key. TEST/SANDBOX project only.Get this from amplitude.com's account or API settings.Paste the value as a single line.Only sent to: api.amplitude.com
- Amplitude Secret Key · optionalRead-only Amplitude secret key. Never logged. TEST/SANDBOX project only.Get this from amplitude.com's account or API settings.Paste the value as a single line.Only sent to: api.amplitude.com
How you're protected
FindAgent runs these safety checks on every agent automatically. They're always on and can't be turned off.
- Prompt-injection scanning
Every request is checked for known prompt-injection and jailbreak attempts before the agent runs. This is always on.
- Secret-leak scanning
Every response is scanned for leaked API keys, tokens, and other secrets before it reaches you. This is always on.