Documentation
Browse documentation

Privacy and security

Usage reporting

Anonymous usage reporting is on by default. Turn it off with npx memindex telemetry disable.

It is on by default

Reports go to MemIndex's PostHog project. The package includes the project key. You do not need to supply one. Check your reporting state:

npx memindex telemetry status
Telemetry: ENABLED
Decided by: default (on — no saved preference)
Install ID: <random UUID> (random UUID, not tied to you)
Config file: ~/.memindex/telemetry.json
Docs: https://memindex.ai/docs/usage-reporting

This is the output on a fresh install. telemetry status writes nothing.

npx memindex telemetry disable saves your choice in ~/.memindex/telemetry.json. Later runs, updates and installs keep it. The first matching rule decides whether reporting runs:

  1. DO_NOT_TRACK set to anything but empty, 0 or false: off.
  2. MEMINDEX_TELEMETRY set to 0, false or off: off.
  3. CI or tests: off unless MEMINDEX_TELEMETRY is 1, true or on.
  4. MEMINDEX_TELEMETRY set to 1, true or on: on.
  5. A saved choice in ~/.memindex/telemetry.json: use that choice.
  6. Otherwise: on.

An explicit environment setting can override your saved choice. npx memindex telemetry enable needs a terminal and shows every field before asking you to confirm.

The installer prints one notice instead of asking:

MemIndex reports anonymous usage (which features you use, never your notes or code) to help us improve it. Turn it off: npx memindex telemetry disable

What it sends

Reports carry feature use, version and platform details (operating system, architecture, runtime and package versions), provider and model choices, counts, timings, token use, costs and scrubbed error diagnostics. They never carry notes, prompts, source code, file contents, file paths, project names or keys. Error text has paths, emails, addresses, keys and tokens replaced before it leaves.

Set MEMINDEX_TELEMETRY_ERRORS to 0, false or off to turn off error reports only. To send reports to your own PostHog project, set MEMINDEX_TELEMETRY_KEY to your project key. It replaces the built-in key.

Reporting is separate from sending your work to the service that writes your notes.

Next steps