context7

Retrieve current library and framework documentation via the Context7 API.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/matheus3301/skills --skill context7-matheus3301
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context7
Source: https://github.com/matheus3301/skills/tree/main/context7
Command: npx skills add https://github.com/matheus3301/skills --skill context7-matheus3301

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides instant access to current documentation for software libraries and frameworks, overcoming the limitations of outdated training data.

Core Features & Use Cases

  • Real-time Documentation Retrieval: Query the Context7 API to fetch the latest information on any library or framework.
  • Code Example Discovery: Find relevant code snippets and usage examples for specific APIs and features.
  • Verification of Current Usage: Ensure you are using libraries according to their most recent specifications.
  • Use Case: When working with a new version of a popular framework like React or Next.js, use this skill to get the most accurate and up-to-date information on its features and best practices.

Quick Start

Use the context7 skill to find documentation for React hooks.

Frequently Asked Questions about context7

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

FAQPage Schema
How do I get up-to-date documentation for software libraries like React or Next.js?

You can retrieve current documentation for software libraries by querying the Context7 API, which fetches the latest API references and code examples for frameworks like React, Next.js, and FastAPI. It supports searching for library IDs and fetching specific topics in plain text or JSON format.

How do I find current code examples for a specific framework API?

To find current code examples for a specific framework API, use this Skill to query the Context7 API for specific topics. It discovers relevant code snippets and usage examples by fetching the latest documentation in plain text or JSON format.

Can I use this to verify current usage and best practices for FastAPI?

Yes, you can verify current usage and best practices for FastAPI by retrieving its latest documentation via the Context7 API. This ensures you are using the library according to its most recent specifications and provides accurate, up-to-date information on its features.

Does the documentation retrieval tool return data in JSON format?

Yes, the documentation retrieval tool returns data in JSON format. It also supports plain text format, allowing you to fetch specific topics and current API references for software libraries and frameworks based on your development needs.

Why should I query an API for library documentation instead of using existing knowledge?

You should query an API for library documentation to overcome the limitations of outdated training data. Retrieving current documentation via the Context7 API ensures you access the most recent specifications, accurate code examples, and up-to-date best practices for frameworks like React and Next.js.