context7-docs

Fetch npm library documentation from the Context7 MCP server.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/chandima/opencode-config --skill context7-docs-chandima
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context7-docs
Source: https://github.com/chandima/opencode-config/tree/main/skills/context7-docs
Command: npx skills add https://github.com/chandima/opencode-config --skill context7-docs-chandima

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mcporter, and includes scripts (resource) components.

What problem does it solve?

This skill enables quick retrieval of up-to-date library documentation from the Context7 MCP server, reducing the need for manual web searches when researching npm libraries and frameworks.

Core Features & Use Cases

  • Context7 two-step workflow: resolve library name to Context7 ID, then fetch docs.
  • Broad coverage: React, Vue, Next.js, Tailwind CSS, and many npm packages.
  • Topic-filtering to narrow results and improve relevance.
  • Preconfigured fallback URL and local server support for flexible setups.
  • Use case: Look up React hooks or Next.js routing topics and get concise, authoritative docs.

Quick Start

Ask the docs tool to fetch documentation for a library, optionally narrowing to a topic.

Frequently Asked Questions about context7-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch up-to-date library documentation for React or Next.js without manual web searches?

To fetch library documentation for React or Next.js, resolve the library name to a Context7 ID via the Context7 MCP server, then retrieve concise docs, reducing manual web searches.

Can I filter npm library docs by a specific topic like Tailwind CSS configuration?

Yes, you can filter npm library docs by a specific topic like Tailwind CSS configuration using optional topic filtering, which narrows the Context7 MCP server results to improve relevance for your query.

What is the Context7 MCP workflow for looking up npm package documentation?

The Context7 MCP workflow for npm package documentation is a two-step process: resolve the library name to a Context7 ID, then fetch authoritative docs using the local scripts/docs.sh.

Do I need a configured Context7 server to retrieve Vue or Tailwind framework docs?

You do not need a strictly configured Context7 server to retrieve Vue or Tailwind framework docs, as the skill supports a preconfigured public fallback URL alongside local server options.

Why use Context7 instead of standard web searches for researching npm libraries?

Use Context7 instead of standard web searches for researching npm libraries to get concise, authoritative documentation directly from the MCP server, ensuring the information is up-to-date and topic-filtered.