# Mimetic MCP: website audits, analytics and experiment results

Source: https://trymimetic.com/docs/mcp

[API & CLI](https://trymimetic.com/api) / MCP

Model Context Protocol

# Your site’s growth data, in your AI assistant.

Mimetic connects AI assistants to website audits, analytics, advertising, and experiment results to identify revenue opportunities and implement reviewable improvements.

Connect the accounts you use, then ask about traffic, revenue, search, ad performance, visitor friction, and A/B test results. Tools operate on sites your Mimetic account can access.

[Connect your assistant](#connect) [Tool catalog (JSON)](https://mcp.trymimetic.com/docs/mcp/tools.json)

## Connect to Mimetic

### Set up (recommended)

One command finds the AI apps on your computer, adds Mimetic to each one and signs you in through the browser. No global install, and no API key written into any app.

```
npx -y @mimeticinc/mim-cli setup
```

### Or add it to one app

Every app connects to the same server and signs you in with OAuth:

```
https://mcp.trymimetic.com/mcp?toolsets=diagnose,data
```

**Cursor**

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=mim&config=eyJ1cmwiOiJodHRwczovL21jcC50cnltaW1ldGljLmNvbS9tY3A/dG9vbHNldHM9ZGlhZ25vc2UsZGF0YSJ9) Cursor asks you to sign in the first time it uses Mimetic.

**Claude Code**

```
claude mcp add --transport http --scope user mim "https://mcp.trymimetic.com/mcp?toolsets=diagnose,data"
```

Then run `/mcp` in Claude Code and pick mim to sign in.

**Claude** (web and desktop)

[Settings, Connectors](https://claude.ai/settings/connectors), Add custom connector, paste the URL, then Connect.

**Codex**

```
codex mcp add mim --url "https://mcp.trymimetic.com/mcp?toolsets=diagnose,data"
```

Codex opens Mimetic sign-in in your browser.

**ChatGPT**

Settings, Apps & Connectors, turn on developer mode, Create, paste the URL.

**VS Code**

[Add to VS Code](vscode:mcp/install?%7B%22name%22%3A%22mimetic%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A//mcp.trymimetic.com/mcp%3Ftoolsets%3Ddiagnose%2Cdata%22%7D) or Command Palette, MCP: Add Server, HTTP, paste the URL.

Your app discovers OAuth 2.1, opens Mimetic sign-in, and asks you to approve access. It uses PKCE (S256); access tokens last an hour and refresh automatically. For help revoking a connection, [contact support](https://trymimetic.com/support).

### Toolsets

The URL above loads the `diagnose` and `data` toolsets, which keep your assistant's context small. Add `setup` for connect, disconnect and setup tools, or `account` for billing, for example `?toolsets=diagnose,data,setup`. A URL with no `toolsets` loads every tool. A read-only (`mcp:read`) sign-in only sees read tools.

- `diagnose` (default): list\_projects, start\_scan, check\_page\_speed, check\_accessibility, get\_fix, mark\_fixed, scan\_status, get\_growth\_overview, list\_audit\_findings, list\_recordings, review\_recent\_recordings, get\_replay\_insight, get\_connection\_recommendations
- `data` (default): query\_ga4, query\_gsc, describe\_bq, query\_bq, list\_ga4\_properties, query\_google\_ads, query\_experiments, query\_mixpanel, query\_amplitude, query\_adobe\_analytics, query\_posthog, query\_klaviyo, query\_webflow, query\_shopify
- `setup`: set\_ga4\_property, setup\_analytics, setup\_google\_ads, google\_ads\_status, analytics\_setup\_status, setup\_session\_recording, connect\_experimentation, disconnect\_experimentation, connect\_mixpanel, disconnect\_mixpanel, connect\_amplitude, disconnect\_amplitude, connect\_adobe\_analytics, disconnect\_adobe\_analytics, connect\_posthog, connect\_klaviyo, connect\_webflow, connect\_shopify
- `account`: billing\_status, get\_checkout\_link

Connect tools never take API keys in chat. They return a link to a Mimetic page where you sign in and approve OAuth, or enter the key in our own form.

### Terminal, scripts and CI

To run `mim` commands in your terminal as well, install it globally (Node.js 20 or newer):

```
npm install -g @mimeticinc/mim-cli
mim setup
```

For CI and apps without browser sign-in, `mim mcp headless` prints a config that sends your key from the `MIM_API_TOKEN` environment variable. The old local relay (`mim setup --local`) still works but no longer receives updates. See the [client setup guide](https://github.com/mimeticinc/mim-cli/blob/main/docs/MCP.md) and [npm package](https://www.npmjs.com/package/@mimeticinc/mim-cli).

Start with [`list_projects`](#list_projects). No sites yet? Ask your assistant to scan one: it calls [`start_scan`](#start_scan), then [`list_audit_findings`](#list_audit_findings) when the scan finishes. For an existing site, [`get_growth_overview`](#get_growth_overview) gives the summary. Connections and plan requirements are described by each tool. See [pricing](https://trymimetic.com/pricing).

## What to ask

### Find revenue opportunities

Review my site’s audit findings and connected analytics. Which opportunities should we investigate first?

Tools: [`list_projects`](#list_projects), [`get_growth_overview`](#get_growth_overview), [`query_ga4`](#query_ga4)

### Investigate landing-page performance

Compare landing-page revenue and sessions over the last 28 days with the previous period.

Tools: [`query_ga4`](#query_ga4), [`query_gsc`](#query_gsc)

### Use experiment results

Review results from my connected experimentation platform and suggest what to test next.

Tools: [`query_experiments`](#query_experiments)

### Review visitor friction

Review recent recordings for recurring bugs and UX friction, with evidence for each proposed change.

Tools: [`review_recent_recordings`](#review_recent_recordings)

### Set up missing measurement

Check what tracking my site needs and explain the setup changes before making them.

Tools: [`get_connection_recommendations`](#get_connection_recommendations), [`setup_analytics`](#setup_analytics), [`analytics_setup_status`](#analytics_setup_status)

### Example tool request

After authenticating, this request asks for your connected site’s landing-page sessions and revenue. Replace `your-site.com` with a project returned by `list_projects`.

```
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"query_ga4","arguments":{"project":"your-site.com","metrics":["sessions","totalRevenue"],"dimensions":["landingPage"],"start_date":"28daysAgo","end_date":"yesterday"}}}
```

The response contains your requested GA4 report rows. Audit findings require verification, recording insights cover a consent-gated sample, and experiment conclusions depend on the connected provider’s measurements.

## Access and permissions

`mcp:read` allows project data and reports. `mcp:write` is required for setup and configuration actions. A connected provider may require its own consent. Tool calls enforce account, project, and plan access.

Use the descriptions below to understand each action before approving it. Code fixes use the Mimetic CLI or report workflow and produce work you can review. MCP returns recording summaries and redacted insights; it does not return raw replay event payloads.

[OAuth resource metadata](https://mcp.trymimetic.com/.well-known/oauth-protected-resource/mcp) · [Authorization server metadata](https://trymimetic.com/.well-known/oauth-authorization-server) · [Privacy](https://trymimetic.com/privacy)

## Live tool catalog

These 47 definitions come from the same catalog as MCP `tools/list`. This page and its [JSON version](https://mcp.trymimetic.com/docs/mcp/tools.json) are public. Connecting to MCP and executing tools require authentication.

- ### [List Projects](#list_projects)

  `list_projects`
  Read · mcp:read

  Projects (sites) this Mimetic account can see, 25 per page with a cursor; query filters by domain or name. Call this first, then get\_growth\_overview for the chosen site. Empty for a new account: use start\_scan to add a site.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "cursor": {
        "description": "next_cursor from the previous page.",
        "type": "string"
      },
      "query": {
        "description": "Filter by domain, key or name, e.g. acme.com.",
        "type": "string"
      }
    },
    "type": "object"
  }
  ```
- ### [Scan a Site](#start_scan)

  `start_scan`
  Action · mcp:write

  Website scan (site audit) on real browsers and phones: checkout, cart, tracking and consent, speed, SEO and more. Use it when the user has no project yet or asks for a fresh scan. Returns an audit\_id and project\_key right away; a scan takes about 20 to 30 minutes. Check scan\_status after its retry\_after\_seconds, not sooner, then call list\_audit\_findings with the project\_key. A running or finished scan of the same site is reused unless force is true.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "force": {
        "description": "Start a new scan even if a recent one exists.",
        "type": "boolean"
      },
      "url": {
        "description": "The site to scan, e.g. https://example.com",
        "type": "string"
      }
    },
    "required": [
      "url"
    ],
    "type": "object"
  }
  ```
- ### [Check Page Speed](#check_page_speed)

  `check_page_speed`
  Read · mcp:read

  Page speed and Core Web Vitals for any public page, from Google PageSpeed Insights: Lighthouse performance score and lab timings, real-visitor Core Web Vitals from Chrome (LCP, INP, CLS at the 75th percentile, when Google has enough traffic data), and the biggest speed opportunities with estimated savings. Takes 10 to 40 seconds. Works on free accounts.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "strategy": {
        "description": "Default mobile, which is what Google ranks on.",
        "enum": [
          "mobile",
          "desktop"
        ],
        "type": "string"
      },
      "url": {
        "description": "Page to test, e.g. https://example.com/products/shoe",
        "type": "string"
      }
    },
    "required": [
      "url"
    ],
    "type": "object"
  }
  ```
- ### [Check Accessibility (WCAG)](#check_accessibility)

  `check_accessibility`
  Read · mcp:read

  Accessibility (WCAG) checks for any public page, axe-core rules via Google Lighthouse: accessibility score, each failing rule with the elements and CSS selectors affected, and what still needs a manual check. Automated rules catch only part of WCAG, so a clean result is not proof of compliance. Takes 10 to 40 seconds. Works on free accounts.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "strategy": {
        "description": "Default mobile.",
        "enum": [
          "mobile",
          "desktop"
        ],
        "type": "string"
      },
      "url": {
        "description": "Page to test.",
        "type": "string"
      }
    },
    "required": [
      "url"
    ],
    "type": "object"
  }
  ```
- ### [Get a Fix](#get_fix)

  `get_fix`
  Read · mcp:read

  Fix steps for one audit finding, for an agent that has the site's code open (Claude Code, Cursor, Codex): what is wrong, the page it was seen on, the fix steps, and how to check it. Make the change in the site's own source or theme, then deploy it and call mark\_fixed. No GitHub connection is needed. Needs a paid plan; free accounts get the finding without fix steps from list\_audit\_findings.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "finding_index": {
        "description": "finding_index from list_audit_findings.",
        "minimum": 0,
        "type": "integer"
      },
      "project": {
        "description": "Project key from list_projects.",
        "type": "string"
      }
    },
    "required": [
      "project",
      "finding_index"
    ],
    "type": "object"
  }
  ```
- ### [Mark Fixed](#mark_fixed)

  `mark_fixed`
  Action · mcp:write

  Finding status: record that a finding's fix has been made and deployed. The next scan (start\_scan with force) confirms whether it is gone on the live site.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "finding_index": {
        "minimum": 0,
        "type": "integer"
      },
      "project": {
        "description": "Project key from list_projects.",
        "type": "string"
      }
    },
    "required": [
      "project",
      "finding_index"
    ],
    "type": "object"
  }
  ```
- ### [Scan Status](#scan_status)

  `scan_status`
  Read · mcp:read

  Scan progress for an audit\_id from start\_scan: status (running, completed or failed), percent done, the current step, an ETA and retry\_after\_seconds. Wait that long before checking again. When it is completed, call list\_audit\_findings with its project\_key.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "audit_id": {
        "description": "The audit_id start_scan returned.",
        "type": "string"
      }
    },
    "required": [
      "audit_id"
    ],
    "type": "object"
  }
  ```
- ### [Growth Overview](#get_growth_overview)

  `get_growth_overview`
  Read · mcp:read

  Growth overview for one site: audit summary, findings and up to 5 recent session recording handles. Call after list\_projects. Findings are detections to verify, not confirmed bugs; recordings are a consent-gated sample, never totals. Lead with the revenue outcome, technical detail as evidence.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "limit": {
        "maximum": 100,
        "minimum": 1,
        "type": "integer"
      },
      "project": {
        "type": "string"
      }
    },
    "type": "object"
  }
  ```
- ### [List Audit Findings](#list_audit_findings)

  `list_audit_findings`
  Read · mcp:read

  Audit findings (site issues, backlog) for a project: title, severity, impact and status per finding; detail=full adds the description and fix steps. Findings are detections to verify, not confirmed bugs; the result explains how to report them.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "detail": {
        "description": "Default summary.",
        "enum": [
          "summary",
          "full"
        ],
        "type": "string"
      },
      "limit": {
        "maximum": 100,
        "minimum": 1,
        "type": "integer"
      },
      "project": {
        "type": "string"
      }
    },
    "type": "object"
  }
  ```
- ### [List Session Recordings](#list_recordings)

  `list_recordings`
  Read · mcp:read

  Session recordings (replays) for a project: recent summaries. Recording is consent-gated, so sessions are a BIASED SAMPLE of traffic: never infer total volume, conversion rate, or 'most users' from them, and never read an absence of recordings as an absence of traffic. Counts here are small, so give the plain count rather than a percentage, and do not call a pattern seen in a handful of sessions a trend.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "limit": {
        "maximum": 100,
        "minimum": 1,
        "type": "integer"
      },
      "project": {
        "type": "string"
      }
    },
    "type": "object"
  }
  ```
- ### [Review Recent Recordings](#review_recent_recordings)

  `review_recent_recordings`
  Read · mcp:read

  Session recording review brief (bugs, UX friction, A/B test ideas). Use when the user asks to check the last N recordings, find bugs, identify UX friction, or propose A/B tests. Returns a code-review brief with recording evidence, patterns, audit context, and suggested output format.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "focus": {
        "enum": [
          "bugs",
          "ab_tests",
          "both"
        ],
        "type": "string"
      },
      "limit": {
        "maximum": 100,
        "minimum": 1,
        "type": "integer"
      },
      "project": {
        "type": "string"
      }
    },
    "type": "object"
  }
  ```
- ### [Get Replay Insight](#get_replay_insight)

  `get_replay_insight`
  Read · mcp:read

  Session replay insight for one session\_id (or the latest): the persisted narrative. The narrative is MODEL-GENERATED from the recording and redacted, so it is an interpretation and not a transcript: never quote it as something the user said or did verbatim, and never present a single session as representative. Redaction means fields can be missing by design, which is not the same as nothing having happened.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "latest": {
        "type": "boolean"
      },
      "project": {
        "type": "string"
      },
      "session_id": {
        "type": "string"
      }
    },
    "type": "object"
  }
  ```
- ### [Query GA4](#query_ga4)

  `query_ga4`
  Read · mcp:read

  Google Analytics 4 (GA4) report: traffic, sessions, conversions, revenue by channel, landing page, device or date, from the project's connected property. Read-only; returns rows for the requested metrics and dimensions over a date range.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "dimensions": {
        "description": "GA4 dimension API names, e.g. date, sessionDefaultChannelGroup, pagePath, landingPage, country, deviceCategory.",
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "end_date": {
        "description": "Default today.",
        "type": "string"
      },
      "limit": {
        "maximum": 1000,
        "minimum": 1,
        "type": "integer"
      },
      "metrics": {
        "description": "GA4 metric API names, e.g. sessions, activeUsers, screenPageViews, conversions, totalRevenue, engagementRate.",
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "order_by_metric": {
        "description": "Sort rows by this metric, descending.",
        "type": "string"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      },
      "start_date": {
        "description": "GA4 date or NdaysAgo (e.g. 28daysAgo, 2024-01-01). Default 28daysAgo.",
        "type": "string"
      }
    },
    "required": [
      "project",
      "metrics"
    ],
    "type": "object"
  }
  ```
- ### [Query Search Console](#query_gsc)

  `query_gsc`
  Read · mcp:read

  Google Search Console (SEO) report: clicks, impressions, CTR and position by query, page, country or device for the project's verified site. Read-only.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "dimensions": {
        "description": "GSC dimensions: query, page, country, device, date. Default [query].",
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "end_date": {
        "description": "YYYY-MM-DD. Default ~3 days ago (GSC data lag).",
        "type": "string"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      },
      "row_limit": {
        "maximum": 1000,
        "minimum": 1,
        "type": "integer"
      },
      "start_date": {
        "description": "YYYY-MM-DD. Default ~90 days ago.",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Describe The BigQuery Export](#describe_bq)

  `describe_bq`
  Read · mcp:read

  BigQuery GA4 export description, before writing SQL for query\_bq: the dataset name (analytics\_<property id>), its location, and the date range of the daily events\_YYYYMMDD and intraday tables, plus example SQL and the query limits. The dataset comes from the project's selected GA4 property.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Query BigQuery](#query_bq)

  `query_bq`
  Read · mcp:read

  BigQuery SQL over the project's own GA4 export: a read-only GoogleSQL SELECT (raw events: event\_params, user\_pseudo\_id, traffic\_source, items, ecommerce). Unqualified tables resolve to the project's dataset, so FROM `events\_\*` with a \_TABLE\_SUFFIX filter works. SELECT only, the project's own dataset only (checked with a BigQuery dry run), capped bytes billed and rows. Returns columns and rows. Run describe\_bq first for the dataset and available dates.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "limit": {
        "description": "Maximum rows returned (default 100).",
        "maximum": 1000,
        "minimum": 1,
        "type": "integer"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      },
      "sql": {
        "description": "GoogleSQL SELECT, e.g. SELECT event_name, COUNT(*) AS n FROM `events_*` WHERE _TABLE_SUFFIX \u003e= \u002720260901\u0027 GROUP BY 1 ORDER BY n DESC",
        "type": "string"
      }
    },
    "required": [
      "project",
      "sql"
    ],
    "type": "object"
  }
  ```
