Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Context7?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anntnzrb-context7)
---
name: context7
description: "Use when fetching library or framework docs, API signatures, and examples via Context7, not for OpenAI OpenAPI specs."
license: AGPL-3.0-or-later
compatibility: Requires Context7 MCP server via MCPorter.
---
# Context7
Fetch verified, version-accurate documentation and code examples via the dynamic MCP runner (`mcporter call context7.<tool>`).
Tool schemas are dynamic and authoritative. When discovering capabilities or parameter requirements, inspect the live server directly.
## Discovery Workflow for Agents (Cold Start)
1. **Roster of available tools (Short listing):**
```sh
mcporter list context7 --brief
```
2. **Inspect exact parameters and schema for a specific tool:**
```sh
mcporter list context7.<tool_name> --schema
```
## Core Workflow
Documentation retrieval is a two-step process:
### 1. Resolve Library to Context7 ID
Search the index with the library name (e.g., `"Next.js"`, `"React"`, `"OpenAI"`, `"Effect"`, `"Pydantic"`):
```sh
mcporter call context7.resolve_library_id query="Next.js" --output json
```
*(Returns candidate library IDs starting with `/`, such as `/vercel/next.js` or `/openai/openai-node`).*
### 2. Query Documentation Snippets
Fetch targeted documentation using the resolved library ID:
```sh
mcporter call context7.get_library_docs library_id="/vercel/next.js" query="App Router Server Actions" --output json
```
## Best Practices
- **Single-topic queries:** Keep each query focused on a single topic (e.g. routing, caching, auth).
- **Exact library ID:** Always pass the full library ID starting with `/` returned by step 1.
- **Do not guess:** If a library is not found, search with official punctuation.