Skip to content
PluginStats

ctx7 weekly downloads statistics

By upstash (8 listings) · npm · MCP servers

Context7 CLI - Fetch documentation context and configure Context7

View on npm Fresh · Dec 6, 2026

ctx7 has 38,986 recorded weekly downloads on npm, a decrease of 18.4% over the past 30 days, ranking #857 of 3,247 tracked listings.

Weekly downloads
38,986
Official API · Dec 5, 2026
7-day growth
-26.1%
-13.8K weekly downloads
30-day growth
-18.4%
-8.8K weekly downloads
90-day growth
+6.9%
+2.5K weekly downloads
Rank
#857
▼ 108 in 7 days

About ctx7

ctx7

CLI for Context7 - query up-to-date library documentation and configure Context7 for AI coding agents.

Installation

# Run directly with npx (no install needed)
npx ctx7

# Or install globally
npm install -g ctx7

Quick Start

# Set up Context7 MCP for your coding agents
ctx7 setup

# Remove Context7 setup later
ctx7 remove

# Target a specific agent
ctx7 setup --cursor
ctx7 setup --claude
ctx7 setup --opencode
ctx7 setup --vscode
ctx7 setup --vscode-insiders
ctx7 setup --devin
ctx7 setup --copilot
ctx7 setup --pi
ctx7 setup --t3

T3 Code uses its providers’ configuration. ctx7 setup --t3 configures both Claude Code and Codex; use --claude or --codex to configure just one. This also affects those providers outside T3 Code. ctx7 remove --t3 removes their Context7 setup. Both commands support --project, --mcp, and --cli. Restart the provider session in T3 Code after setup.

Library Documentation
# Search documentation in one request
ctx7 search "how to stream an OpenAI response from a Next.js route"

# Narrow the search to libraries you already know
ctx7 search "how to stream a response" --library Next.js --library OpenAI

# Find a library
ctx7 library react
ctx7 library nextjs "app router"

# Get documentation
ctx7 docs /reactjs/react.dev "useEffect cleanup"
ctx7 docs /vercel/next.js "proxy"

Usage

Search documentation

Ask a question and get the best snippets from all libraries in one step. No library ID is needed.

ctx7 search "how do I validate a request body with a schema?"

# Search specific libraries: a name or a library ID, repeat for up to four
ctx7 search "how do I stream a response?" --library Next.js --library /openai/openai-node

# Search a specific version
ctx7 search "how do I cache a server function?" --library Next.js --library-version 15.4.0

# Prefer results in the language you write in
ctx7 search "how do I send an SMS?" --library Twilio --language Ruby

# Output as JSON
ctx7 search "how do I use hooks?" --library React --json
Find a library

Resolve a library name to a Context7 library ID.

ctx7 library react
ctx7 library nextjs "app router setup"
ctx7 library prisma "database relations"

# Output as JSON
ctx7 library react --json
Query documentation

Fetch documentation for a specific library using its Context7 ID.

ctx7 docs /reactjs/react.dev "useEffect cleanup"
ctx7 docs /vercel/next.js "proxy authentication"
ctx7 docs /prisma/prisma "one-to-many relations"

# Output as JSON
ctx7 docs /reactjs/react.dev "hooks" --json
Query source code

Search and read a library's source code at the version its docs describe. Search works like ripgrep.

ctx7 code /tanstack/query "invalidateQueries\\(" -g "packages/query-core/**"
ctx7 code /pydantic/pydantic "Input should be a valid integer" -F
ctx7 code /tokio-rs/tokio JoinHandle -c
ctx7 code /colinhacks/zod/v3.24.2 ZodEffects --op definition
ctx7 code /tokio-rs/tokio spawn --op read
ctx7 code /tanstack/query --op list --path packages/query-core/src

--op is grep (default), definition, references, outline, read or list. The search flags are -F, -i, -g (repeat it for more globs), -C, -l, -c, --head-limit and --offset. Add a git tag to the library ID (/colinhacks/zod/v3.24.2) or pass --tag for a version. The first query for a library version can answer that the source is still being indexed. Run the command again after the time it gives.

