Growth agents, in your terminal.
Pull Mimetic's site audits, prioritized findings, code-fix PRs, and session-replay insights straight into your shell, your scripts, and your AI coding agents, Claude Code, Codex, anything that runs a command.
Growth context from the tools you already use
One command for real growth context.
Install nothing globally. Authenticate once, and every audit and recording on your account is a command away, in a format your coding agent can read.
# authenticate to your Mimetic account (opens the browser, device-code flow) npx -y --package @mimeticinc/mim-cli mim auth login # now pull context for one of your projects mim context --project yourstore.com
Device login stores an expiring bearer token in ~/.mim/config.json with restrictive file permissions on supported systems. The token is not encrypted locally or stored in your OS keychain; mim auth logout revokes it before removal. Use MIM_API_TOKEN if you prefer environment or secret-manager storage. Requires Node 20+. Privacy details.
- mim projectsList the sites/projects on your account.
- mim contextPrint a growth-context pack for a project, ready to paste into Claude Code or Codex.
- mim recordingsSession-replay summaries: what each visitor did, console errors, and the likely point of friction.
- mim replay --latestOne replay's issues plus a redacted, plain-English narrative of the session.
- mim findingsThe audit's prioritized findings and backlog for a project.
- mim audit start <url> --waitRun a fresh audit and block until the report is ready.
- mim fixes listSee which findings are fixable as a pull request.
- mim fixes start <rank>Queue a code fix, Mimetic opens a PR with a preview link for you to review and merge.
Or call it directly.
Every CLI command is a JSON endpoint under /api/mim. Authenticate with the bearer token mim auth login issues, project-scoped, no scraping, no headless browser to run yourself.
# list your projects curl https://trymimetic.com/api/mim/projects \ -H "Authorization: Bearer mim_xxx" # start an audit and poll for the report curl -X POST https://trymimetic.com/api/mim/audits \ -H "Authorization: Bearer mim_xxx" \ -H "Content-Type: application/json" \ -d '{"url":"https://yourstore.com","mode":"slim"}'
Managed tokens are scoped to projects available to the authenticated account, expire, and can be revoked with mim auth logout. Session-replay recordings require the replay add-on on an active plan.
Hand it to your coding agent.
Mimetic ships an MCP server with project-scoped tools, so Claude Code and Codex can inspect findings and redacted session narratives and run provider-read-only queries across GA4, Search Console, Google Ads, PostHog, and Klaviyo. The same server also includes clearly described action tools for setup and fix workflows. Raw replay payloads are not returned.
# wire Mimetic into Claude Code or Codex
mim mcp install claude
mim mcp install codex
Your agent then reads findings and replay insights on demand and can open fixes as PRs, review and merge, or close them.
Building an AI agent?
Mimetic exposes a pay-per-call audit over the x402 protocol, your agent pays in USDC on Base and gets a full report, no account or API key. It's even discoverable in the x402 bazaar.
The x402 agentic API →Start in your terminal.
Authenticate once, and your audits, findings, and recordings are a command away.
npx -y --package @mimeticinc/mim-cli mim auth login