context7
Context7 MCP - Intelligent documentation search and context for any library
npx skills add majiayu000/claude-skill-registry --skill context7-thesethrose-clawdbot-backup --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Context7 MCP Context7 provides intelligent documentation search and context for any library, powered by LLMs. ## Setup 1. Copy `.env.example` to `.env` and add your Context7 API key: ```bash cp .env.example .env ``` Add your API key to `.env`: ``` CONTEXT7_API_KEY=your-api-key-here ``` Get your key from [context7.com/dashboard](https://context7.com/dashboard) 2. Install dependencies: ```bash npm install ``` ## Usage Context7 provides two main commands: ### Search Command Search for libraries by name with intelligent LLM-powered ranking: ```bash npx tsx query.ts search <library_name> <query> # Examples: npx tsx query.ts search "nextjs" "setup ssr" npx tsx query.ts search "react" "useEffect cleanup" npx tsx query.ts search "better-auth" "authentication flow" ``` This calls the Context7 Search API: ``` GET https://context7.com/api/v2/libs/search?libraryName=<name>&query=<query> ``` **Response includes:** - id: Library ID (e.g., `/vercel/next.js`) - name: Display name - trustScore: Source reputation (0-100) - benchmarkScore: Quality indicator (0-100) - versions: Available version tags ### Context Command Retrieve intelligent, LLM-reranked documentation context: ```bash npx tsx query.
- Setup
- Usage
- Search Command
- Context Command
- Quick Reference
- Best Practices
- Optimize Search Relevance
- Use Specific Library IDs
- Leverage Versioning
- Choose the Right Response Type
- Filter by Quality Scores
- Find Navigation Pages
- API Reference
- Context7 REST API
cp .env.example .env npm install npx tsx query.ts search <library_name> <query> npx tsx query.ts search "nextjs" "setup ssr" npx tsx query.ts search "react" "useEffect cleanup" npx tsx query.ts search "better-auth" "authentication flow" npx tsx query.ts context <owner/repo> <query> npx tsx query.ts context "vercel/next.js" "setup ssr" npx tsx query.ts context "facebook/react" "useState hook" Search for documentation
What does the context7 skill do?
Context7 MCP - Intelligent documentation search and context for any library
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill context7-thesethrose-clawdbot-backup --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
