context7-mcp
/context7-mcp
Dostarcza aktualne przykłady kodu i konfiguracji przy pytaniach o frameworki, np. React, Vue czy Prisma.
- Autor
- upstash ↗
- Repozytorium
- context7 ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 13.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Dostarcza aktualne przykłady kodu i konfiguracji przy pytaniach o frameworki, np. React, Vue czy Prisma.
Oryginalny opis (EN)
This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.
Jak działa
- When to Use This Skill
- How to Fetch Documentation
- Guidelines
Podgląd SKILL.md
---
name: context7-mcp
description: This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.
---
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 a Next.js proxy?")
- Requests code involving libraries ("Write a Prisma query for...")
- Needs API references ("What are the Supabase auth methods?")
- Needs an exact fact from a library's source: a default value, a signature, or where an error comes from
- 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: Read the Source When Docs Are Not Exact
If the `query-code` tool is available, use it for exact facts the docs may not state: a signature or type, a default value, an option name, where an error message comes from, or how something works inside.
- `libraryId`: an ID that `resolve-library-id` marks with "Source code", usually the GitHub repository (e.g. `/colinhacks/zod`). `/websites/...` and `/llmstxt/...` IDs have no source
- Start with `grep` (`fixed_strings: true` for error messages) or `definition` for a symbol, then `read` the file range the result gives. `references`, `outline` and `list` also exist
- Follow the result's "Next:" line for the read, page or count call to make next. Most questions need 1 to 4 calls; stop at 6
- `version` takes a git tag, e.g. `v3.24.2`. A tag that is not a docs version is indexed first ("being indexed"). If indexing fails, the answer lists the docs versions you can use
- If it answers "being indexed", call again every 30 seconds for up to 3 minutes (a first index usually takes 1 to 3), then answer from `query-docs`. These calls do not count toward the 6
- Cite the file and line of the source you used
### Step 5: 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 16", "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
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · upstash/context7 | 100 | MIT |
| upstash/context7-mcp | 100 | MIT |
| upstash/context7 | 100 | MIT |
| upstash/context7 | 100 | MIT |
| summersec/sumsec-skills | 100 | Apache-2.0 |
Migawka bazy z 13.11.2026 · wersja paczki 3aa0b723f429 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 3 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100documentation-lookup
Korzysta z aktualnej dokumentacji bibliotek i frameworków przez Context7 MCP zamiast z danych treningowych, przy pytaniach o konfigurację, referencje API i przykłady kodu, na przykład React, Next.js i Prisma. - 100documentation-lookup
Pobiera aktualną dokumentację bibliotek i frameworków przez Context7 zamiast danych treningowych, przy pytaniach o konfigurację, API i przykłady. - 100fetching-library-docs
Pobiera oszczędnie tokenowo dokumentację bibliotek przez Context7 MCP: przykłady kodu, opisy API i składnię dla React, Next.js czy Prisma. - 100library-docs
Zapewnia szybki dostęp do aktualnej dokumentacji bibliotek przez MCP i serwer context7, m.in. React, Next.js, Vue, MongoDB i Supabase. - 100context7
Dostarcza aktualną, specyficzną dla wersji dokumentację bibliotek i działające przykłady kodu z repozytoriów projektów przez API Context7, obejmujące ponad 1000 bibliotek, takich jak React, Next.js i Kubernetes. - 100context7-auto-research
Automatycznie pobiera aktualną dokumentację bibliotek i frameworków dla Claude Code przez API Context7, na przykład dla React, Next.js czy Prisma.