GitHubnpm
context7
#35 of 964 in the AI Agent Index
50 Score
Real usage 57
Momentum —
Attention 96
About
LLMs rely on outdated or generic information about the libraries you use. You get:
Context7 pulls up-to-date, version-specific documentation and code examples straight from the source — and places them directly into your prompt.
Context7 fetches up-to-date code examples and documentation right into your LLM's context. No tab-switching, no hallucinated APIs that don't exist, no outdated code generation.
API Key Recommended: Get a free API key at context7.com/dashboard for higher rate limits.
Set up Context7 for your coding agents with a single command. The ctx7 CLI requires Node.js 18 or newer.
Authenticates via OAuth, generates an API key, and installs the appropriate skill. You can…
Across sources
59.3k Stars
- Stars 59.3k
- Forks 2.8k
- Commits 899
- Releases 95
40.6k Downloads / week
- Downloads / week 40.6k