context7

Fetch up-to-date library documentation and code examples via Context7.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/BoChao1Zhang/dotfiles --skill context7-bochao1zhang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context7
Source: https://github.com/BoChao1Zhang/dotfiles/tree/main/dot_claude/skills/context7
Command: npx skills add https://github.com/BoChao1Zhang/dotfiles --skill context7-bochao1zhang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mcp>=1.25, anyio, httpx, httpx-sse, and includes scripts (resource) components.

What problem does it solve?

Fetch up-to-date library documentation and usage examples for developers researching or integrating libraries, SDKs, APIs, and tooling.

Core Features & Use Cases

  • Resolve library IDs to exact references for accurate documentation.
  • Retrieve current docs and code examples across languages and platforms.
  • Use cases include onboarding new libraries, SDK integration, and API reference lookups.

Quick Start

Ask Context7 for the latest documentation and usage examples for a target library.

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 and code examples for a specific SDK?

To fetch up-to-date library documentation and code examples, you ask Context7 to resolve the library ID and retrieve current docs and usage patterns across languages for your target SDK.

Can I retrieve API reference lookups across multiple programming languages and platforms?

Yes, you can retrieve API reference lookups across multiple languages and platforms. Context7 resolves the exact library reference and returns current documentation and usage examples regardless of the target language.

Do I need an API key to retrieve current library docs and usage patterns?

Yes, retrieving current library docs requires a CONTEXT7_API_KEY. The Skill uses this key and the mcpcall.py tool wrapper to perform lookups and resolve library IDs for accurate documentation.

What is the best way to onboard new libraries and integrate SDKs without outdated documentation?

The best way to onboard new libraries and integrate SDKs is to fetch current docs and code examples directly. Context7 resolves exact library references, ensuring you retrieve accurate, up-to-date documentation for integration.

Why does resolving a library ID matter when fetching developer documentation?

Resolving a library ID matters because it maps to exact references, ensuring the fetched developer documentation and code examples are accurate and relevant to the specified library rather than ambiguous search results.