context7

Retrieve up-to-date library documentation from the Context7 API.

2|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/Shana-AE/.shanaae-configs --skill context7-shana-ae
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context7
Source: https://github.com/Shana-AE/.shanaae-configs/tree/main/ai/skills/vendor/context7
Command: npx skills add https://github.com/Shana-AE/.shanaae-configs --skill context7-shana-ae

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill makes it easy to obtain current, authoritative documentation for libraries and frameworks directly from the Context7 API, reducing reliance on outdated training data.

Core Features & Use Cases

  • Retrieve the latest API references, code examples, and usage notes for libraries
  • Validate function usage across languages and frameworks
  • Use cases include learning a new library, verifying API changes, or refreshing familiarity with APIs

Quick Start

Fetch the latest documentation for a library by querying the Context7 API with your library name and topic.

Frequently Asked Questions about context7

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

FAQPage Schema
How do I fetch up-to-date API references and code examples for a specific library?

To get current API references and code examples, query the Context7 API by providing the library name and topic. The API returns current documentation and usage notes directly, bypassing outdated training data.

What is the best way to verify current function usage and API changes for software frameworks?

Verifying current function usage and API changes is achieved by querying the Context7 API with the library name and a specific query topic. This retrieves the latest authoritative documentation and code examples for the framework.

Can I retrieve software library documentation in JSON format using an API lookup?

Yes, you can retrieve software library documentation in JSON format by querying the Context7 API. The lookup supports fetching API references and code examples with an optional parameter to return results as JSON or TXT.

Does the Context7 API lookup work for libraries and frameworks across different programming languages?

Yes, the Context7 API lookup works for libraries and frameworks across multiple languages. You can search for libraries using the library name and query parameters to retrieve current API references and usage notes regardless of language.

When do I need to use an API lookup instead of relying on existing training data for library documentation?

You need an API lookup for library documentation when relying on outdated training data risks using deprecated APIs. Fetching current references and code examples via the Context7 API ensures you validate function usage with authoritative, up-to-date information.

Are there limitations to fetching library documentation through the Context7 API?

Limitations of fetching library documentation through the Context7 API include dependency on the availability of the queried libraries within the API's database. Retrieval requires specifying a valid library name and query topic to return accurate API references and code examples.