📚Context7
Pull up-to-date, version-specific library docs and code examples into Claude.
What it does
Context7 by Upstash pulls live documentation into Claude's context on demand.
What it gives Claude:
- Up-to-date docs for thousands of libraries and frameworks
- Version-specific API signatures and code examples
- Fewer hallucinated or outdated API calls when generating code
Works with no API key at standard rate limits. A free key from context7.com/dashboard raises the limits — append --api-key YOUR_API_KEY to the install command. A hosted remote endpoint also exists at https://mcp.context7.com/mcp.
Installation
- Make sure Claude is on your device and in your terminal.
MCP servers register with Claude Code via
claude mcp add. You need Claude Code installed first:npm i -g @anthropic-ai/claude-code - Set up the server on your machine.
Runs the project's installer (clone + dependencies + config). Follow any prompts. After this finishes, the server is ready to register with Claude Code in the next step.
- Restart Claude Code.
Quit and reopen Claude Code so it picks up the new MCP registration. Run
/mcpinside Claude Code to confirm the server is connected. - Use it.
Ask Claude naturally. It will call the server's tools when your request matches one. Tool calls show up inline so you can see exactly what Claude is doing.
Prefer to read the source first? Open on GitHub.