context7
Context7 pulls up-to-date documentation and real code examples directly from official library sources, covering 1000+ frameworks and tools. Query by library name and topic to get exact API signatures, configuration details, and working patterns for your specific version—no guessing, no hallucinated APIs.
Context7 retrieves current, version-specific API documentation and working code examples directly from official library sources for 1000+ frameworks and libraries.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-22
Context7 retrieves current, version-specific API documentation and working code examples directly from official library sources for 1000+ frameworks and libraries. Context7 pulls up-to-date documentation and real code examples directly from official library sources, covering 1000+ frameworks and tools. Query by library name and topic to get exact API signatures, configuration details, and working patterns for your specific version—no guessing, no hallucinated APIs.
Use it when
- Yes.
- Context7 pulls working code examples directly from official library documentation and real project repositories.
Verify before relying
Read SKILL.md below before installing (19 files). Open directory: indexed for reading, not audited.
Install
julianobarbosa/claude-code-skills/context7 · repository language: Python
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I look up React documentation with context7?
Context7 lets you query React documentation directly from official sources by library name and version. Search for specific React APIs, hooks, or patterns to get exact signatures and working code examples without hallucinations. The skill covers 1000+ frameworks, so you can pull up-to-date docs for your exact React version before writing code.
Can context7 find version-specific framework documentation?
Yes. Context7 retrieves version-specific framework documentation from official library sources. Whether you need Next.js API reference, Vue.js guides, or TypeScript type definitions for your exact version, context7 queries real documentation to verify correct APIs and patterns before you code.
How do I get real working code examples from source repos?
Context7 pulls working code examples directly from official library documentation and real project repositories. Search by library name and topic to find configuration examples, migration guides, and implementation patterns grounded in actual source material—preventing outdated or hallucinated API patterns.
What libraries and frameworks does context7 support?
Context7 resolves and searches across 1000+ supported libraries via CLI tools. Coverage includes React, Next.js, Vue.js, TypeScript, Prisma, Tailwind CSS, Kubernetes, Go standard library, Python, Node.js, and many more frameworks and tools.
Why should I query official docs before writing code?
Context7 grounds answers in real, current documentation to prevent hallucinated or outdated API patterns. By looking up exact API signatures, configuration details, and working examples from official sources before coding, you avoid bugs and ensure compatibility with your library version.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
Context7
Query up-to-date, version-specific documentation and code examples directly from source libraries via Context7's documentation aggregation platform.
Why Context7
| Benefit | Description |
|---|---|
| Current APIs | No hallucinated or outdated patterns - documentation comes from actual sources |
| Version-Specific | Gets docs for exact library versions you're using |
| Code Examples | Real, working code extracted |
(truncated - see the full file via the links below)
File tree — 15 files
skills/context7/SKILL.md
skills/context7/Tools/.gitignore
skills/context7/Tools/bun.lock
skills/context7/Tools/package.json
skills/context7/Tools/src/cli/lookup.ts
skills/context7/Tools/src/cli/query.ts
skills/context7/Tools/src/cli/resolve.ts
skills/context7/Tools/src/index.ts
skills/context7/Tools/src/lib/cache.ts
skills/context7/Tools/src/lib/context7.ts
skills/context7/Tools/src/lib/errors.ts
skills/context7/Tools/src/lib/flags.ts
skills/context7/Tools/tests/cache.test.ts
skills/context7/Tools/tests/errors.test.ts
skills/context7/Tools/tests/flags.test.ts
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Look up version-specific API documentation and code examples from official library sources”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Context7 fetches the latest library documentation to give you accurate, up-to-date API information and code examples. It eliminates hallucinations from outdated training data by retrieving version-specific details when you ask about library usage, request examples, or explicitly invoke it.
This skill detects when you're asking about libraries, frameworks, APIs, or code examples and automatically retrieves up-to-date documentation from Context7 instead of relying on potentially outdated training data. It identifies the relevant library, searches Context7, and integrates current documentation into your response with practical code examples.
find-docs fetches live documentation, API references, and code examples for developer libraries and frameworks via the Context7 CLI. Resolve a library name to its ID, then query docs with specific questions about APIs, configuration, setup, or usage—perfect for verifying current syntax and avoiding outdated training data. Works without authentication; higher rate limits available with login.
context7-docs pulls up-to-date documentation and working code examples for any library, framework, SDK, CLI tool, or cloud service directly into your workflow. Use it whenever you need API syntax, configuration details, version migration help, or setup instructions—especially for rapidly evolving tools where training data lags behind. The skill includes tools to resolve library identifiers and query documentation by concept, keeping you current without relying on potentially stale training data.
find-docs fetches up-to-date documentation, API references, and code examples for developer libraries and frameworks. It resolves package names to library IDs, then queries current docs—ideal when training data may be outdated or you need the latest API details.
Context7 is a CLI tool that pulls authoritative, up-to-date technical documentation and code examples for any developer technology—libraries, frameworks, APIs, SDKs, and cloud services. Use it to look up API endpoints, verify configuration options, answer how-to questions, and retrieve setup instructions when accuracy and current information matter most.
More skills find-docs (MIT) · Context7 Efficient (unlicensed) · Context7 (NOASSERTION) · documentation-lookup (Apache-2.0) · Context7 (NOASSERTION) · context7-cli (MIT) · Context7 (CC0-1.0)