context7-mcp

Fetch current library and framework documentation with version-aware code examples.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves outdated or inaccurate answers when users ask for library/framework setup, configuration, or API reference details, ensuring guidance reflects current documentation.

Core Features & Use Cases

  • Resolves the right documentation source: Identifies the best Context7 library match (optionally version-aware) for the frameworks mentioned in the user’s question.
  • Fetches targeted, up-to-date docs: Queries the selected library’s documentation using the user’s full question for relevance.
  • Produces doc-backed answers with examples: Answers using fetched documentation and includes relevant code snippets while citing the library version when applicable.
  • Use Case: A developer asks, “How do I configure Next.js middleware to protect routes in Next.js 15?” The skill resolves the correct Next.js docs and returns the current, version-appropriate setup steps and example.

Quick Start

Ask a question about a specific framework or library API, and the skill will fetch the most relevant current documentation and answer with code examples.

Frequently Asked Questions about context7-mcp

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

FAQPage Schema
How do I get up-to-date documentation and code examples for React or Next.js?▼

Fetching current library documentation for frameworks like React or Next.js resolves the correct library ID and queries the source using your full question. It returns up-to-date, version-aware API references and code examples to prevent outdated guidance.

Why does my framework setup configuration return outdated API reference details?▼

Framework setup configuration returns outdated API reference details when sources are not version-aware. Resolving the specific Context7 library ID and querying current documentation ensures the configuration guidance reflects the latest version-specific syntax and requirements.

Can I retrieve version-aware documentation for Prisma or Supabase setup?▼

You can retrieve version-aware documentation for Prisma or Supabase setup by specifying the technology in your query. The system resolves the appropriate library match and fetches current documentation to deliver version-appropriate configuration steps and examples.

What's the best way to find current code examples for Vue middleware configuration?▼

The best way to find current code examples for Vue middleware configuration is querying the documentation source directly with your full question. This fetches targeted, up-to-date docs and composes an answer with relevant code snippets and cited versions.

Does this documentation fetcher work with older framework versions?▼

Yes, this documentation fetcher works with older framework versions through version-aware library resolution. By mentioning the specific version in your question, it resolves the matching Context7 library and retrieves the appropriate historical documentation and API references.