Skill
context7-cli
context7-cli — a Claude Code skill from upstash/context7
Features
- ✓Fetches up-to-date code examples
- ✓Enhances LLMs with specific library info
- ✓Directs to source documentation
- ✓Supports version-specific code examples
- ✓Improves prompt accuracy with real-world examples
- ✓Visit GitHub for more tools
Installation Guide
[!NOTE]
var(--color-accent)]/40 pl-3 my-2 text-[var(--text-tertiary)]">API Key Recommended: Get a free API key at [context7.com/dashboard for higher rate limits.
Set up Context7 for your coding agents with a single command:
bash
npx ctx7 setupAuthenticates via OAuth, generates an API key, and installs the appropriate skill. You can choose between CLI + Skills or MCP mode. Use --cursor, --claude, or --opencode to target a specific agent.
To configure manually, use the Context7 server URL https://mcp.context7.com/mcp with your MCP client and pass your API key via the CONTEXT7_API_KEY header. See the link below for client-specific setup instructions.