SkillsSkillDraft
context7-mcp
The MCP-tools variant of find-docs, using Context7's resolve-library-id and query-docs instead of the CLI.
Type: Skill
When to use it
When the Context7 MCP server is connected to the session. Same triggers as find-docs: setup questions, library code generation, API references.
How to install
Add the Context7 MCP server (`claude mcp add context7 -- npx -y @upstash/context7-mcp`) and copy the skill to ~/.claude/skills/context7-mcp/.
The code
---
name: context7-mcp
description: Use when the user asks about libraries, frameworks, API references, or needs code examples.
---
## Step 1: Resolve the Library ID
Call `resolve-library-id` with `libraryName` and `query`.
## Step 2: Select the Best Match
Exact name, description relevance, snippet count, source reputation.
## Step 3: Fetch the docs
Call `query-docs` with the chosen ID and a specific question.Source: Skillsupdated 2026-09-04