- ### [List GA4 Properties](#list_ga4_properties)

  `list_ga4_properties`
  Read · mcp:read

  GA4 properties the project's connected Google account can see: id, name, account, website URL, sessions over the last 28 days (a dead or wrong property is obvious next to its live sibling), and which property the project currently reads from. Use before set\_ga4\_property when numbers look wrong or several properties claim the same site.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Switch GA4 Property](#set_ga4_property)

  `set_ga4_property`
  Action · mcp:write

  GA4 property selection: point the project's Google Analytics connection at a specific property. Validates the id against what the connected account can see, then persists it; every query\_ga4 read and Mimetic dashboard uses the new property from then on. Run list\_ga4\_properties first and pick the property with real traffic.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      },
      "property_id": {
        "description": "Numeric GA4 property id from list_ga4_properties, e.g. 403226097.",
        "type": "string"
      }
    },
    "required": [
      "project",
      "property_id"
    ],
    "type": "object"
  }
  ```
- ### [Set Up Analytics](#setup_analytics)

  `setup_analytics`
  Action · mcp:write

  Google Analytics 4 and Search Console setup, hosted, for a project's site, so the owner never touches a Google console: Mimetic provisions and hosts the GA4 property and grants the owner Viewer access to it, installs the tag via a GitHub PR or the Shopify app pixel, ships Search Console verification, and submits sitemaps to Google/Bing (plus IndexNow) once verified. Use when a site has no analytics or the user asks to set up GA4 / Search Console. The run takes a minute or two, so this starts it in the background: poll analytics\_setup\_status for progress. If YOU are a coding agent with the site's repo checked out, pass channel='agent': no PR pipeline or GitHub App needed, provisioning runs server-side and analytics\_setup\_status returns the exact snippet + placement instructions for you to apply and commit yourself.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "channel": {
        "description": "auto (default): install via GitHub PR / Shopify app. agent: you apply the tag in the repo yourself; fetch the snippet from analytics_setup_status once provisioning finishes.",
        "enum": [
          "auto",
          "agent"
        ],
        "type": "string"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "type": "object"
  }
  ```
