
context7
worthwhileBrings fresh, version-specific library docs into agent context — solves a real pain without adding much complexity.

What it is
An MCP server and CLI that fetches up-to-date, version-specific library documentation and code examples and injects them into your agent's context — currently works with Claude Code, Cursor, and OpenCode.
How it differs from vanilla Claude
A vanilla Claude can search the web for docs, but it must manually select the right library, version, and parse potentially stale results. context7 automates library resolution, version matching, and snippet retrieval via a curated index, piping exactly the right docs into the prompt without tab-switching or URL hunting.
Skill, plugin, or workflow shift?
MCP integration — registers tools like `resolve-library-id` and `query-docs` that the agent calls natively. Also offers a CLI mode with skills for agents that lack MCP support. Low friction, high value.
Devil's advocate — is this just complexity?
A base agent can already fetch docs from the web or read a `node_modules` type definition. Context7 is essentially a pre-packaged search over a curated index — a wrapper around web scraping + a prompt hack. For very popular libraries (React, Next.js), Claude's training data may already be sufficient for most tasks. The version-matching is nice but marginal; Claude can usually adapt. That said, the convenience of injecting exactly the right snippet without context pollution is real, especially for less common library versions where hallucination risk spikes.
What would make it better
Allow users to submit custom/private library doc sources (e.g., internal packages). Add offline caching so it works without internet. Support more agent clients natively (e.g., Windsurf, Continue). Let users pin library versions explicitly in config rather than relying on prompt mention.
The honest case for it
If you work with multiple libraries across versions — especially newer ones post-training cutoff — context7 eliminates the single worst failure mode of AI-assisted coding: confident hallucinations of APIs that don't exist. The friction is near zero (one command) and the upside is avoiding silent bugs from imaginary functions. For any serious engineer using code assistants daily, it's a no-brainer.
Who it's for
Audience fit
Depth and leverage for a technical engineer who wants to understand it and level up their workflow — not just offload work.
Value for someone who wants a more capable tool without the technical depth — accessible, does-it-for-you.
Engineers get fresh library docs piped into context, eliminating hallucinated APIs — a real productivity gain. Vibe coders benefit similarly but may not hit the skill ceiling where stale docs bite hardest.