context7-mcp

Fetch current library and framework documentation via Context7.

5|Updated Apr 29, 2023
One-click install
npx skills add https://github.com/n4vysh/dotfiles --skill context7-mcp-n4vysh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context7-mcp
Source: https://github.com/n4vysh/dotfiles/tree/main/home/dot_agents/skills/context7-mcp
Command: npx skills add https://github.com/n4vysh/dotfiles --skill context7-mcp-n4vysh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fetch up-to-date documentation and API references for libraries and frameworks to accelerate development and reduce time spent searching official sources.

Core Features & Use Cases

  • Resolve library IDs and fetch current docs via Context7 for accuracy.
  • Support setup guidance, code generation, and API references across popular frameworks (React, Vue, Next.js, Prisma, Supabase, etc.).
  • Provide version-aware results when a version is specified.

Quick Start

Ask Context7 to fetch the latest documentation for a library or framework, e.g., "Show me the Next.js API references".

Frequently Asked Questions about context7-mcp

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

FAQPage Schema
How do I fetch live documentation for a specific library version?

Fetch live documentation by specifying the library name and version. The system resolves the library ID and queries official docs via Context7 to deliver accurate, version-aware guidance and code samples.

Can I get setup guidance and API references for React or Next.js?

Yes, you can get setup guidance and API references for React, Next.js, Vue, Prisma, and Supabase. It queries official documentation to provide accurate, version-aware code generation and setup instructions.

What is the best way to find current code samples for a framework?

The best way to find current code samples is to query the framework's official documentation. It resolves library IDs and fetches live docs via Context7 to ensure the code samples are accurate and up-to-date.

Does this documentation fetcher work with Prisma and Supabase?

Yes, this documentation fetcher works with Prisma and Supabase. It resolves library IDs and fetches current docs to support setup guidance, API references, and code generation across these popular frameworks.

Why do I need to resolve a library ID before fetching docs?

Resolving a library ID is required to select the best match before querying official docs. This ensures the documentation fetcher retrieves accurate, version-aware guidance specific to the exact library you need.