context7-mcp

Diese Fähigkeit sollte verwendet werden, wenn der Benutzer nach Bibliotheken, Frameworks, API-Referenzen fragt oder Codebeispiele benötigt. Aktiviert für Einrichtungsfragen, Code…

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

Mehr Skills von upstash

context7-docs
upstash
Aktuelle Dokumentation und Codebeispiele für jede Bibliothek, jedes Framework, SDK, CLI-Tool oder jeden Cloud-Dienst abrufen. Verwenden Sie dies, wenn der Benutzer nach einem bestimmten … fragt.
official
ctx7-cli
upstash
Verwende die ctx7 CLI, um Bibliotheksdokumentation abzurufen, KI-Codierungsfähigkeiten zu verwalten und Context7 MCP zu konfigurieren. Aktiviere, wenn der Benutzer "ctx7" oder "context7" erwähnt,…
official
docs
upstash
Ruft aktuelle Dokumentation und Codebeispiele von Context7 für jede Programmbibliothek oder jedes Framework ab und führt Abfragen durch. Verwenden Sie dies beim Schreiben von Code, der von … abhängt.
official
documentation-lookup
upstash
Ruft aktuelle Bibliotheksdokumentation und Codebeispiele ab, anstatt sich auf Trainingsdaten zu verlassen. Löst Bibliotheksnamen in Context7-Dokumentations-IDs auf und fragt dann nach Setup-, Konfigurations- und API-Referenzinformationen ab. Unterstützt wichtige Frameworks und Bibliotheken: React, Vue, Svelte, Next.js, Express, Prisma, Supabase, Tailwind und andere. Aktiviert automatisch bei Setup-Fragen, Code-Generierungsanfragen und frameworkspezifischen Anfragen. Gibt versionsbewusste Dokumentation und offiziellen Code zurück...
official
find-docs
upstash
Rufe aktuelle Dokumentation und Codebeispiele für jede Bibliothek mit der Context7 CLI ab.
official
redis-js
upstash
Arbeiten Sie mit dem Upstash Redis JavaScript/TypeScript SDK für serverlose Redis-Operationen. Verwenden Sie es für Caching, Sitzungsspeicher, Ratenbegrenzung, Bestenlisten, Volltext…
official
upstash-search-js
upstash
Einstiegspunkt für Dokumentationsfähigkeiten, die Schnellstarts, Kernkonzepte und die Nutzung des TypeScript SDKs von Upstash Search abdecken. Verwenden Sie dies, wenn ein Benutzer fragt, wie man loslegt,…
official
upstash/search TypeScript SDK
upstash
upstash/search-typescript-sdk — eine installierbare Fähigkeit für KI-Agenten, veröffentlicht von upstash/search-js.
official