context7-mcp

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI assistants often rely on outdated training data when answering questions about libraries and frameworks, producing deprecated APIs or incorrect code examples. This Skill retrieves up-to-date documentation from Context7 so answers reflect the current state of the library. ## Core Features & Use Cases - Library Resolution: Maps a library name mentioned by the user (React, Vue, Next.js, Prisma, Supabase, etc.) 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 rather than dumping entire docs. - Version Awareness: Prefers version-specific library IDs when the user mentions versions like React 19 or Next.js 15. - Use Case: A user asks "How do I configure Next.js middleware?" The Skill resolves the Next.js library ID, queries the current middleware documentation, and answers with accurate code examples from official sources. ## Quick Start Ask a question about any library or framework, such as how to configure authentication in Supabase, and the Skill will fetch current documentation to answer it.

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 or Prisma?

Ask your question mentioning the library name, and the Skill calls Context7's resolve-library-id to find the matching library, then query-docs to fetch current documentation. The answer includes relevant code examples from the official docs.

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

Context7 is a documentation retrieval service exposed through MCP tools. The Skill uses its resolve-library-id tool to map a library name to an ID, then query-docs to pull documentation sections relevant to your specific question.

Does Context7 support specific library 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 returned by the resolution step, so the fetched documentation matches that release.

Which libraries and frameworks can Context7 look up?

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

Why does the AI give outdated API examples without this Skill?

AI training data has a cutoff date, so library APIs that changed recently may be answered with deprecated patterns. This Skill fetches live documentation through Context7 so responses reflect the current API surface.