context7

Access current and legacy software library documentation via API calls.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cURL, jq, and includes scripts (resource) components.

What problem does it solve?

Searching for the latest software library documentation can be time-consuming. This Skill solves that by enabling you to access up-to-date information about libraries, frameworks, and components directly via an API call.

Core Features & Use Cases

  • Efficient Documentation Lookup: Find current documentation for libraries and components using simple queries.
  • Quick Access to Examples: Obtain code examples for specific APIs or features.
  • Verify Library Usage: Check the correct usage of library functions.
  • Use Case: When you need to understand how a specific function works or want to see code examples of a new library, this Skill can save you the time of searching multiple sources.

Quick Start

Use the context7 skill to search for the latest documentation for React by saying "show me React's documentation".

Frequently Asked Questions about context7

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

FAQPage Schema
How do I access current software library documentation via an API query?

You can access current software library documentation via an API query by making direct API calls to retrieve up-to-date information, using cURL for the requests and jq to process the JSON responses.

Can I retrieve code examples for specific library APIs using cURL and jq?

Yes, you can retrieve code examples for specific library APIs using cURL and jq. The system processes simple queries to fetch targeted code snippets and verify correct library function usage directly from the documentation.

Does the documentation lookup API support legacy library versions?

Yes, the documentation lookup API supports legacy library versions. It offers direct API-based access to software library documentation for both current and legacy versions to enhance your development workflow.

What's the best way to verify correct library function usage during coding?

The best way to verify correct library function usage is to query the documentation API. It fetches current information and code examples for specific APIs, saving you the time of searching multiple sources manually.

Do I need cURL and jq to use this API documentation search tool?

Yes, you need cURL and jq to use this API documentation search tool. cURL handles the API calls for fetching library data, while jq processes the returned JSON responses in your coding environment.

Why does searching for the latest software library documentation take so much time?

Searching for the latest software library documentation takes time because you must manually check multiple sources. This tool solves that by enabling direct, real-time API access to retrieve up-to-date library information and examples instantly.