context7-mcp

작성자: upstash

이 스킬은 사용자가 라이브러리, 프레임워크, API 참조에 대해 묻거나 코드 예제가 필요할 때 사용해야 합니다. 설정 질문, 코드…에 대해 활성화됩니다.

npx skills add https://github.com/upstash/context7 --skill context7-mcp

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 question
  • query: 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 user asked for
  • Higher benchmark scores indicate better documentation quality
  • If the user mentioned a version (e.g., "React 19"), prefer version-specific IDs

Step 3: Fetch the Documentation

Call query-docs with:

  • libraryId: The selected Context7 library ID (e.g., /vercel/next.js)
  • query: What to look up in the library's documentation, scoped to a single concept

If the user's question spans multiple distinct concepts (e.g. routing and auth and caching), make a separate query-docs call per concept with the same library ID, unless the question is about how the concepts interact — combined queries dilute ranking and return shallow results for each topic.

Step 4: Use the Documentation

Incorporate the fetched documentation into your response:

  • Answer the user's question using current, accurate information
  • Include relevant code examples from the docs
  • Cite the library version when relevant

Guidelines

  • Be specific: Describe what to look up in the library's documentation, but keep each query to a single concept
  • One topic per query: Split multi-topic questions into separate query-docs calls — resolve the library ID once, then query per concept, unless the question is about how the concepts interact
  • Version awareness: When users mention versions ("Next.js 15", "React 19"), use version-specific library IDs if available from the resolution step
  • Prefer official sources: When multiple matches exist, prefer official/primary packages over community forks

upstash의 다른 스킬

context7-docs
upstash
라이브러리, 프레임워크, SDK, CLI 도구 또는 클라우드 서비스에 대한 최신 문서와 코드 예제를 가져옵니다. 사용자가 특정 항목에 대해 질문할 때마다 사용하세요…
official
ctx7-cli
upstash
ctx7 CLI를 사용하여 라이브러리 문서를 가져오고, AI 코딩 스킬을 관리하며, Context7 MCP를 구성하세요. 사용자가 "ctx7" 또는 "context7"을 언급할 때 활성화됩니다.
official
docs
upstash
Context7에서 최신 문서와 코드 예제를 검색하고 질의하여 모든 프로그래밍 라이브러리나 프레임워크에 대한 정보를 제공합니다. 다음에 의존하는 코드를 작성할 때 사용하세요…
official
documentation-lookup
upstash
훈련 데이터에 의존하지 않고 최신 라이브러리 문서와 코드 예제를 가져옵니다. 라이브러리 이름을 Context7 문서 ID로 변환한 후 설정, 구성 및 API 참조 정보를 조회합니다. 주요 프레임워크 및 라이브러리(React, Vue, Svelte, Next.js, Express, Prisma, Supabase, Tailwind 등)를 지원합니다. 설정 질문, 코드 생성 요청 및 프레임워크 관련 문의에 자동으로 활성화됩니다. 버전 인식 문서와 공식 코드를 반환합니다...
official
find-docs
upstash
Context7 CLI를 사용하여 모든 라이브러리의 최신 문서와 코드 예제를 검색합니다.
official
redis-js
upstash
Upstash Redis JavaScript/TypeScript SDK를 사용하여 서버리스 Redis 작업을 수행합니다. 캐싱, 세션 저장소, 속도 제한, 리더보드, 전체 텍스트 검색 등에 사용합니다.
official
upstash-search-js
upstash
Upstash Search 빠른 시작, 핵심 개념 및 TypeScript SDK 사용법을 다루는 문서 스킬의 진입점입니다. 사용자가 시작 방법을 묻거나…
official
upstash/search TypeScript SDK
upstash
upstash/search-typescript-sdk — AI 에이전트를 위한 설치 가능한 스킬로, upstash/search-js에 의해 게시되었습니다.
official