Context7 MCP Server

Entwicklungstdiohttp-streamingv1.1.1
Repository

Bringt aktuelle, versionsspezifische Dokumentation und Codebeispiele für Bibliotheken, Frameworks und SDKs direkt in KI-Prompts. Statt sich auf möglicherweise veraltete Trainingsdaten zu verlassen, ruft Context7 die aktuelle Dokumentation aus der Quelle ab. Unterstützt Tausende Bibliotheken, darunter React, Next.js, Node.js und Python-Pakete.

Diese Beschreibung wurde automatisch übersetzt und noch nicht redaktionell geprüft.

Verbinden

Fügen Sie diese Konfiguration hinzu zu .claude/mcp.json

Transport:
{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp"
      ]
    }
  }
}

Werkzeuge (2)

resolve-library-id

Resolve a library name to a Context7 library ID for documentation lookup.

{
  "type": "object",
  "required": [
    "libraryName"
  ],
  "properties": {
    "libraryName": {
      "type": "string",
      "description": "Library name to search for (e.g. \"react\", \"nextjs\", \"express\")"
    }
  }
}

get-library-docs

Fetch up-to-date documentation for a library using its Context7 ID.

{
  "type": "object",
  "required": [
    "context7CompatibleLibraryID"
  ],
  "properties": {
    "topic": {
      "type": "string",
      "description": "Optional topic to focus the documentation on"
    },
    "tokens": {
      "type": "integer",
      "description": "Maximum number of tokens to return (default 5000)"
    },
    "context7CompatibleLibraryID": {
      "type": "string",
      "description": "The Context7 library ID resolved from resolve-library-id"
    }
  }
}

Ressourcen

Dieser Server stellt keine Ressourcen bereit.

Prompts

Dieser Server stellt keine Prompts bereit.

Serverinformationen

Autor
Upstash (@upstash)
Repository
https://github.com/upstash/context7
Lizenz
Apache-2.0
Version
1.1.1
Sterne
56,048
Zuletzt aktualisiert
25. Mai 2026
Context7 MCP Server - MCP Server | OpenModels