context7

Query current library and framework documentation through MCP Context7.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI coding assistants often rely on stale training data when working with third-party libraries, producing outdated syntax or nonexistent APIs. This Skill retrieves up-to-date, version-specific documentation for external libraries, frameworks, and SDKs via MCP Context7 so implementation and architecture decisions are grounded in current facts. ## Core Features & Use Cases - Library Resolution: Resolves a library name to the correct Context7 ID before querying, preferring exact matches with strong source reputation. - Targeted Documentation Queries: Fetches precise answers about API usage, configuration, migration behavior, and version-specific syntax with token-efficient queries. - Role-Based Guidance: Provides tailored workflows for backend developers, system architects, and spec-driven tasks to verify external contracts. - Use Case: When integrating JWT authentication in Express 5, resolve the library ID and query the exact middleware configuration instead of relying on potentially outdated memory. ## Quick Start Ask the assistant to use Context7 to look up the current documentation for a specific library feature, such as how to configure PostgreSQL storage in Hangfire for ASP.NET Core.

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 Context7?

First call context7_resolve-library-id with the official library name, then call context7_query-docs with a narrow, concrete question about the exact API, configuration, or syntax you need. Resolving the ID first ensures you query the correct library.

When should I use Context7 instead of searching my codebase?

Use Context7 when the task involves external third-party libraries, frameworks, or SDKs and you need current or version-specific documentation. For questions about your local repository, use a code exploration tool instead, since Context7 only covers external documentation.

Does Context7 support version-specific documentation queries?

Yes, Context7 supports version-specific IDs in the /org/project/version format, and queries can target version-specific syntax, migration behavior, or configuration patterns. This helps avoid stale answers from older library versions.

Why should I resolve the library ID before querying docs?

Resolving the library ID first ensures the documentation query targets the correct package, since multiple libraries can share similar names. Skipping resolution risks querying the wrong project and receiving irrelevant or misleading documentation.

When should I not use Context7 for documentation?

Avoid Context7 when the answer is already clear from local project code, when the task is generic programming knowledge unrelated to a specific library, or when you have no concrete documentation question. Speculative broad queries waste tokens without useful results.