Get what changes when a library moves from one version to another: breaking changes, codemods, deprecations, behavior and config changes from the release notes of every release in between, and the public API changes found in the source code.

ctx7 get-upgrade-guide /vercel/next.js 14 16
ctx7 get-upgrade-guide /colinhacks/zod 3.24.2
ctx7 get-upgrade-guide /vercel/next.js 14 16 --page 2

A bare major such as 14 means the oldest release of that line as the start and the newest as the target. Without a target version, the guide goes to the latest major. A long guide comes in pages; page 1 starts with what is needed to migrate and says what the next pages hold. The first request for a pair of versions can take a few minutes while the guide is prepared: the command then exits with code 75 and says when to run it again. Guides are prepared for the most used libraries; for any other library the command says that its guide is not prepared yet.

Setup

Configure Context7 MCP and a rule for your AI coding agents. Authenticates via OAuth, generates an API key, and writes the config.

# Interactive (prompts for agent selection)
ctx7 setup

# Target specific agents
ctx7 setup --cursor
ctx7 setup --claude
ctx7 setup --opencode
ctx7 setup --vscode
ctx7 setup --vscode-insiders
ctx7 setup --devin
ctx7 setup --copilot
ctx7 setup --pi

# Use an existing API key instead of OAuth
ctx7 setup --api-key YOUR_API_KEY

# Use OAuth sign-in (the client signs in through the browser)
ctx7 setup --oauth

# Configure an on-premise deployment (pass the deployment root)
ctx7 setup --mcp --base-url https://context7.internal.example --codex

# When on-premise MCP auth is enabled, the CLI prompts for the key with hidden input
ctx7 setup --mcp \
  --base-url https://context7.internal.example \
  --codex

# For non-interactive automation, provide the key through the environment
CONTEXT7_API_KEY=ctx7op-... ctx7 setup --mcp --yes \
  --base-url https://context7.internal.example \
  --codex

# Configure for current project only (default is global)
ctx7 setup --project

# Skip prompts
ctx7 setup --yes
```…

Description from the npm listing.

  • context7
  • cli
  • ai
  • skills
  • documentation
  • mcp

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

ctx7 weekly downloads on npm, last 90 days: 38,986 weekly downloads as of Dec 5, 2026, +6.9% over 90 days.ctx7Weekly downloads on npm · Last 90 days38,986downloads / week+6.9% over 90 days20K30K40K50K60K70KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
ctx7 weekly downloads on npm, last 90 days: 38,986 weekly downloads as of Dec 5, 2026, +6.9% over 90 days.

7/30/90-day growth

ctx7 weekly downloads growth on npm: -26.1% over 7 days, -18.4% over 30 days, +6.9% over 90 days.ctx7Weekly downloads growth on npm38,986downloads / week now7-day growth-13,779 weekly downloads-26.1%30-day growth-8,764 weekly downloads-18.4%90-day growth+2,515 weekly downloads+6.9%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
ctx7 weekly downloads growth on npm: -26.1% over 7 days, -18.4% over 30 days, +6.9% over 90 days.

Ranking history

ctx7 npm ranking history: currently #857 (by weekly downloads).ctx7npm ranking · by weekly downloads · Last 90 days#857current rank#200#300#400#500#600#700#800#900Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
ctx7 npm ranking history: currently #857 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 43, #17 (overall #857)
All npm: every listing in weekly downloads order

Listing placement

MCP servers468 listings · 24 pages · page 7, #10 (overall #130)
MCP servers: every listing in weekly downloads order

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 (592)
Recent weekly downloads observations for ctx7
Date (UTC)Weekly downloadsChange vs. previous
38,986-5.1K
44,036-3.4K
47,470-3.9K
51,416-3.4K
54,824-961
55,785+2K
53,786+1K
52,765+1.1K
51,647+2.9K
48,760+2.3K
46,483-702
47,185-5.3K
52,439-5.1K
57,497—

Similar npm MCP servers plugins

All 20 ctx7 alternatives

Data 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/ctx7. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.