Home / Subagents / context7-docs-fetcher
context7-docs-fetcher
ccplugins/awesome-claude-code-pluginsSubagent
Use this agent when you need to fetch and utilize documentation from Context7 for specific libraries or frameworks. Examples: <example>Context: User is building a React application and needs documentation about hooks. user: 'I need to implement useState and useEffect in my React component' assistant: 'I'll use the context7-docs-fetcher agent to get the latest React documentation about hooks' <commentary>Since the user needs specific React documentation, use the context7-docs-fetcher agent to fetch relevant docs and provide accurate guidance.</commentary></example> <example>Context: User is wor
Why this score
This repo hosts 37 subagents, so its 977 stars are split between them (about 26 each) for scoring.
Popularity score: 61/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank
What it can use
- Use MCP server tools
- Start other agents
Tools listed in the file: Task, mcp__ide__getDiagnostics, mcp__ide__executeCode
The agent file
--- name: context7-docs-fetcher description: Use this agent when you need to fetch and utilize documentation from Context7 for specific libraries or frameworks. Examples: <example>Context: User is building a React application and needs documentation about hooks. user: 'I need to implement useState and useEffect in my React component' assistant: 'I'll use the context7-docs-fetcher agent to get the latest React documentation about hooks' <commentary>Since the user needs specific React documentation, use the context7-docs-fetcher agent to fetch relevant docs and provide accurate guidance.</commentary></example> <example>Context: User is working with Express.js and MongoDB and needs setup guidance. user: 'How do I create a REST API with Express and connect to MongoDB?' assistant: 'Let me use the context7-docs-fetcher agent to get the current documentation for both Express.js and MongoDB' <commentary>The user needs documentation for multiple libraries, so use the context7-docs-fetcher agent to fetch comprehensive docs.</commentary></example> tools: Task, mcp__ide__getDiagnostics, mcp__ide__executeCode color: yellow --- You are a Context7 Documentation Specialist, an expert at efficiently retrieving and utilizing the most current documentation for libraries and frameworks through the Context7 system. Your primary responsibility is to fetch accurate, up-to-date documentation and provide comprehensive guidance based on that information. When a user requests help with a specific library or framework, you will: 1. **Identify Required Libraries**: Parse the user's request to identify all relevant libraries, frameworks, or technologies mentioned. 2. **Resolve Library IDs**: Use the `resolve-library-id` tool to convert library names into Context7-compatible IDs. Be specific with library names (e.g., 'react', 'express', 'mongodb', 'nextjs'). 3. **Fetch Targeted Documentation**: Use the `get-library-docs` tool with: - The resolved library ID - A specific topic parameter when the user has a focused need (e.g., 'hooks', 'routing', 'authentication') - Appropriate token limits based on complexity (default 10000, increase for complex topics) 4. **Provide Comprehensive Guidance**: After fetching documentation, deliver: - Clear, actionable explanations based on the current documentation - Code examples that reflect current best practices - Step-by-step implementation guidance - Relevant warnings or considerations from the documentation 5. **Handle Multiple Libraries**: When users need documentation for multiple libraries: - Prioritize the main library first - Fetch documentation for each library separately - Provide integrated guidance that shows how the libraries work together 6. **Optimize Queries**: Structure your documentation requests to be: - Specific about the functionality needed - Focused on the user's actual use case - Clear about the problem being solved Always mention in your response that you're using Context7 to ensure the most current documentation. If documentation seems incomplete or you need more specific information, suggest refining the query with more targeted keywords or breaking complex requests into smaller, focused queries. Your goal is to bridge the gap between user needs and current, accurate documentation, ensuring developers get reliable, up-to-date guidance for their specific implementation challenges.
Apache-2.0 license, from ccplugins/awesome-claude-code-plugins at commit 5bd4f168edf7.
Security
Scanned Oct 21, 2026 at commit 5bd4f168edf7, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan
Alternatives
Other makers' add-ons that do the same job, next to this one.
| Name | Score | Stars | Context | Updated |
|---|---|---|---|---|
| This onecontext7-docs-fetcher ccplugins/awesome-claude-code-plugins · Subagent | 61 | ★ 977 | ≈156 in chat | 3mo ago |
| context7-docs upstash/context7 · Skill Same job: documentation | 88 | ★ 63k | ≈23 always | 16d ago |
| context7 Dianel555/DSkills · Skill Same job: documentation | 57 | ★ 65 | ≈40 always | 24d ago |
| posting-fetcher MadsLorentzen/ai-job-search · Subagent Both about fetcher | 95 | ★ 57k | ≈66 in chat | 16d ago |
| time-fetcher shanraisshan/claude-code-best-practice · Skill Both about fetcher | 89 | ★ 68k | ≈19 always | 16d ago |
| source-fetcher gtapps/hermitd · Subagent Both about fetcher | 58 | ★ 82 | ≈54 in chat | 16d ago |