context7-mcp

Fetches current library documentation and code examples via Context7 MCP tools.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/SESELOVSKYDarian/Vase --skill context7-mcp-seselovskydarian
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context7-mcp
Source: https://github.com/SESELOVSKYDarian/Vase/tree/main/.agents/skills/context7-mcp
Command: npx skills add https://github.com/SESELOVSKYDarian/Vase --skill context7-mcp-seselovskydarian

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI training data becomes outdated, so answers about libraries and frameworks may reference deprecated APIs or miss recent features. This Skill retrieves up-to-date documentation from Context7 so answers about frameworks like React, Next.js, Prisma, or Supabase reflect current versions. ## Core Features & Use Cases - Library Resolution: Maps a library name from the user's question to the correct Context7 library ID using the resolve-library-id tool. - Targeted Documentation Queries: Fetches relevant documentation sections with query-docs based on the user's specific question. - Version Awareness: Prefers version-specific library IDs when the user mentions versions like React 19 or Next.js 15. - Use Case: A developer asks how to configure Next.js middleware. The Skill resolves the Next.js library ID, queries the current docs, and returns an accurate answer with working code examples. ## Quick Start Ask how to configure authentication with Supabase and request current code examples from the official documentation.

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 for a library like Next.js?

Ask your question mentioning the library name, and the Skill resolves it to a Context7 library ID using resolve-library-id, then fetches current docs with query-docs. The answer includes relevant code examples from the retrieved documentation.

What is Context7 and how does it work with AI assistants?

Context7 is a documentation service accessed through MCP tools that provides current library documentation. The Skill calls resolve-library-id to find the right library, then query-docs to retrieve documentation matching your specific question.

Does Context7 support specific framework versions like React 19?

Yes, when you mention a version such as React 19 or Next.js 15, the Skill prefers version-specific library IDs from the resolution results. This ensures the fetched documentation matches the version you are working with.

Which libraries and frameworks can Context7 provide documentation for?

Context7 covers popular libraries and frameworks including React, Vue, Svelte, Next.js, Express, Tailwind, Prisma, and Supabase. When multiple matches exist, official or primary packages are preferred over community forks.

When should I use Context7 instead of the AI's built-in knowledge?

Use it for setup and configuration questions, API references, and code generation involving libraries where accuracy matters. Training data may be outdated, while Context7 returns current documentation for the requested library.