Context7
Pulls live, version-matched library documentation into Claude context on demand — no more stale training data for npm packages, Python libs, or GitHub repos.
Install
claude plugins add context7 Context7 solves the most common Claude Code failure mode: hallucinated or stale API usage. When you ask Claude to use a library, Context7 intercepts the request, detects the library and version from your package manifest, and fetches the matching documentation segment before Claude composes any code.
The result is accurate, version-matched code on the first attempt. Context7 covers npm, PyPI, and public GitHub repos with README and API-reference parsing. With 358k installs it is neck-and-neck with Code Review for third place in the coding category.
Features
Live docs fetch
Fetches current API docs for any npm, PyPI or GitHub package at the exact installed version.
Version pinning
Respects package.json / requirements.txt versions — no documentation drift.
Changelog surfacing
Highlights breaking changes between what is installed and what is current.
Common Use Cases
- Working with rapidly-evolving libraries
- Migrating between major versions
- Avoiding hallucinated API calls