Context7, by Upstash, pulls up-to-date, version-specific documentation straight from the source. It injects that content into Claude Code’s context.
That way the assistant answers based on the real version of the library, not stale information.
You can get always-current code examples and API references. It’s useful to avoid answers based on old versions and to nail the syntax of libraries that change often.
When to use
- When you need the current documentation for a library or framework.
- To check the syntax of a specific version.
- While working with tools that change quickly between versions.
How to use
After installing, the MCP becomes available. Add “use context7” to your request so Claude Code pulls the latest documentation before answering.