context7-docs — Claude Code plugin for current library docs
context7-docs pulls up-to-date library documentation through Context7 into a Claude Code session. Handy when the model starts inventing APIs or sticks to outdated signatures.
Apache-2.0 ★ 2,858 updated 2026-05-12
/plugin marketplace add rohitg00/awesome-claude-code-toolkit
/plugin install context7-docs@claude-code-toolkitWhat context7-docs does
The plugin queries Context7 and fetches docs for a library so Claude Code writes code against current function signatures and types instead of relying on its training data. That gap between the model's knowledge cutoff and the package's latest release is where most bad API calls come from.
Once installed, the plugin exposes a slash command. Pass a library name and the relevant reference lands in the session context. Claude Code then uses it during generation, so method names and call patterns match the installed version.
No external setup beyond installation. The plugin handles the Context7 access itself, so there is no separate API key to configure.
What it helps with
- get current function signatures instead of stale ones
- stop the model from hallucinating library API calls
- avoid switching to a browser tab for every unfamiliar method
- keep library reference inside the session context
Example prompts for the agent
- Fetch docs for the
nextpackage with/context7-docs - Look up the current
python-telegram-botreference and show a message-sending example - Check how
insertworks indrizzle-ormaccording to the docs
How to install context7-docs
Plugin marketplace
/plugin marketplace add rohitg00/awesome-claude-code-toolkit/plugin install context7-docs@claude-code-toolkitStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about context7-docs
How do I install context7-docs in Claude Code?
Run two commands: /plugin marketplace add rohitg00/awesome-claude-code-toolkit, then /plugin install context7-docs@claude-code-toolkit.
What does context7-docs do?
It fetches current library documentation through Context7 and puts it into the Claude Code context, so the model codes against the live API rather than outdated training data.
Do I need a Context7 API key?
No. The plugin manages Context7 access on its own, so there is nothing extra to configure.
Source text
context7-docs · Apache-2.0
Fetch up-to-date library documentation via Context7 for accurate coding
© rohitg00 · Apache-2.0 · rohitg00/awesome-claude-code-toolkit