context7

Fetch current library documentation via Context7's public REST API.

8|1|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/mnlt/teleport --skill context7-mnlt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context7
Source: https://github.com/mnlt/teleport/tree/main/skills/context7
Command: npx skills add https://github.com/mnlt/teleport --skill context7-mnlt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fetch up-to-date documentation for libraries, frameworks, and SDKs by querying Context7's API, ensuring you don't rely on stale training data.

Core Features & Use Cases

  • Two-step lookup: resolve a library to a canonical ID and fetch its docs from Context7.
  • Provides current information for popular stacks like React, Next.js, Prisma, Supabase, Tailwind, Django, Vue, etc.
  • Use cases include confirming API changes, understanding new methods, and validating docs before coding.

Quick Start

Provide a library name (e.g., "next.js") to fetch the latest docs via Context7 using your API key.

Frequently Asked Questions about context7

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

FAQPage Schema
How do I fetch real-time library docs for SDKs and web APIs instead of relying on training data?

Fetch real-time library docs by querying the Context7 REST API with a Context7 API key to retrieve current markdown-formatted references for popular SDKs and web APIs. This bypasses stale training data by pulling up-to-date documentation on demand.

How do I look up current documentation for popular frameworks like React, Next.js, or Prisma?

To look up current documentation for frameworks like React, Next.js, or Prisma, perform a two-step workflow: search the library name via the Context7 API to obtain its canonical libraryId, then fetch its docs using a specified topic and token count.

Can I get up-to-date documentation for Supabase, Tailwind, Django, and Vue?

Yes, you can get up-to-date documentation for Supabase, Tailwind, Django, and Vue. The Context7 API resolves these libraries to canonical IDs and fetches their current documentation, ensuring you validate recent API changes and new methods.

Do I need an API key to retrieve current library documentation through Context7?

Yes, you need a Context7 API key to retrieve current library documentation. The API key authenticates your requests during the two-step process of resolving a library ID and fetching the markdown-formatted documentation for AI consumption.

What is the best way to confirm recent API changes and new methods for a library?

The best way to confirm recent API changes and new methods is to fetch fresh library docs on demand via the Context7 API. It replaces training-memory limitations by returning markdown-formatted results detailing the current behavior of your target library.

Why does fetching fresh library docs require a two-step search and fetch process?

Fetching fresh library docs requires a two-step process to first resolve a library name to a unique libraryId, then use that ID along with a topic and token count to accurately retrieve specific, current documentation via the Context7 API.