context7

Resolve package names to Context7 IDs and fetch relevant library documentation.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/andrey-belen/alto-iam-cloud --skill context7-andrey-belen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context7
Source: https://github.com/andrey-belen/alto-iam-cloud/tree/main/.claude/skills/context7
Command: npx skills add https://github.com/andrey-belen/alto-iam-cloud --skill context7-andrey-belen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates library documentation discovery by resolving package names to Context7 IDs and fetching relevant docs.

Core Features & Use Cases

  • Resolve library IDs from names to enable precise documentation retrieval.
  • Fetch focused documentation for APIs, implementation guides, and package references.
  • Use trust scores, code samples, and topic-specific queries to build a reliable, up-to-date docs context.

Quick Start

To fetch up-to-date docs for a library: THINK: Need React infinite scroll docs RESOLVE: /mcp__context7__resolve-library-id libraryName="react" SELECT: /reactjs/react.dev (trust: 10) FETCH: /mcp__context7__get-library-docs context7CompatibleLibraryID="/reactjs/react.dev" topic="infinite scroll" tokens=12000

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 library documentation for API references?

To fetch up-to-date library documentation, resolve the package name to a Context7 ID, then retrieve specific API references and implementation guides using targeted queries and configurable token ranges.

What is the best way to resolve package names for accurate docs retrieval?

The best way to resolve package names is through a deterministic workflow that maps library names to Context7 IDs, leveraging trust scores and snippet counts to ensure reliable documentation retrieval.

Can I target specific implementation guides when fetching library docs?

Yes, you can fetch targeted implementation guides by specifying a topic parameter in your documentation query, which filters the retrieved docs to match the exact API references you need.

Does this docs-fetch workflow support configurable token limits?

Yes, the documentation retrieval workflow supports configurable token ranges, allowing you to control the size and depth of the fetched API references and code samples returned.

Why use trust scores when resolving library documentation?

Trust scores rank resolved library IDs to ensure you retrieve documentation from the most reliable sources, filtering out deprecated or unofficial package references during the discovery process.

What are the limitations of resolving package names to Context7 IDs?

Resolution depends on the Context7 registry coverage; if a library is unregistered or lacks sufficient trust scores, the deterministic fetch workflow cannot retrieve its API references or implementation guides.