Skip to content

Context7 Platform -- Up-to-date docs for AI agents

docs: add telemetry opt-out documentation (#1705)

Fahreddin Özcane49e41819fb3
diff --git a/docs/skills.mdx b/docs/skills.mdx
index b6d4b3af..4339ae06 100644
--- a/docs/skills.mdx
+++ b/docs/skills.mdx
@@ -383,6 +383,18 @@ npx ctx7 logout
npx ctx7 login
```
+## Disabling Telemetry
+
+The CLI collects anonymous usage data to help improve the product. To disable telemetry, set the `CTX7_TELEMETRY_DISABLED` environment variable:
+
+```bash
+# For a single command
+CTX7_TELEMETRY_DISABLED=1 npx ctx7 skills search pdf
+
+# Or export in your shell profile (~/.bashrc, ~/.zshrc, etc.)
+export CTX7_TELEMETRY_DISABLED=1
+```
+
## Next Steps
<CardGroup cols={2}>
diff --git a/packages/cli/README.md b/packages/cli/README.md
index b63939f1..aab962d2 100644
--- a/packages/cli/README.md
+++ b/packages/cli/README.md
@@ -164,6 +164,18 @@ ctx7 skills gen # skills generate
ctx7 skills g # skills generate
```
+## Disabling Telemetry
+
+The CLI collects anonymous usage data to help improve the product. To disable telemetry, set the `CTX7_TELEMETRY_DISABLED` environment variable:
+
+```bash
+# For a single command
+CTX7_TELEMETRY_DISABLED=1 ctx7 skills search pdf
+
+# Or export in your shell profile (~/.bashrc, ~/.zshrc, etc.)
+export CTX7_TELEMETRY_DISABLED=1
+```
+
## Learn More
Visit [context7.com](https://context7.com) to browse the skills registry and discover available skills.