context7-cli

Fetch library documentation and code examples from Context7.

25|4|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/Mic92/mics-skills --skill context7-cli-mic92
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context7-cli
Source: https://github.com/Mic92/mics-skills/tree/main/skills/context7-cli
Command: npx skills add https://github.com/Mic92/mics-skills --skill context7-cli-mic92

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill eliminates the need to manually search through vast amounts of documentation for libraries and APIs, providing quick access to relevant information.

Core Features & Use Cases

  • Search Libraries: Find libraries and their documentation based on keywords.
  • Retrieve Docs: Get specific code examples and API documentation for libraries.
  • Version Specificity: Fetch documentation for particular versions of a library.
  • Use Case: When developing a new feature in a Python project, quickly search for the requests library and retrieve examples of how to handle POST requests with JSON data.

Quick Start

Search for documentation on React hooks using the context7-cli.

Frequently Asked Questions about context7-cli

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?

You can fetch up-to-date library documentation by searching for libraries with keywords and retrieving specific API docs. This retrieves current code examples and version-specific details directly for your development needs.

Can I retrieve API documentation for a specific library version?

Yes, you can retrieve API documentation for specific library versions. The tool fetches version-specific details and code examples to ensure the information matches your project's exact dependencies.

How do I search for a library and get POST request examples?

To search for a library and get POST request examples, query the library by keyword. The tool retrieves specific code examples and API documentation, such as handling POST requests with JSON data in Python.

Does the documentation fetcher work with jq for structured data processing?

Yes, it integrates with tools like jq for structured data processing. This allows you to parse and extract specific fields from the retrieved library documentation and API responses efficiently.

Do I need an API key to access library documentation?

An API key is not strictly required for basic searches, but the tool allows explicit API key configuration for authenticated access. Configuring a key ensures higher rate limits when retrieving library documentation.