@mainwave/cli weekly downloads statistics
By mainwave · npm · Claude Code
Setup wizard for connecting third-party coding tools to Mainwave AI.
@mainwave/cli has 2,005 recorded weekly downloads on npm, a decrease of 7.9% over the past 30 days, ranking #1878 of 3,247 tracked listings.
About @mainwave/cli
@mainwave/cli
Setup wizard that connects third-party coding tools to Mainwave AI, so their OpenTelemetry traces land in your dashboard, attributed to you.
Installs as the mainwave-cli command. Requires Node 22.22 or newer on 22.x, 24.15 or newer on 24.x, or Node 26 and later.
Supported tools
| Adapter | Tool |
|---|---|
claude-code | Claude Code |
claude-desktop | Claude Desktop (Cowork) |
codex | Codex CLI |
copilot-cli | GitHub Copilot CLI |
copilot-chat | GitHub Copilot Chat in VS Code |
cursor | Cursor |
cursor-enterprise | Cursor (Enterprise OTel export) |
kiro-ide | Kiro IDE (1.0 or newer) |
kiro-cli | Kiro CLI (2.13 or newer, V3) |
Setup
npx @mainwave/cli setup
With no adapter named, the wizard lists the tools it can configure. Anything detected on this machine is checked and can't be unchecked — it's installed here, so leaving it out just means it goes unmonitored — and everything else starts unchecked, so a tool you don't use gets no config file. Whatever you end up with is set up in one pass: the questions are asked once, every file is previewed together, and one confirmation writes them all. Name adapters explicitly to skip the picker:
npx @mainwave/cli setup claude-code codex
Signed in (mainwave-cli login), setup asks almost nothing: it mints a Mainwave key labelled with
your email and this machine so you never handle a credential, takes the collector URL from your
deployment, writes each tool's config in the format it expects, and then sends a sample trace and
watches for it to land. Not signed in, it prompts for a key; that path stays for scripts and
air-gapped installs.
There is no use case to pick. For every tool but one (below), setup writes no use-case id: Mainwave
attributes each tool's activity to you from the identity its telemetry already carries — your Claude
account for Claude Code and Claude Desktop, your email for the rest — and files it under your use
case for that tool. Your activity
appears under Development in the app once your first session arrives, within about 10 minutes.
Codex and Copilot carry no identity of their own, and Claude Code carries none when it signs in with
an API key, Bedrock or Vertex rather than a Claude account, so setup adds your email for them: the
signed-in account's, or --email, or your git email. Under a Claude account the account still wins,
so the email changes nothing there. If setup has no email, it warns that those tools' activity will
land unattributed until you re-run with --email or sign in.
The exception is cursor-enterprise. Cursor's Enterprise OTel export is configured once for the whole
team, by an admin, and carries no per-person email, so an email would attribute the whole team to
whoever ran setup. Setup gives it a team use-case id instead: minted on the first run, kept on every
re-run, and never shared with your other tools. If the id it already has is also in your other
tools' config, or is your own stored use case — which is what earlier versions of the CLI wrote —
setup mints a separate team id and says so.
Kiro has no exporter of its own to point at Mainwave, so setup installs a Kiro hook instead: one
file, ~/.kiro/hooks/mainwave.json (other files in that directory are left alone), that runs a small
script on session start, prompt submit, each tool call, agent file changes, the end of each turn and,
in Kiro CLI, session end. Each event becomes one span carrying the Kiro session id, the event, the
tool name and the kind of file change — never file paths, tool input or output. Prompt text is off
for Kiro unless you pass --opt-in prompts. The script prints nothing, always exits successfully and
hands the upload to a background process, so it never blocks, slows or steers a Kiro session. Your
email is the account kiro-cli whoami reports — it is how Kiro activity is matched to Kiro's own
usage export — unless you pass --email; without a Kiro sign-in it falls back to your Mainwave
sign-in, then your git email. Kiro CLI records sessions only in V3 mode (kiro-cli --v3); its 2.x
default mode doesn't read global hooks. Kiro hooks carry no tokens or cost, and --ucid doesn't
apply to them: Kiro activity is always attributed from your email. To take it off again:
mainwave-cli setup kiro-ide --remove # or kiro-cli; both together to remove everything
Kiro IDE and Kiro CLI run the same hooks file, and the hook can't always tell which one ran it. With only one of them set up, sessions from the other are reported under the one you set up. With both set up, Kiro CLI run in an editor's terminal (VS Code, Cursor, Kiro) is reported as the IDE, apart from its session-end event. After you remove kiro-ide, that terminal session is taken for the IDE and dropped, apart from its session-end event; after you remove kiro-cli, it is still reported as the IDE, and Kiro CLI in a plain terminal is dropped.
Removing one of the two keeps the hooks for the other, and the hook stops sending the removed one's
sessions; removing the last one removes Mainwave's entries from ~/.kiro/hooks/mainwave.json (the
file too, if nothing else is in it), Mainwave's instructions from ~/.kiro/steering/mainwave.md
(likewise) and ~/.mainwave/kiro.env with its backups (they hold your key; setup writes it again).…
Description from the npm listing.
- mainwave
- claude-code
- opentelemetry
- cli
- setup
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (135)Similar npm Claude Code plugins
All 20 @mainwave/cli alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@mainwave/cli. First seen Nov 17, 2026; last successful collection Nov 24, 2026. See the methodology.