context7

Resolve library and API documentation with runnable code examples.

1|Updated Jan 18, 2026
One-click install
npx skills add https://github.com/anntnzrb/agents --skill context7-anntnzrb
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: context7
Source: https://github.com/anntnzrb/agents/tree/main/assets/skills/context7
Command: npx skills add https://github.com/anntnzrb/agents --skill context7-anntnzrb

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Context7 MCP consolidates up-to-date library and API documentation with ready-to-run code examples, reducing time spent chasing docs and verifying code samples.

Core Features & Use Cases

  • Up-to-date library and API documentation with runnable code examples for quick prototyping.
  • Code generation and library setup/config assistance to accelerate integration.
  • Library-specific Q&A and guidance, with mcporter to execute calls for hands-on validation.

Quick Start

Load the mcporter skill, resolve the library ID with resolve-library-id, and then query the docs with query-docs to retrieve library information.

Frequently Asked Questions about context7

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

FAQPage Schema
How do I get up-to-date library documentation with runnable code examples?▼

To get up-to-date library documentation with runnable code examples, load the mcporter skill, resolve the library ID, and then query the docs to retrieve the information for quick prototyping.

Can I use this to generate setup and configuration code for a specific API?▼

Yes, you can use it to generate setup and configuration code for a specific API by resolving the library ID and querying the docs to receive actionable code generation and integration assistance.

What's the best way to resolve a library ID before querying API docs?▼

The best way to resolve a library ID before querying API docs is to use the resolve-library-id function, which is a required step before querying the documentation with query-docs.

Do I need the mcporter skill to access library documentation?▼

Yes, you need the mcporter skill to access library documentation, as it is required to execute the calls that retrieve the up-to-date library and API documentation.

Why does querying library docs require resolving the library ID first?▼

Querying library docs requires resolving the library ID first because the system relies on identifying the correct library before it can retrieve the specific documentation and code examples.