- ### [Set Up Google Ads](#setup_google_ads)

  `setup_google_ads`
  Action · mcp:write

  Google Ads account setup for a project's site, with the tracking already wired: created under Mimetic's manager account so there is nothing to configure, linked to the site's GA4 property, auto-tagging on, and an ADMIN invite emailed to the site owner. The owner holds admin on the account and the manager link stays in place until they remove it. Ads can run once the invited admin accepts and adds billing. Reuses an already-linked account instead of creating a duplicate. Requires a GA4 property, so run setup\_analytics first if there is none. Runs in the background: poll google\_ads\_status.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "type": "object"
  }
  ```
- ### [Google Ads Status](#google_ads_status)

  `google_ads_status`
  Read · mcp:read

  Google Ads link status for this project: customer ID, account name/currency when readable, which credentials can query it, and the most recent ads setup event (created/linked/failed). If nothing is linked, says how to set one up.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "type": "object"
  }
  ```
- ### [Query Google Ads](#query_google_ads)

  `query_google_ads`
  Read · mcp:read

  Google Ads report (GAQL): campaign spend, clicks, conversions, search terms and ad groups from the project's linked Ads account. Read-only. Accepts a full GAQL SELECT query; defaults to campaign performance over the last 30 days. cost\_micros/\*\_micros fields are millionths of the account currency.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "gaql": {
        "description": "GAQL SELECT query, e.g. SELECT campaign.name, metrics.cost_micros FROM campaign WHERE segments.date DURING LAST_7_DAYS.",
        "type": "string"
      },
      "limit": {
        "maximum": 1000,
        "minimum": 1,
        "type": "integer"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Analytics Setup Status](#analytics_setup_status)

  `analytics_setup_status`
  Read · mcp:read

  Analytics setup status (hosted GA4 and Search Console) for a project: none, in\_progress, done (installed, waiting on data), live (events flowing), failed, or already\_connected, plus the GA4 measurement ID, install-PR review URL, and Search Console verification state. For channel='agent' setups, the payload includes agent\_install with the exact snippet + placement instructions for you to apply in the repo. Checking status also retries any pending Search Console verification and sitemap-submission followups.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "type": "object"
  }
  ```
- ### [Set Up Session Recording](#setup_session_recording)

  `setup_session_recording`
  Action · mcp:write

  Session recording install on a project's site: a masked, consent-gated loader (records NOTHING until the site's consent tooling grants analytics consent; IAB TCF, Cookiebot, and OneTrust are pre-wired). channel='auto' ships it as a GitHub PR; channel='agent' returns the snippet + placement instructions for you to apply in the repo. Insights then flow to list\_recordings / review\_recent\_recordings and the daily Slack digest.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "channel": {
        "description": "auto = GitHub PR; agent = you apply the returned snippet yourself.",
        "enum": [
          "auto",
          "agent"
        ],
        "type": "string"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [What To Connect Next](#get_connection_recommendations)

  `get_connection_recommendations`
  Read · mcp:read

  Connection recommendations: what to connect or set up next for a project, filtered to what the site's detected stack makes relevant: GA connect only when GA4 exists (hosted setup\_analytics when nothing does), Google Ads only when linkable, connect\_posthog only when PostHog is detected, and a Klaviyo partner signup link only when NO email/SMS tool is detected. Call this before suggesting connections so users aren't overwhelmed with irrelevant asks.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Connect A/B Testing Platform](#connect_experimentation)

  `connect_experimentation`
  Action · mcp:write

  A/B testing platform connection (Intelligems, VWO, Optimizely, GrowthBook): returns a secure link to connect it on trymimetic.com; never send keys in chat. The user approves OAuth there where the vendor supports it, or enters a read-only key in Mimetic's own form. The connection binds to your account. Then use query\_experiments. Returns status pending and a connection\_id: call again with connection\_id to check. owner\_email emails the link to whoever holds the access.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "account_id": {
        "description": "VWO account id / Optimizely project id, prefilled on the connect page.",
        "type": "string"
      },
      "api_host": {
        "description": "Self-hosted GrowthBook API host, prefilled on the connect page.",
        "type": "string"
      },
      "connection_id": {
        "description": "connection_id from an earlier call: returns pending, connected or failed.",
        "type": "string"
      },
      "owner_email": {
        "description": "Email the link to whoever holds the access, when the user does not. Only an address the user gave you.",
        "type": "string"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      },
      "reconnect": {
        "description": "Replace an existing connection instead of reporting it.",
        "type": "boolean"
      },
      "vendor": {
        "enum": [
          "intelligems",
          "vwo",
          "optimizely",
          "growthbook"
        ],
        "type": "string"
      }
    },
    "required": [
      "project",
      "vendor"
    ],
    "type": "object"
  }
  ```
