context7-mcp

Retrieves current documentation for libraries, frameworks, and APIs.

1|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/baotoq/agent-skills --skill context7-mcp-baotoq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context7-mcp
Source: https://github.com/baotoq/agent-skills/tree/main/.agents/skills/context7-mcp
Command: npx skills add https://github.com/baotoq/agent-skills --skill context7-mcp-baotoq

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides up-to-date information on libraries, frameworks, and APIs, ensuring developers have access to the latest documentation for accurate coding and setup.

Core Features & Use Cases

  • Real-time Documentation: Fetches current documentation instead of relying on potentially outdated training data.
  • Code Examples: Provides relevant code snippets for libraries and frameworks.
  • API References: Answers specific questions about API methods and parameters.
  • Use Case: A developer is setting up a new project with Next.js and Prisma and needs to know the correct way to configure their database connection. This skill can fetch the latest Prisma documentation to provide the exact configuration steps.

Quick Start

Use the context7-mcp skill to find documentation for the 'react-router-dom' library.

Frequently Asked Questions about context7-mcp

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

FAQPage Schema
How do I fetch the latest documentation for libraries like React and Next.js?

To fetch the latest documentation for libraries like React and Next.js, you can retrieve current docs by resolving the specific library ID and querying its up-to-date API references and code examples.

Why does my generated code use outdated Prisma or Supabase API methods?

Generated code uses outdated Prisma or Supabase API methods when relying on stale training data, but fetching real-time library documentation ensures you get the correct current configuration steps and parameters.

Can I get code examples for setting up a Vue project with current library APIs?

Yes, you can get code examples for setting up a Vue project by querying current library documentation, which provides relevant snippets and accurate API references instead of outdated information.

What is the best way to find accurate API references for frontend frameworks?

The best way to find accurate API references for frontend frameworks is to fetch real-time documentation, which resolves library IDs and retrieves current methods and parameters for setup and code generation.

Does this documentation tool work with any specific frameworks?

This documentation tool works with specific frameworks including React, Vue, Next.js, Prisma, and Supabase, resolving their library IDs to query and fetch their current documentation accurately.

When do I need to fetch current library documentation instead of using existing knowledge?

You need to fetch current library documentation instead of using existing knowledge when setting up new projects or generating code, ensuring your API references and configuration steps match the latest framework updates.