context7-mcp
context7-mcp pulls live documentation for libraries and frameworks like React, Next.js, Prisma, and Supabase, ensuring your code answers stay current. Resolve library IDs, query specific concepts, and incorporate official docs into responses—perfect for setup questions, API references, and code generation tasks.
context7-mcp fetches current library and framework documentation to answer code questions with up-to-date information.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-25
context7-mcp fetches current library and framework documentation to answer code questions with up-to-date information. context7-mcp pulls live documentation for libraries and frameworks like React, Next.js, Prisma, and Supabase, ensuring your code answers stay current. Resolve library IDs, query specific concepts, and incorporate official docs into responses—perfect for setup questions, API references, and code generation tasks.
Use it when
- context7-mcp provides setup and configuration guidance for Next.js by fetching current documentation.
- Yes, context7-mcp generates code examples using up-to-date API references for Vue, React, Next.js, and other popular frameworks.
Verify before relying
Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.
Install
upstash/context7/context7-mcp · repository language: TypeScript
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
What's the latest React API reference that context7-mcp can fetch?
context7-mcp pulls live documentation for React and other frameworks, ensuring you get current API references rather than relying on training data. You can query specific React features, hooks, and components to generate up-to-date code examples and resolve version-specific details directly from official sources.
How do I set up Next.js middleware using context7-mcp?
context7-mcp provides setup and configuration guidance for Next.js by fetching current documentation. Ask about middleware configuration, and the skill retrieves official Next.js docs to give you accurate setup steps, code examples, and best practices for your specific version.
Can context7-mcp generate code examples for Vue and other frameworks?
Yes, context7-mcp generates code examples using up-to-date API references for Vue, React, Next.js, and other popular frameworks. It fetches live documentation so your examples reflect current syntax, best practices, and available methods rather than outdated training data.
How does context7-mcp handle version-specific documentation?
context7-mcp resolves and retrieves version-specific documentation for libraries you mention. Whether you're asking about Prisma schema definitions, Supabase auth setup, or Next.js 15 configuration, it looks up the exact version's official docs to provide accurate, current guidance.
What libraries and frameworks does context7-mcp support?
context7-mcp supports popular frameworks and libraries including React, Next.js, Vue, Svelte, Express.js, Prisma, Supabase, and Tailwind CSS. It fetches live documentation for setup guides, API methods, configuration details, and code generation across these ecosystems.
Can context7-mcp look up API methods and reference documentation in real-time?
context7-mcp looks up API methods and reference documentation for libraries in real-time, pulling from official sources. This ensures your answers about Tailwind utility classes, Express routing, Prisma queries, or any framework API stay current and accurate.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
When the user asks about libraries, frameworks, or needs code examples, use Context7 to fetch current documentation instead of relying on training data.
When to Use This Skill
Activate this skill when the user:
- Asks setup or configuration questions ("How do I configure Next.js middleware?")
- Requests code involving libraries ("Write a Prisma query for...")
- Needs API references ("What are the Supabase auth methods?")
- Mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)
How to Fetch Documentation
Step 1: Resolve the Library ID
Call resolve-library-id with:
libraryName: The library name extracted from the user's questionquery: What to look up in the library's documentation (improves relevance ranking)
Step 2: Select the Best Match
From the resolution results, choose based on:
- Exact or closest name match to what the
(truncated - see the full file via the links below)
File tree — 1 file
skills/context7-mcp/SKILL.md
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 › “Fetch current documentation for libraries and frameworks instead of relying on training data”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Context7 is an MCP server skill that connects you to library documentation, API references, and setup guides through mcporter in stdio mode. Query libraries like React to find specific documentation, resolve library identifiers, and access up-to-date technical resources without extra configuration.
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.
Documentation Lookup pulls current docs for libraries, frameworks, and APIs through Context7 MCP, ensuring answers reflect the latest versions rather than training data. Activates automatically when you ask about setup, configuration, API references, or mention specific tools like React, Next.js, or Prisma.
context7-cli brings three core capabilities to your workflow: retrieve up-to-date documentation for any library, install and manage AI coding skills, and configure Context7 MCP integration with your editor. Use it when your training data may be stale, you need to verify API signatures, or you're setting up Context7 for Claude Code, Cursor, or OpenCode.
Documentation-lookup pulls live reference material for popular frameworks and libraries when you need setup guidance, API details, or code examples. It resolves library identifiers and retrieves version-specific documentation to ensure your answers stay current and accurate.
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.
More skills Context7 Usage (NOASSERTION) · Context7 (unlicensed) · context7-auto-research (MIT) · context7 (MIT) · Context7 (unlicensed) · Context7 (CC0-1.0)