context7

PackDocs & knowledge

Context7 is a plugin that gives an AI agent access to up-to-date documentation lookup. It pulls version-specific documentation and code examples directly from source repositories into the LLM context, so answers reflect the library version actually in use. The context7 plugin handles the fetching, letting the agent consult current docs instead of relying on training-time knowledge.

Unavailable. Delivery for this kind is on the roadmap — not serving yet.

Have an agent setup that supports plugins.

What your AI can do with it

  • Fetch up-to-date library documentation on demand
  • Pull version-specific documentation for a given library
  • Retrieve code examples directly from source repositories
  • Insert fetched docs and examples into the LLM context

Getting started

  1. Have an agent setup that supports plugins.
  2. Add the Context7 plugin to it.
  3. Ask the agent to look up documentation for a library, specifying the version if needed.
  4. The agent fetches the relevant docs and code examples into its context before answering.

Signals

GitHub stars
63k
Forks
3k
Last commit
Sep 2026
Hacker News mentions
7

Questions

What does the context7 plugin do?
It lets an agent fetch up-to-date, version-specific library documentation and code examples directly from source repositories and bring them into the LLM context.
Does context7 work with Claude?
It is a plugin, so it can be used wherever plugins are supported. The catalog listing does not specify particular clients beyond that.
Why use it instead of the model's built-in knowledge?
Training-time knowledge can be outdated. Context7 pulls documentation for the specific version of a library you are using, straight from the source repository.
Advanced
Item type
plugin
Key
upstash-context7-context7
Source
github.com/upstash/context7