- ### [Query Experiments](#query_experiments)

  `query_experiments`
  Read · mcp:read

  A/B test experiments and results (Intelligems, VWO, Optimizely, GrowthBook): read-only, from the project's connected platform (connect\_experimentation first). action=list returns a normalized experiment/campaign list (id, name, status); action=results returns the vendor's results payload for one experiment\_id (lift, conversions, revenue-per-visitor for Intelligems; variation reach and metrics for Optimizely; phase results for GrowthBook; campaign detail for VWO). If vendor is omitted and the project has exactly one connected platform, that one is used.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "action": {
        "description": "Default list.",
        "enum": [
          "list",
          "results"
        ],
        "type": "string"
      },
      "experiment_id": {
        "description": "Required for action=results (from action=list).",
        "type": "string"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      },
      "vendor": {
        "enum": [
          "intelligems",
          "vwo",
          "optimizely",
          "growthbook"
        ],
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Disconnect A/B Testing Platform](#disconnect_experimentation)

  `disconnect_experimentation`
  Action · mcp:write

  Disconnect a project's A/B-testing platform: deletes your stored (encrypted) credential for that vendor immediately. Only the account that connected it can disconnect it. query\_experiments stops working for that vendor until connect\_experimentation is run again.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      },
      "vendor": {
        "enum": [
          "intelligems",
          "vwo",
          "optimizely",
          "growthbook"
        ],
        "type": "string"
      }
    },
    "required": [
      "project",
      "vendor"
    ],
    "type": "object"
  }
  ```
- ### [Connect Mixpanel](#connect_mixpanel)

  `connect_mixpanel`
  Action · mcp:write

  Mixpanel connection: returns a secure link to connect it on trymimetic.com; never send keys in chat. The user approves OAuth there (needs Mixpanel's MCP enabled for their org) or enters a read-scoped service account in Mimetic's own form. The connection binds to your account. Then use query\_mixpanel. Returns status pending and a connection\_id: call again with connection\_id to check. owner\_email emails the link to whoever holds the access.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "auth": {
        "description": "Which option the connect page shows first.",
        "enum": [
          "service_account",
          "oauth"
        ],
        "type": "string"
      },
      "connection_id": {
        "description": "connection_id from an earlier call: returns pending, connected or failed.",
        "type": "string"
      },
      "mixpanel_project_id": {
        "type": "string"
      },
      "owner_email": {
        "description": "Email the link to whoever holds the access, when the user does not. Only an address the user gave you.",
        "type": "string"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      },
      "reconnect": {
        "description": "Replace an existing connection instead of reporting it.",
        "type": "boolean"
      },
      "region": {
        "enum": [
          "us",
          "eu",
          "in"
        ],
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Query Mixpanel](#query_mixpanel)

  `query_mixpanel`
  Read · mcp:read

  Mixpanel events, segmentation, funnels and retention: read-only, from the project's connected Mixpanel (connect\_mixpanel first). Service-account connections use the Query API: action=events (event names), top\_events, segmentation (params: event, from\_date, to\_date, unit), funnels (saved funnel list), funnel (params: funnel\_id, from\_date, to\_date), retention (params: from\_date, to\_date, born\_event). OAuth connections use Mixpanel's MCP: action=list\_tools enumerates their 40+ analysis tools, action=call runs one (params: tool + arguments); write-shaped tools are refused.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "action": {
        "description": "See description; default events / list_tools.",
        "type": "string"
      },
      "params": {
        "additionalProperties": true,
        "description": "Action parameters (from_date, event, funnel_id, tool, arguments...).",
        "type": "object"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Disconnect Mixpanel](#disconnect_mixpanel)

  `disconnect_mixpanel`
  Action · mcp:write

  Disconnect a project's Mixpanel: deletes your stored (encrypted) credential immediately. Only the account that connected it can disconnect it.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Connect Amplitude](#connect_amplitude)

  `connect_amplitude`
  Action · mcp:write

  Amplitude connection: returns a secure link to connect it on trymimetic.com; never send keys in chat. The user approves OAuth there (Amplitude's mcp:read scope, preferred) or enters the project key pair in Mimetic's own form. The connection binds to your account. Then use query\_amplitude. Returns status pending and a connection\_id: call again with connection\_id to check. owner\_email emails the link to whoever holds the access.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "amplitude_project_id": {
        "type": "string"
      },
      "auth": {
        "description": "Which option the connect page shows first.",
        "enum": [
          "api_key",
          "oauth"
        ],
        "type": "string"
      },
      "connection_id": {
        "description": "connection_id from an earlier call: returns pending, connected or failed.",
        "type": "string"
      },
      "owner_email": {
        "description": "Email the link to whoever holds the access, when the user does not. Only an address the user gave you.",
        "type": "string"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      },
      "reconnect": {
        "description": "Replace an existing connection instead of reporting it.",
        "type": "boolean"
      },
      "region": {
        "enum": [
          "us",
          "eu"
        ],
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Query Amplitude](#query_amplitude)

  `query_amplitude`
  Read · mcp:read

  Amplitude events, segmentation, funnels, retention and active users: read-only, from the project's connected Amplitude (connect\_amplitude first). API-key connections use the Dashboard API: action=events (event catalog), segmentation (params: event, start, end, interval, metric), funnel (params: events list in order, start, end), retention (params: start\_event, return\_event, start, end), active\_users (params: metric active|new, interval 1|7|30, start, end), sessions (params: start, end). Dates YYYY-MM-DD or YYYYMMDD, default last 30 days. OAuth connections use Amplitude's MCP: action=list\_tools enumerates their tools, action=call runs one (params: tool + arguments); write-shaped tools are refused.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "action": {
        "description": "See description; default events / list_tools.",
        "type": "string"
      },
      "params": {
        "additionalProperties": true,
        "description": "Action parameters (event, events, start, end, tool, arguments...).",
        "type": "object"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Disconnect Amplitude](#disconnect_amplitude)

  `disconnect_amplitude`
  Action · mcp:write

  Disconnect a project's Amplitude: deletes your stored (encrypted) credential immediately. Only the account that connected it can disconnect it.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Connect Adobe Analytics](#connect_adobe_analytics)

  `connect_adobe_analytics`
  Action · mcp:write

  Adobe Analytics connection: returns a secure link to connect it on trymimetic.com; never send keys in chat. The user's Adobe admin enters an OAuth Server-to-Server credential in Mimetic's own form there; it is validated live and stored encrypted, bound to your account. Then use query\_adobe\_analytics. Returns status pending and a connection\_id: call again with connection\_id to check. owner\_email emails the link to whoever holds the access.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "adobe_company_id": {
        "description": "globalCompanyId, only if several.",
        "type": "string"
      },
      "connection_id": {
        "description": "connection_id from an earlier call: returns pending, connected or failed.",
        "type": "string"
      },
      "owner_email": {
        "description": "Email the link to whoever holds the access, when the user does not. Only an address the user gave you.",
        "type": "string"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      },
      "reconnect": {
        "description": "Replace an existing connection instead of reporting it.",
        "type": "boolean"
      },
      "rsid": {
        "description": "Report suite id, only if several.",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Query Adobe Analytics](#query_adobe_analytics)

  `query_adobe_analytics`
  Read · mcp:read

  Adobe Analytics visits, revenue, top pages and dimensions: read-only, from the project's connected Adobe Analytics (connect\_adobe\_analytics first). action=kpi (daily visits, visitors, page views, orders, revenue, bounces; params: start, end, metrics), top (params: dimension e.g. page, referringdomain, evar1; metrics; limit; start; end), metrics / dimensions (the report suite's catalog), segments, suites, report (params.body = a full Analytics 2.0 /reports request). Dates YYYY-MM-DD, default last 30 days, end exclusive. Adobe throttles at 12 requests per 6 seconds.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "action": {
        "description": "See description; default kpi.",
        "type": "string"
      },
      "params": {
        "additionalProperties": true,
        "description": "Action parameters (start, end, metrics, dimension, limit, rsid, body).",
        "type": "object"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Disconnect Adobe Analytics](#disconnect_adobe_analytics)

  `disconnect_adobe_analytics`
  Action · mcp:write

  Disconnect a project's Adobe Analytics: deletes your stored (encrypted) credential immediately. Only the account that connected it can disconnect it.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Connect PostHog](#connect_posthog)

  `connect_posthog`
  Action · mcp:write

  PostHog connection over OAuth. Returns an authorization URL for the user to open in a browser; approving grants READ-ONLY scopes (query:read, project:read). The connection binds to your token's email and picks the PostHog project matching the domain. After approving, query with query\_posthog. Reconnecting re-mints tokens and rebinds the project.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Query PostHog](#query_posthog)

  `query_posthog`
  Read · mcp:read

  PostHog events, users, funnels and properties via a read-only HogQL query on the project's connected PostHog. Accepts a full HogQL SELECT; defaults to daily events + unique users over the last 14 days. Requires connect\_posthog first.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "hogql": {
        "description": "HogQL SELECT, e.g. SELECT event, count() FROM events WHERE timestamp \u003e now() - INTERVAL 7 DAY GROUP BY event ORDER BY count() DESC.",
        "type": "string"
      },
      "limit": {
        "maximum": 1000,
        "minimum": 1,
        "type": "integer"
      },
      "posthog_project_id": {
        "description": "Override the bound PostHog project id.",
        "type": "string"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Connect Klaviyo](#connect_klaviyo)

  `connect_klaviyo`
  Action · mcp:write

  Klaviyo connection over OAuth. Returns an authorization URL for the user to open in a browser; approving grants READ-ONLY scopes (campaigns/flows/lists/segments/metrics). The connection binds to your token's email. If the site has NO email platform yet, use the Klaviyo signup link from get\_connection\_recommendations first, then connect.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Query Klaviyo](#query_klaviyo)

  `query_klaviyo`
  Read · mcp:read

  Klaviyo email and SMS: campaigns, flows, revenue and abandoned-cart checks from the project's connected Klaviyo, read-only. Listings: campaigns, flows, lists, segments, metrics. Reports and checks: campaign\_performance / flow\_performance (opens, clicks, revenue attributed to Placed Order, per campaign/flow over a timeframe, sorted by revenue), abandoned\_cart\_status (is a cart/checkout-recovery flow live? the single highest-value check), dead\_links (fetches recent campaign email HTML and HTTP-checks every real link; template-variable and unsubscribe links skipped). Requires connect\_klaviyo first.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "filter": {
        "description": "Optional Klaviyo filter expression for listings, e.g. equals(status,\u0027live\u0027).",
        "type": "string"
      },
      "page_size": {
        "maximum": 100,
        "minimum": 1,
        "type": "integer"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      },
      "resource": {
        "description": "What to fetch. Default campaigns.",
        "enum": [
          "campaigns",
          "flows",
          "lists",
          "segments",
          "metrics",
          "campaign_performance",
          "flow_performance",
          "abandoned_cart_status",
          "dead_links"
        ],
        "type": "string"
      },
      "timeframe": {
        "description": "For the performance reports. Default last_30_days.",
        "enum": [
          "last_7_days",
          "last_30_days",
          "last_90_days",
          "last_365_days",
          "this_month",
          "last_month"
        ],
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Connect Webflow](#connect_webflow)

  `connect_webflow`
  Action · mcp:write

  Webflow connection over OAuth. Returns an authorization URL for the user to open in a browser; approving grants READ-ONLY access (sites:read, which also covers Webflow Analyze traffic reports). The connection binds to your token's email and covers every site the Webflow account authorizes. After approving, query with query\_webflow.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Query Webflow](#query_webflow)

  `query_webflow`
  Read · mcp:read

  Webflow sites and Analyze traffic from the project's connected Webflow, read-only. Resources: sites (every site on the connected account: id, name, published domains, last published), traffic (Webflow Analyze daily sessions for the project's site over the last N days; needs the workspace's Analyze add-on, reported as not\_enabled otherwise). Requires connect\_webflow first.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "days": {
        "description": "traffic only: lookback window, default 30.",
        "maximum": 365,
        "minimum": 1,
        "type": "integer"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      },
      "resource": {
        "description": "Defaults to sites.",
        "enum": [
          "sites",
          "traffic"
        ],
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Connect Shopify](#connect_shopify)

  `connect_shopify`
  Action · mcp:write

  Shopify store connection for read-only queries. Checks whether the Mimetic Shopify app is installed and whether your token's email may read the store. Not installed -> returns install\_url for the merchant (pass `shop` = the \*.myshopify.com domain for a link that lands on the grant screen). Installed but your account is not yet approved -> returns approve\_url: have the merchant open it inside Shopify admin and click Approve (15-minute, single-use), then call connect\_shopify again. Alternatively the merchant can generate a code on the app's Claude Code page and you pass it as `code`. Then query with query\_shopify.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "code": {
        "description": "Optional link code (XXXX-XXXX) the merchant generated inside the Mimetic Shopify app.",
        "type": "string"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      },
      "shop": {
        "description": "Optional *.myshopify.com domain, for a direct install link.",
        "type": "string"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Query Shopify](#query_shopify)

  `query_shopify`
  Read · mcp:read

  Shopify orders, products, inventory, checkouts and themes: read-only Admin GraphQL over the project's store, through the installed Mimetic app (orders, products, inventory, customers-free reports, checkouts, returns, themes: whatever the app's read scopes cover). Accepts a full GraphQL `query` document (mutations are rejected before they reach Shopify) plus `variables`; defaults to the shop identity + the last 30 days of orders. Requires connect\_shopify first, and the token's email must be the store owner.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "graphql": {
        "description": "Admin API GraphQL query document, e.g. { products(first: 10, sortKey: UPDATED_AT, reverse: true) { edges { node { id title totalInventory } } } }",
        "type": "string"
      },
      "project": {
        "description": "Project/site key (from list_projects).",
        "type": "string"
      },
      "variables": {
        "description": "GraphQL variables for the query.",
        "type": "object"
      }
    },
    "required": [
      "project"
    ],
    "type": "object"
  }
  ```
- ### [Billing Status](#billing_status)

  `billing_status`
  Read · mcp:read

  Billing status for a project: plan, whether it is on a paid/active plan, and checkout/portal URLs.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "project": {
        "type": "string"
      }
    },
    "type": "object"
  }
  ```
- ### [Get Checkout Link](#get_checkout_link)

  `get_checkout_link`
  Action · mcp:write

  Checkout link to upgrade a project to a paid Mimetic plan. Use when the user wants to pay or upgrade: give them the URL to open in a browser. They enter payment details on Stripe and the plan activates automatically once payment completes.

  Input schema

  ```
  {
    "additionalProperties": false,
    "properties": {
      "plan": {
        "description": "Plan to check out (default starter).",
        "type": "string"
      },
      "project": {
        "type": "string"
      }
    },
    "type": "object"
  }
  ```
